Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.5.1 to 8.6.1 upgrade failure. #652

Closed
vassilvk opened this issue Mar 29, 2016 · 3 comments
Closed

8.5.1 to 8.6.1 upgrade failure. #652

vassilvk opened this issue Mar 29, 2016 · 3 comments

Comments

@vassilvk
Copy link

Steps to reproduce:

  1. Upgrade a sameersbn/gitlab setup from version 8.5.1 to 8.6.1.

Observed behavior:
The migrations kick off and then fail with the following message:

StandardError: An error has occurred, all later migrations canceled:

You must enable the pg_trgm extension. You can do so by running "CREATE EXTENSION pg_trgm;" as a PostgreSQL super user, this must be done for every GitLab database. For more information see http://www.postgresql.org/docs/current/static/sql-createextension.html

This same issue has been observed in other GitLab Docker implementations:
https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1185

@sameersbn
Copy link
Owner

Please see #39 (comment)
If you have based your setup on /~https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml then please add the following line /~https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml#L8 and recreate the containers.

@veggiemonk
Copy link
Contributor

@sameersbn Had the same problem and adding the pd_trgm extension to the docker-compose.yml worked! Thanks!

@vassilvk
Copy link
Author

This worked, @sameersbn - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants