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> 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
> 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/508f7aa37b34d5cd9a95eb852db95d
> d617b1d24e/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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/gitlabhq/4cf876ac-5a6c-3747-7ef6-79cce34eed23%40ursliska.de.
> 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/CAMBWrQn5-Y4%3DpfZc4VQuUmqcj1b2-m-YAwVdO3EAdY9z_Zprow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to