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
7681f8b0
Commit
7681f8b0
authored
Sep 01, 2014
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify 6.0 to 7.2 upgrade guide
parent
0cfa8aaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
doc/update/6.0-to-7.2.md
doc/update/6.0-to-7.2.md
+6
-10
No files found.
doc/update/6.0-to-7.2.md
View file @
7681f8b0
...
@@ -108,7 +108,6 @@ sudo -u git -H bundle install --without development test postgres --deployment
...
@@ -108,7 +108,6 @@ sudo -u git -H bundle install --without development test postgres --deployment
# PostgreSQL installations (note: the line below states '--without ... mysql')
# PostgreSQL installations (note: the line below states '--without ... mysql')
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Run database migrations
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
...
@@ -120,6 +119,9 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
...
@@ -120,6 +119,9 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
# Close access to gitlab-satellites for others
# Close access to gitlab-satellites for others
sudo chmod
u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
sudo chmod
u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
# Update init.d script
sudo cp
lib/support/init.d/gitlab /etc/init.d/gitlab
```
```
## 7. Update config files
## 7. Update config files
...
@@ -146,18 +148,12 @@ sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers
...
@@ -146,18 +148,12 @@ sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers
sudo cp
lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
sudo cp
lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
```
```
## 8. Update Init script
## 8. Start application
```
bash
sudo cp
lib/support/init.d/gitlab /etc/init.d/gitlab
```
## 9. Start application
sudo service gitlab start
sudo service gitlab start
sudo service nginx restart
sudo service nginx restart
##
10
. Check application status
##
9
. Check application status
Check if GitLab and its environment are configured correctly:
Check if GitLab and its environment are configured correctly:
...
@@ -170,7 +166,7 @@ To make sure you didn't miss anything run a more thorough check with:
...
@@ -170,7 +166,7 @@ To make sure you didn't miss anything run a more thorough check with:
If all items are green, then congratulations upgrade complete!
If all items are green, then congratulations upgrade complete!
## 1
1
. Update OmniAuth configuration
## 1
0
. Update OmniAuth configuration
When using Google omniauth login, changes of the Google account required.
When using Google omniauth login, changes of the Google account required.
Ensure that
`Contacts API`
and the
`Google+ API`
are enabled in the
[
Google Developers Console
](
https://console.developers.google.com/
)
.
Ensure that
`Contacts API`
and the
`Google+ API`
are enabled in the
[
Google Developers Console
](
https://console.developers.google.com/
)
.
...
...
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