I installed gitlab on my Debian Wheezy server a few days ago and I managed to get it working with:
- Apache
- Relative URL (/gitlab)
- HTTPS
I installed it from source following the official installation guide.
I just upgraded to Debian Jessie and after some changes to my apache conf files, I managed to get gitlab almost working...
I can go to domain.com/gitlab
: I get redirected domain.com/gitlab/users/sign_in
.
But when I am logged in, I cannot access domain.com/gitlab
! I can access everything (at least I think), such as:
/gitlab/dashboard/
/gitlab/<username>/<project-name>
/gitlab/admin
And so on... But not domain.com/gitlab
...
My log/production.log
when I try to access /gitlab
:
Started GET "/gitlab/index.html" for 140.93.2.243 at 2016-01-26 08:15:56 +0100
Processing by NamespacesController#show as HTML
Parameters: {"id"=>"index.html"}
Completed 404 Not Found in 28ms (Views: 0.8ms | ActiveRecord: 2.7ms)
What I tried:
# Checking the installation: Everything looked ok.
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
# Reinstalling gitlab-shell (and updating the config for https)
sudo -u git -H bundle exec rake gitlab:shell:install
REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
# (Re)-setting up my DB
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production
# (Re)-compiling assets
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
Feel free to ask for more details, I don't know what may or may not be relevant here.