Closed FoxD7 closed 5 years ago
Hello Daniel,
thank you very much for supporting my package and providing this fix here. Unfortunately the database migration script is provided by the sameersbn/gitlab package and this one is using the Gitlab Repository. So the fix has to be applied on the Gitlab side an will come automatically to my package.
This is a Gitlab database Migration issue, a am only wrapping the docker conainer into a easy to use synology package.
To mention the Problem i have made a Wiki entry: https://github.com/jboxberger/synology-gitlab/wiki
Do you have any information wether the bug has already been fixed in Gitlab and on which version this happened?
Kind Regards
Hi Juri,
i tried the fix "manually drop index" (after i restored my 12.2.5).
The following steps were proceed:
root@synology_gitlab_postgresql:/var/lib/postgresql# sudo -u postgres psql -d gitlab
psql (10.4 (Ubuntu 10.4-2.pgdg18.04+1))
Type "help" for help.
gitlab=# drop index index_releases_on_project_id;
DROP INDEX
gitlab=# \q
- Finally i started the manual update for GitLab (with your 12.3.3 Package)
After a few minutes the GitLab update incl. db migration was successfully done. No Errors occured!!
And of course - GitLab Container is no longer shutting down :)
Looking forward to your next version!
Daniel
Faced similar issue when updating to 12.4.1, related to index ci_trigger_requests_trigger_id_idx
.
There's already an issue on https://gitlab.com/gitlab-org/gitlab/issues/35184 and seems to be fixed in 12.4.2.
Manual steps to fix (from gitlab.com):
DROP INDEX fk_b8ec8b7245;
DROP INDEX ci_trigger_requests_trigger_id_idx;
@crux153 thanks a lot for the provided information, i've added this to the 12.4.1 release.
I also published the new 12.4.2, hopefully this solves the issue completely. https://github.com/jboxberger/synology-gitlab/releases
Hi Juri,
my database migration failed during update.
Log Entry: Multiple indexes found on releases columns [:project_id]. Specify an index name from index_releases_on_project_id, releases_project_id_idx
I found a "solution" on gitlab.com: https://gitlab.com/gitlab-org/gitlab/issues/33084
Unfortunately, I do not know how I can apply the fix. Can you help me?
Kind regards, FoxD7