Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
83e9825c
Commit
83e9825c
authored
11 years ago
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sudo commands in update guides
parent
b658489f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
doc/update/5.1-to-5.2.md
doc/update/5.1-to-5.2.md
+2
-2
doc/update/5.2-to-5.3.md
doc/update/5.2-to-5.3.md
+2
-2
doc/update/5.3-to-5.4.md
doc/update/5.3-to-5.4.md
+2
-2
doc/update/5.4-to-6.0.md
doc/update/5.4-to-6.0.md
+1
-1
doc/update/6.0-to-6.1.md
doc/update/6.0-to-6.1.md
+2
-2
doc/update/6.1-to-6.2.md
doc/update/6.1-to-6.2.md
+2
-2
No files found.
doc/update/5.1-to-5.2.md
View file @
83e9825c
...
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
...
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
```
bash
```
bash
cd
/home/git/gitlab
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
### 1. Stop server
...
@@ -95,5 +95,5 @@ Follow the [`upgrade guide from 5.0 to 5.1`](5.0-to-5.1.md), except for the data
...
@@ -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
```
bash
cd
/home/git/gitlab
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
```
```
This diff is collapsed.
Click to expand it.
doc/update/5.2-to-5.3.md
View file @
83e9825c
...
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
...
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
```
bash
```
bash
cd
/home/git/gitlab
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
### 1. Stop server
...
@@ -78,5 +78,5 @@ Follow the [`upgrade guide from 5.1 to 5.2`](5.1-to-5.2.md), except for the data
...
@@ -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
```
bash
cd
/home/git/gitlab
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
```
```
This diff is collapsed.
Click to expand it.
doc/update/5.3-to-5.4.md
View file @
83e9825c
...
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
...
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
```
bash
```
bash
cd
/home/git/gitlab
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
### 1. Stop server
...
@@ -86,5 +86,5 @@ Follow the [`upgrade guide from 5.2 to 5.3`](5.2-to-5.3.md), except for the data
...
@@ -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
```
bash
cd
/home/git/gitlab
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
```
```
This diff is collapsed.
Click to expand it.
doc/update/5.4-to-6.0.md
View file @
83e9825c
...
@@ -24,7 +24,7 @@ It's useful to make a backup just in case things go south:
...
@@ -24,7 +24,7 @@ It's useful to make a backup just in case things go south:
```
bash
```
bash
cd
/home/git/gitlab
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
### 1. Stop server
...
...
This diff is collapsed.
Click to expand it.
doc/update/6.0-to-6.1.md
View file @
83e9825c
...
@@ -16,7 +16,7 @@ It's useful to make a backup just in case things go south:
...
@@ -16,7 +16,7 @@ It's useful to make a backup just in case things go south:
```
bash
```
bash
cd
/home/git/gitlab
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
### 1. Stop server
...
@@ -99,5 +99,5 @@ Follow the [`upgrade guide from 5.4 to 6.0`](5.4-to-6.0.md), except for the data
...
@@ -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
```
bash
cd
/home/git/gitlab
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
```
```
This diff is collapsed.
Click to expand it.
doc/update/6.1-to-6.2.md
View file @
83e9825c
...
@@ -9,7 +9,7 @@ It's useful to make a backup just in case things go south:
...
@@ -9,7 +9,7 @@ It's useful to make a backup just in case things go south:
```
bash
```
bash
cd
/home/git/gitlab
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
### 1. Stop server
...
@@ -96,5 +96,5 @@ Follow the [`upgrade guide from 6.0 to 6.1`](6.0-to-6.1.md), except for the data
...
@@ -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
```
bash
cd
/home/git/gitlab
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
```
```
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment