Projects::Settings::RepositoryController#show ActionView::Template::Error: undefined method `<=' for nil:NilClass
https://sentry.gitlab.net/gitlab/gitlabcom/issues/1427710/?referrer=gitlab_plugin
NoMethodError: undefined method `<=' for nil:NilClass
ee/project_import_state.rb:104:in `mirror_update_due?'
next_execution_timestamp <= Time.now
/opt/gitlab/embedded/service/gitlab-rails/ee/app/views/projects/mirrors/_table_pull_row.html.haml:23:in `_ee_app_views_projects_mirrors__table_pull_row_html_haml__2009490988920495238_69923685652700'
- if import_state.mirror_update_due? || import_state.updating_mirror?
action_view/base.rb:274:in `_run'
send(method, locals, buffer, &block)
action_view/template.rb:185:in `block in render'
view._run(method_name, self, locals, buffer, &block)
active_support/notifications.rb:182:in `instrument'
yield payload if block_given?
...
(203 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `<=' for nil:NilClass
ActionView::Template::Error: undefined method `<=' for nil:NilClass
Workaround
Delete the project and configure the mirror settings once more.
Related Support Tickets (internal)
- https://gitlab.zendesk.com/agent/tickets/151543
- https://gitlab.zendesk.com/agent/tickets/151936
- https://gitlab.zendesk.com/agent/tickets/152190
- https://gitlab.zendesk.com/agent/tickets/152759
- https://gitlab.zendesk.com/agent/tickets/153105
- https://gitlab.zendesk.com/agent/tickets/153681
- https://gitlab.zendesk.com/agent/tickets/153839
- https://gitlab.zendesk.com/agent/tickets/154754
Edited by Nilanka De Silva