BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
0d475208
Commit
0d475208
authored
Jun 02, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'updater_location' into 'master'
Updater one liner based on location Fixes #1303
parents
660585ca
c8460c47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
upgrader.md
doc/update/upgrader.md
+6
-3
No files found.
doc/update/upgrader.md
View file @
0d475208
...
...
@@ -18,11 +18,12 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__
### 2. Run gitlab upgrade tool
# Starting with GitLab version 7.0 upgrader script has been moved to bin directory
cd /home/git/gitlab
sudo -u git -H ruby bin/upgrade.rb
if [ -f bin/upgrade.rb ]; then sudo -u git -H ruby bin/upgrade.rb; else sudo -u git -H ruby script/upgrade.rb; fi
# to perform a non-interactive install (no user input required) you can add -y
#
sudo -u git -H ruby bin/upgrade.rb -y
#
if [ -f bin/upgrade.rb ]; then sudo -u git -H ruby bin/upgrade.rb -y; else sudo -u git -H ruby script/upgrade.rb -y; fi
### 3. Start application
...
...
@@ -55,6 +56,8 @@ Here is a one line command with step 1 to 4 for the next time you upgrade:
```
bash
cd
/home/git/gitlab
;
sudo
-u
git
-H
bundle
exec
rake gitlab:backup:create
RAILS_ENV
=
production
;
\
sudo
service gitlab stop
;
sudo
-u
git
-H
ruby bin/upgrade.rb
-y
;
sudo
service gitlab start
;
\
sudo
service gitlab stop
;
\
if
[
-f
bin/upgrade.rb
]
;
then
sudo
-u
git
-H
ruby bin/upgrade.rb
-y
;
else
sudo
-u
git
-H
ruby script/upgrade.rb
-y
;
fi
;
\
sudo
service gitlab start
;
\
sudo
service nginx restart
;
sudo
-u
git
-H
bundle
exec
rake gitlab:check
RAILS_ENV
=
production
```
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