Problem Updating from gitlab 14.1.8 onwards!

Hi To all community members!
I really need your help, I am trying to upgrade from 14.1.8 onwars (either to latest or 14.2.0 doens’t matter) always fails -
it basically stuck on
"Recipe: gitlab::database_migrations

  • ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
  • rails_migration[gitlab-rails] action run
    • bash[migrate gitlab-rails database] action run"
      for a good 15~20 Minutes
      and than fails telling me to restart redis (which also doesn’t work with gitlab-ctl)
      I am using Omnibus installation via yum repo. I am using gitlab form version 6 and it never happened… the db version is recent and there is no background migration, and it still refuses to work with the same problem…
      has anyone encountered it? any Ideas?

Info about the server:

Gitlab Version: 14.1.8

GitLab Shell 13.19.1

GitLab Workhorsev 14.1.8

GitLab APIv4

Ruby 2.7.2p137

Rails 6.1.3.2

PostgreSQL13.3

Redis 6.0.14

every direction is blessed! thanks in advance!

Hi nimrodlevy,

Did you get fix for this? I have similar problems. In my case the assets (css files and js files etc) get broken/lost during the upgrade.

One of the lost files is the startup-signin-552a2a4ab1892e8f4f2ff7b435f7a702e31f22caad9069cd1e33d014e8747283.css file.

I can see the error messages as follows.

Started GET “/users/sign_in” for 10.2.14.170 at 2022-09-22 17:13:43 +0100
Processing by SessionsController#new as HTML
Rendered layout layouts/devise.html.haml (Duration: 18.2ms | Allocations: 8564)
Completed 500 Internal Server Error in 46ms (ActiveRecord: 1.6ms | Elasticsearch: 0.0ms | Allocations: 13459)

ActionView::Template::Error (No such file or directory @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-rails/public/assets/themes/theme_indigo-356df9446472d3f379aa66e5b212f2a89799ba6b0fd209831ee4b01089b94f7e.css):
2: - startup_filename = local_assigns.fetch(:startup_filename, nil) || startup_filename_default
3:
4: %style
5: = Rails.application.assets_manifest.find_sources(“themes/#{user_application_theme_css_filename}.css”).first.to_s.html_safe if user_application_theme_css_filename
6: = Rails.application.assets_manifest.find_sources(“startup/startup-#{startup_filename}.css”).first.to_s.html_safe app/views/layouts/_startup_css.haml:5:in `each’

Started GET “/users/sign_in” for 10.2.14.170 at 2022-09-23 09:23:02 +0100
Processing by SessionsController#new as HTML
Rendered layout layouts/devise.html.haml (Duration: 15.0ms | Allocations: 8519)
Completed 500 Internal Server Error in 30ms (ActiveRecord: 1.3ms | Elasticsearch: 0.0ms | Allocations: 13422)

ActionView::Template::Error (No such file or directory @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-rails/public/assets/startup/startup-signin-552a2a4ab1892e8f4f2ff7b435f7a702e31f22caad9069cd1e33d014e8747283.css):
3:
4: %style
5: = Rails.application.assets_manifest.find_sources(“themes/#{user_application_theme_css_filename}.css”).first.to_s.html_safe if user_application_theme_css_filename
6: = Rails.application.assets_manifest.find_sources(“startup/startup-#{startup_filename}.css”).first.to_s.html_safe

Processing by Admin::DashboardController#index as HTML

Rendered layout layouts/admin.html.haml (Duration: 208.7ms | Allocations: 151740)
Completed 500 Internal Server Error in 388ms (ActiveRecord: 125.2ms | Elasticsearch: 0.0ms | Allocations: 251992)

ActionView::Template::Error (No such file or directory @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-rails/public/assets/startup/startup-general-5b094884cdfb2d7cf54a9c41c2d272f076e459d6ce56e82118f58ed60714cf13.css):
3:
4: %style
5: = Rails.application.assets_manifest.find_sources(“themes/#{user_application_theme_css_filename}.css”).first.to_s.html_safe if user_application_theme_css_filename
6: = Rails.application.assets_manifest.find_sources(“startup/startup-#{startup_filename}.css”).first.to_s.html_safe

I am using a VMware clones of my original GitLab server. This means I can work un-interupted. If manually copy the files above from my original server it gets further but then other assets are missing. I only copy the files to prove this is the problem.

I hope above helps.

Best Regards,

Kevin.