[DRE-maint] Bug#1015302: Upgrading 14.10.5 to 15.0.4 aborts on db:migrate

Pirate Praveen praveen at debian.org
Tue Jul 19 11:45:13 BST 2022



2022, ജൂലൈ 19 12:05:37 PM GMT+02:00, "Patrick Matthäi" <patrick at linux-dev.org>ൽ എഴുതി
>Package: gitlab
>Version: 15.0.4+ds1-1
>Severity: serious
>
>Hey,
>
>on upgrading gitlab I always end up with this error:
>
>(1055 rows) = Did not find any relations. ]
>+ echo gitlab_production database is not empty, skipping gitlab setup
>gitlab_production database is not empty, skipping gitlab setup
>+ runuser -u gitlab -- sh -c /usr/bin/bundle exec rake db:migrate
>Attention: used pure ruby version of MurmurHash3
>/usr/share/gitlab/lib/gitlab.rb:47: warning: already initialized constant Gitlab::APP_DIRS_PATTERN
>/usr/share/gitlab/lib/gitlab.rb:47: warning: previous definition of APP_DIRS_PATTERN was here
>/usr/share/gitlab/lib/gitlab.rb:48: warning: already initialized constant Gitlab::VERSION
>/usr/share/gitlab/lib/gitlab.rb:48: warning: previous definition of VERSION was here
>/usr/share/gitlab/lib/gitlab.rb:49: warning: already initialized constant Gitlab::INSTALLATION_TYPE
>/usr/share/gitlab/lib/gitlab.rb:49: warning: previous definition of INSTALLATION_TYPE was here
>/usr/share/gitlab/lib/gitlab.rb:50: warning: already initialized constant Gitlab::HTTP_PROXY_ENV_VARS
>/usr/share/gitlab/lib/gitlab.rb:50: warning: previous definition of HTTP_PROXY_ENV_VARS was here
>== 20220213103859 RemoveIntegrationsType: migrating ===========================
>rake aborted!
>StandardError: An error has occurred, all later migrations canceled:
>

On two of my test machines, it was successful. May be you can try running the migration manually with --trace option.

gitlab-rake db:migrate --trace

May be ask upstream as well.



More information about the Pkg-ruby-extras-maintainers mailing list