One more item to debug: accessing repositories over ssh (git@... URLs) works fine, but direct Git access through https: URLs does *not*. So the Gitlab application does work obviously, only not HTTPS and thus the web interface
Am 02.10.2016 um 16:29 schrieb Urs Liska: > > Hmm, after doing an apt-get dist-upgrade (Gitlab was updated during > "apt-get upgrade") I get the following error log: > > # tail -n 25 /var/log/gitlab/gitlab-rails/production.log > > Started GET "/" for 79.194.101.200 at 2016-10-02 16:28:06 +0200 > Processing by RootController#index as HTML > Completed 500 Internal Server Error in 60ms (ActiveRecord: 9.0ms) > > LoadError (cannot load such file -- > active_record/associations/has_many_through_association): > app/models/user.rb:830:in `projects_union' > app/models/user.rb:418:in `authorized_projects' > app/controllers/dashboard/projects_controller.rb:7:in `index' > app/controllers/root_controller.rb:13:in `index' > lib/gitlab/middleware/go.rb:16:in `call' > > > Started GET "/" for 79.194.101.200 at 2016-10-02 16:28:08 +0200 > Processing by RootController#index as HTML > Completed 500 Internal Server Error in 52ms (ActiveRecord: 2.8ms) > > LoadError (cannot load such file -- > active_record/associations/has_many_through_association): > app/models/user.rb:830:in `projects_union' > app/models/user.rb:418:in `authorized_projects' > app/controllers/dashboard/projects_controller.rb:7:in `index' > app/controllers/root_controller.rb:13:in `index' > lib/gitlab/middleware/go.rb:16:in `call' > > > > Am 02.10.2016 um 15:59 schrieb Urs Liska: >> >> I noticed one more thing: >> >> I'm running Gitlab on nginx, and my gitlab.rb contains an entry >> >> nginx['enable'] = false >> >> while gitlab.rb.save has this set to true. >> >> Can this be the source of the issue? >> >> >> Am 02.10.2016 um 15:48 schrieb Urs Liska: >>> >>> I had not done db:migrate before but db:migrate:status had >>> exclusively reported "up" entries. Doing db:migrate now didn't >>> change anything unfortunately. >>> >>> also gitlab-rake gitlab:check >>> >>> succeeded. >>> >>> Any further ideas? >>> >>> Urs >>> >>> >>> Am 02.10.2016 um 15:42 schrieb Stan Hu: >>>> This sounds like a missing migration. Have you tried running the >>>> following? >>>> >>>> sudo gitlab-rake db:migrate:status >>>> sudo gitlab-rake db:migrate >>>> >>>> On Sun, Oct 2, 2016 at 6:39 AM, Urs Liska <g...@ursliska.de >>>> <mailto:g...@ursliska.de>> wrote: >>>> >>>> It seems it's a common problem that after updating Gitlab-omnibus >>>> something doesn't work anymore. >>>> >>>> This time, updating from (ca.) 8.10 to 8.12.3 causes "500" >>>> errors to >>>> appear on any page request, so I can't use Gitlab at all. >>>> >>>> gitlab-rake gitlab:env:info >>>> >>>> System information >>>> System: Ubuntu 14.04 >>>> Current User: git >>>> Using RVM: no >>>> Ruby Version: 2.3.1p112 >>>> Gem Version: 2.6.6 >>>> Bundler Version:1.13.1 >>>> Rake Version: 10.5.0 >>>> Sidekiq Version:4.1.4 >>>> >>>> GitLab information >>>> Version: 8.12.3 >>>> Revision: 467e1ca >>>> Directory: /opt/gitlab/embedded/service/gitlab-rails >>>> DB Adapter: postgresql >>>> URL: https://git.openlilylib.org >>>> HTTP Clone URL: >>>> https://git.openlilylib.org/some-group/some-project.git >>>> <https://git.openlilylib.org/some-group/some-project.git> >>>> SSH Clone URL: >>>> g...@git.openlilylib.org:some-group/some-project.git >>>> Using LDAP: no >>>> Using Omniauth: yes >>>> Omniauth Providers: github >>>> >>>> GitLab Shell >>>> Version: 3.6.1 >>>> Repository storage paths: >>>> - default: /var/opt/gitlab/git-data/repositories >>>> Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ >>>> Git: /opt/gitlab/embedded/bin/git >>>> >>>> ########## >>>> >>>> and >>>> >>>> # tail -n 25 gitlab-rails/production.log >>>> ActiveModel::MissingAttributeError (missing attribute: >>>> issues_enabled): >>>> app/models/ability.rb:315:in `project_disabled_features_rules' >>>> app/models/ability.rb:98:in `anonymous_project_abilities' >>>> app/models/ability.rb:59:in `anonymous_abilities' >>>> app/models/ability.rb:5:in `allowed' >>>> app/controllers/application_controller.rb:126:in `can?' >>>> app/controllers/projects/application_controller.rb:29:in >>>> `project' >>>> lib/gitlab/middleware/go.rb:16:in `call' >>>> >>>> >>>> Started GET >>>> >>>> "/bfsc/das-trunkne-lied/blob/508f7aa37b34d5cd9a95eb852db95dd617b1d24e/printed-parts/BassoonII.ly" >>>> for 164.132.161.34 at 2016-10-02 15:35:53 +0200 >>>> Processing by Projects::BlobController#show as */* >>>> Parameters: {"namespace_id"=>"bfsc", >>>> "project_id"=>"das-trunkne-lied", >>>> >>>> "id"=>"508f7aa37b34d5cd9a95eb852db95dd617b1d24e/printed-parts/BassoonII.ly"} >>>> Completed 500 Internal Server Error in 42ms (ActiveRecord: 3.8ms) >>>> >>>> ActiveModel::MissingAttributeError (missing attribute: >>>> issues_enabled): >>>> app/models/ability.rb:315:in `project_disabled_features_rules' >>>> app/models/ability.rb:98:in `anonymous_project_abilities' >>>> app/models/ability.rb:59:in `anonymous_abilities' >>>> app/models/ability.rb:5:in `allowed' >>>> app/controllers/application_controller.rb:126:in `can?' >>>> app/controllers/projects/application_controller.rb:29:in >>>> `project' >>>> lib/gitlab/middleware/go.rb:16:in `call' >>>> >>>> Any suggestion to further pin down or even fix the issue? >>>> >>>> Thank you very much >>>> Urs >>>> >>>> -- >>>> 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 >>>> <mailto:gitlabhq%2bunsubscr...@googlegroups.com>. >>>> To view this discussion on the web visit >>>> >>>> https://groups.google.com/d/msgid/gitlabhq/4cf876ac-5a6c-3747-7ef6-79cce34eed23%40ursliska.de >>>> >>>> <https://groups.google.com/d/msgid/gitlabhq/4cf876ac-5a6c-3747-7ef6-79cce34eed23%40ursliska.de>. >>>> For more options, visit https://groups.google.com/d/optout >>>> <https://groups.google.com/d/optout>. >>>> >>>> >>>> -- >>>> 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 >>>> <mailto:gitlabhq+unsubscr...@googlegroups.com>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/gitlabhq/CAMBWrQn5-Y4%3DpfZc4VQuUmqcj1b2-m-YAwVdO3EAdY9z_Zprow%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/gitlabhq/CAMBWrQn5-Y4%3DpfZc4VQuUmqcj1b2-m-YAwVdO3EAdY9z_Zprow%40mail.gmail.com?utm_medium=email&utm_source=footer>. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> 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 >>> <mailto:gitlabhq+unsubscr...@googlegroups.com>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/gitlabhq/9ba954dd-86c6-4b7d-7a4a-41f35f19a83b%40ursliska.de >>> <https://groups.google.com/d/msgid/gitlabhq/9ba954dd-86c6-4b7d-7a4a-41f35f19a83b%40ursliska.de?utm_medium=email&utm_source=footer>. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> 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 >> <mailto:gitlabhq+unsubscr...@googlegroups.com>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/gitlabhq/8f94716a-4bf3-dc6e-3455-8b90d7b32a78%40ursliska.de >> <https://groups.google.com/d/msgid/gitlabhq/8f94716a-4bf3-dc6e-3455-8b90d7b32a78%40ursliska.de?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout. > > -- > 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 > <mailto:gitlabhq+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/9ded59c5-e03a-a420-ed76-a9848863c67e%40ursliska.de > <https://groups.google.com/d/msgid/gitlabhq/9ded59c5-e03a-a420-ed76-a9848863c67e%40ursliska.de?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- 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/74cf7040-268a-0dba-6a79-1b87b096dc14%40ursliska.de. For more options, visit https://groups.google.com/d/optout.