From 73bdeff02eb85cee02046b50524721df52ed20bf Mon Sep 17 00:00:00 2001 From: Ben Bodenmiller Date: Mon, 4 Aug 2014 00:57:32 -0700 Subject: [PATCH] add command to start rails console --- doc/update/5.1-to-6.0.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/update/5.1-to-6.0.md b/doc/update/5.1-to-6.0.md index d8484b2c650..123b3326ead 100644 --- a/doc/update/5.1-to-6.0.md +++ b/doc/update/5.1-to-6.0.md @@ -149,6 +149,12 @@ sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production The migrations in this update are very sensitive to incomplete or inconsistent data. If you have a long-running GitLab installation and some of the previous upgrades did not work out 100% correct this may bite you now. The following commands can be run in the rails console to look for 'bad' data. +Start rails console: + +``` +sudo -u git -H rails console production +``` + All project owners should have an owner: ``` -- GitLab