From ec7fd0835298884863d77287f6fe5d99cd2447f4 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Mon, 9 Nov 2015 19:02:10 +0530 Subject: [PATCH] add force=yes for gitlab:setup --- debian/rake-tasks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh index f83c6f41d2..7c28e04f4a 100755 --- a/debian/rake-tasks.sh +++ b/debian/rake-tasks.sh @@ -3,7 +3,7 @@ . /etc/gitlab/gitlab-debian.conf echo "Initializing database..." -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:setup RAILS_ENV=production force=yes' echo "Precompiling assets..." su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production' su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'