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'