Open link in a new tab

Content

Expand project menu

Manual installation fails on CentOS 6.7

Hi,
I have been trying to install Openproject 5.0 on a server running CentOS 6.7, Apache 2.2 and MySQL 5.7.
I followed this guide: https://www.openproject.org/open-source/download/manual-installation-guide/, because the specific CentOS tutorial (https://community.openproject.com/topics/1308#_ga=1.23679226.1757117236.1463393580) didn’t work for me. (I replaced of course Debian commands with RHEL equivalents and I also used RVM rather than rbenv to intall Ruby.)

What happened at first was that I got an error when running
bundle install --deployment --without postgres sqlite development test therubyracer docker.

The error is:

github.com[0: 192.30.252.121]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Retrying git clone 'git://github.com/finnlabs/awesome_nested_set.git' 
"/home/openproject/openproject-ce/vendor/bundle/ruby/2.3.0/cache/bundler/git/awesome_nested_set-209215f38dc7f6765d32201897f8688e973f4de7" 
--bare --no-hardlinks --quiet due to error (2/4): Bundler::Source::Git::GitCommandError 
Git error: command `git clone 'git://github.com/finnlabs/awesome_nested_set.git' 
"/home/openproject/openproject-ce/vendor/bundle/ruby/2.3.0/cache/bundler/git/awesome_nested_set-209215f38dc7f6765d32201897f8688e973f4de7" 
--bare --no-hardlinks --quiet` in directory /home/openproject/openproject-ce has failed.

I tried using the .gitconfig file provided here: https://community.openproject.com/topics/5924, but that didn’t work either, so I manually cloned the git repo causing the error using this command, which succeded:

git clone https://github.com/collectiveidea/awesome_nested_set.git vendor/bundle/ruby/2.3.0/cache/bundler/git/awesome_nested_set

Then I ran npm install, but the installation failed. Details are reported in the attached npm-debug.log.
I guess that something is still missing from the bundle install that caused the error, but I can’t find a config file or something that can be edited to change the wrong git repo address.

Any help would be very appreciated.

Thank you,
Nicolò