2016-03-24 3 views

Antwort

2

Hier Lösung:

docker exec -it gitlab_web_1 /bin/bash

sudo -u gitlab-psql -i bash

/opt/gitlab/embedded/bin/psql --port 5432 -h /var/opt/gitlab/postgresql -d gitlabhq_production

gitlabhq_production=# CREATE EXTENSION IF NOT EXISTS pg_trgm;

gitlabhq_production=# SELECT true AS enabled FROM pg_available_extensions WHERE name = 'pg_trgm' AND installed_version IS NOT NULL;

\--------- t (1 row)
exit

Datenbankmigration:

gitlab-rake db:migrate

Restart Docker Behälter:

docker-compose stop;docker-compose up -d

Hit Refresh-Browser.