Hi, I'm trying to set up GitLab on my Debian 8 server. I'm on the latest Omnibus configured to use an external PostgreSQL, an external Redis (CI's disabled), and an external Apache. I'm using mod_passenger as my app server.
When I visit [my GitLab instance][1], I get: > Cannot load `Rails.application.database_configuration: > Could not load database configuration. No such file - ["config/database.yml"] > (RuntimeError) Does anyone know why that might be? The app root is at `/opt/gitlab/embedded/service/gitlab-rails/`. When I run `sudo -u git less /opt/gitlab/embedded/service/gitlab-rails/config/database.yml` to test for permission problems, I get the correct result. Here's my [`gitlab.rb`][2]. I'm not sure why the whitespace is there - I did `grep -v '#'` to get the interesting bits, but apparently grep didn't remove the newlines. See also my [Apache configuration][3] and the [relevant `/etc/passwd` section][4]. Any idea what's going on? What other information can I provide to help debug this? FWIW, `sudo -u www-data ls -l $(readlink /opt/gitlab/embedded/service/gitlab-rails/config/database.yml)` returns "Permission denied". Thanks, AJ [1]: https://git.strugee.net/ [2]: http://sprunge.us/OTiY [3]: http://sprunge.us/DiId [4]: http://sprunge.us/JbbS -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/20160218074817.GD6413%40null-ptr-exception.Home. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature