don't overwrite existing db
This commit is contained in:
parent
98df064022
commit
78cc74f3c5
2 changed files with 7 additions and 1 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
gitlab (8.4.3+dfsg-4) UNRELEASED; urgency=medium
|
||||
|
||||
* Don't overwrite existing database (Closes: #814458)
|
||||
|
||||
-- Pirate Praveen <praveen@debian.org> Fri, 12 Feb 2016 15:08:08 +0530
|
||||
|
||||
gitlab (8.4.3+dfsg-3) unstable; urgency=medium
|
||||
|
||||
* Check if /run/systemd/system dirctory exist for systemd
|
||||
|
|
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -4,7 +4,7 @@
|
|||
for i in $(cat /etc/gitlab/gitlab-debian.conf); do export $i; done
|
||||
|
||||
echo "Initializing database..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production force=yes'
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production'
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:shell:install \
|
||||
REDIS_URL=redis://localhost:6379 \
|
||||
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
|
||||
|
|
Loading…
Reference in a new issue