Merge pull request #7424 from bbodenmiller/patch-1
add command to start rails console
This commit is contained in:
commit
ca4ab9efb9
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
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:
|
All project owners should have an owner:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue