GitLab CE (8.0.4) "new project" fails with 500

80 views
Skip to first unread message

Urs Liska

unread,
Oct 20, 2015, 5:05:39 AM10/20/15
to GitLab
I have GitLab 8.0.4 installed from Omnibus packages on an Ubuntu 14.04 server. Suddenly I can't create new projects anymore. The last significant thing I did was creating a new group (but I don't feel this should be part of the problem). The last new project is 27 days old, so it may be that there has been a GitLab update in between (but I don't really know that).

When clicking on the "New Project" menu item the system responds with the `500` error page, and the respective entry in `production.log` is

    Started GET "/projects/new" for 88.66.154.89 at 2015-10-19 11:55:13 +0200
    Processing by ProjectsController#new as HTML
    Completed 500 Internal Server Error in 61ms (ActiveRecord: 7.9ms)
   
    ActionView::Template::Error (undefined method `empty?' for  #<ActiveRecord::AttributeMethods::Serialization::Attribute:0x0000000da0f5e8>):
        22:           .col-sm-10
        23:             = f.select :namespace_id,  namespaces_options(params[:namespace_id] || :current_user), {}, {class: 'select2', tabindex: 2}
        24:
        25:       - if import_sources_enabled?
        26:         %hr
        27:
        28:         .project-import.js-toggle-container
      app/controllers/application_controller.rb:303:in `import_sources_enabled?'
      app/views/projects/new.html.haml:25:in `block in _app_views_projects_new_html_haml___3279847372260590402_70154110845080'
      app/views/projects/new.html.haml:8:in `_app_views_projects_new_html_haml___3279847372260590402_70154110845080'

I did update GitLab through APT, and I did `gitlab-cfg reconfigure`, both without any improvement.

Somehow this error message (`ActionView::Template::Error ...`) looks like indicating a bug, but I don't know. Any help greatly appreciated.

Greg Long

unread,
Dec 1, 2015, 7:36:33 PM12/1/15
to GitLab
I am having exactly the same issue. I see that nobody has responded - were you able to get it working, and if so, how?

Urs Liska

unread,
Dec 2, 2015, 12:52:10 AM12/2/15
to gitl...@googlegroups.com

Sorry of being no help - but it simply started working again, no idea why ...

--
You received this message because you are subscribed to a topic in the Google Groups "GitLab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gitlabhq/OAtjC3FDTxs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gitlabhq+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/09d0021f-0c5e-46c2-946c-ff03e9eba729%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Greg Long

unread,
Dec 6, 2015, 12:32:51 PM12/6/15
to GitLab
After upgrading from 8.2.1 to 8.2.2, it is working again.
Reply all
Reply to author
Forward
0 new messages