Skip to content
Snippets Groups Projects
Commit dd6e4bc6 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab) Committed by Wes Gurney
Browse files

Fix sudo commands in update guides

parent c94fe867
No related branches found
No related tags found
1 merge request!4954Add support to configure webhook_timeout in gitlab.yaml
This commit is part of merge request !4954. Comments created here will be created in the context of that merge request.
Loading
Loading
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
 
### 1. Stop server
Loading
Loading
@@ -95,5 +95,5 @@ Follow the [`upgrade guide from 5.0 to 5.1`](5.0-to-5.1.md), except for the data
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:restore
sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
Loading
Loading
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
 
### 1. Stop server
Loading
Loading
@@ -78,5 +78,5 @@ Follow the [`upgrade guide from 5.1 to 5.2`](5.1-to-5.2.md), except for the data
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:restore
sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
Loading
Loading
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
 
### 1. Stop server
Loading
Loading
@@ -86,5 +86,5 @@ Follow the [`upgrade guide from 5.2 to 5.3`](5.2-to-5.3.md), except for the data
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:restore
sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
Loading
Loading
@@ -24,7 +24,7 @@ It's useful to make a backup just in case things go south:
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
 
### 1. Stop server
Loading
Loading
Loading
Loading
@@ -16,7 +16,7 @@ It's useful to make a backup just in case things go south:
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
 
### 1. Stop server
Loading
Loading
@@ -99,5 +99,5 @@ Follow the [`upgrade guide from 5.4 to 6.0`](5.4-to-6.0.md), except for the data
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:restore
sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
Loading
Loading
@@ -9,7 +9,7 @@ It's useful to make a backup just in case things go south:
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
 
### 1. Stop server
Loading
Loading
@@ -96,5 +96,5 @@ Follow the [`upgrade guide from 6.0 to 6.1`](6.0-to-6.1.md), except for the data
 
```bash
cd /home/git/gitlab
sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:restore
sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment