diff --git a/debian/changelog b/debian/changelog index eddf464b91..973360e693 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gitlab (8.4.3+dfsg-4) UNRELEASED; urgency=medium + + * Don't overwrite existing database (Closes: #814458) + + -- Pirate Praveen 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 diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh index 9c518a1f93..8a65fe29dd 100755 --- a/debian/rake-tasks.sh +++ b/debian/rake-tasks.sh @@ -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'