Commit 7f92ac80fac573d4a1b52379109afec5de5f7c0c

Authored by Jacob Vosmaer
1 parent 597995ba

Stress the order of the steps when reverting

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
@@ -47,7 +47,8 @@ sudo rpm -ivh gitlab-6.6.x-yyy.rpm @@ -47,7 +47,8 @@ sudo rpm -ivh gitlab-6.6.x-yyy.rpm
47 47
48 # Prepare GitLab for receiving the backup restore 48 # Prepare GitLab for receiving the backup restore
49 49
50 -# Workaround for a backup restore bug in GitLab 6.6 50 +# Due to a backup restore bug in GitLab 6.6, it is needed to drop the database
  51 +# _before_ running `gitlab-ctl reconfigure`.
51 sudo -u gitlab-psql /opt/gitlab/embedded/bin/dropdb gitlabhq_production 52 sudo -u gitlab-psql /opt/gitlab/embedded/bin/dropdb gitlabhq_production
52 53
53 sudo gitlab-ctl reconfigure 54 sudo gitlab-ctl reconfigure