Undefined method `signin_enabled?'

Hello,

I need help to restore an old gitlab database… I have to put back in place an old gitlab content and upgrade gitlab to the last release. I just have a backup done with “gitlab-rake gitlab:backup:create”, I suppose. It is a file like XXXXXXXXXXXX_9.4.4_gitlab_backup.tar. So I suppose that version of this backup is 9.4.4. I install the same version (9.4.4) on a server, i restore backup. But I have always error 500.

I have this on production.log :

ActionView::Template::Error (undefined method signin_enabled?' for #<ApplicationSetting:0x007f29dbf15a20> Did you mean? signup_enabled? signup_enabled signup_enabled=): 1: %ul.nav-links.new-session-tabs.nav-tabs{ role: 'tablist' } 2: %li.active{ role: 'presentation' } 3: %a{ href: '#login-pane', data: { toggle: 'tab' }, role: 'tab' } Sign in 4: - if signin_enabled? && signup_enabled? 5: %li{ role: 'presentation' } 6: %a{ href: '#register-pane', data: { toggle: 'tab' }, role: 'tab' } Register app/helpers/application_settings_helper.rb:2:in signin_enabled?’ app/views/devise/shared/_tabs_normal.html.haml:4:in _app_views_devise_shared__tabs_normal_html_haml___4006670249004357621_69908881834040' app/views/devise/sessions/new.html.haml:7:in _app_views_devise_sessions_new_html_haml___791435282893767576_69908884379160’ app/controllers/sessions_controller.rb:33:in new' lib/gitlab/i18n.rb:45:in with_locale’ lib/gitlab/i18n.rb:51:in with_user_locale' app/conrollers/application_controller.rb:294:in set_locale’ lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in call' lib/gitlab/middleware/multipart.rb:93:in call’ lib/gitlab/request_profiler/middleware.rb:14:in call' lib/gitlab/middleware/go.rb:16:in call’ lib/gitlab/etag_caching/middleware.rb:11:in call' lib/gitlab/request_context.rb:18:in call’ lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call’

I see that it should be a database issue (issue 35578).

But when i execute the command “gitlab-rake db:migrate:status” all is up.

Thank you for your help.

Tell me if you need something else.

Hi all,

Problem solved, version issue…

Hi, I also have the same issue as yours. How did you resolve it? What do you mean by the version issue?