To upgrade be sure to follow the steps prescribed by Gitlab.
If you cannot connect after upgrading try the tips located at this page.
Especially this issue might be affecting your system.
Nginx can’t connect to Unicorn Socket
Problem: Everything seems to be running correctly but you still get a 502 error from Ngnix and when you check the logs, you see a
Connection refused error.
Solution: Delete the
gitlab.socket file, located at
/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket and restart GitLab with
gitlab-ctl restart. The file should be recreated after a few minutes and you should be able to access your GitLab instance again.
Try your site again, https://gitlab.example.com
I ran into the issue with php.h missing.
The path for this system is set with
This ensures PHP from MAMP Pro is being used not the OSX version.
When trying to compile SSH2 php.h is missing which causes fatal error….
Follow these steps, and retry SSH2 compilation as per these steps.
Here’s how I fixed it:
- MAMP doesn’t provide the source code archive for PHP 5.4.10 so download it from php.net
- Extract the source code archive to /Applications/MAMP/bin/php/php5.4.10/include/php
./configure to configure the source code for your platform (without this step the pecl install will fail looking for a bunch of header files)
- Retry compilation for ssh2
If you run phpinfo() you should now get an entry for ssh2 as follows:
Run this command first
Then run this command, then reboot. For good measure run this command again. Also, if you have connected external disk you may want to delete DS_Store files that were created on them by specifying the path and running the command below for each mounted device.