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
Tatuya Kamada
gitlab-ce
Commits
2538c4ec
Commit
2538c4ec
authored
Jun 01, 2016
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs based on customer upgrade from 4.0 [ci skip]
parent
98cede7e
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
273 additions
and
22 deletions
+273
-22
doc/update/2.6-to-3.0.md
doc/update/2.6-to-3.0.md
+4
-0
doc/update/2.9-to-3.0.md
doc/update/2.9-to-3.0.md
+5
-0
doc/update/3.0-to-3.1.md
doc/update/3.0-to-3.1.md
+5
-0
doc/update/3.1-to-4.0.md
doc/update/3.1-to-4.0.md
+5
-0
doc/update/4.0-to-4.1.md
doc/update/4.0-to-4.1.md
+5
-0
doc/update/4.1-to-4.2.md
doc/update/4.1-to-4.2.md
+9
-1
doc/update/4.2-to-5.0.md
doc/update/4.2-to-5.0.md
+9
-0
doc/update/5.0-to-5.1.md
doc/update/5.0-to-5.1.md
+10
-0
doc/update/5.1-to-5.2.md
doc/update/5.1-to-5.2.md
+17
-1
doc/update/5.1-to-5.4.md
doc/update/5.1-to-5.4.md
+17
-1
doc/update/5.1-to-6.0.md
doc/update/5.1-to-6.0.md
+17
-1
doc/update/5.2-to-5.3.md
doc/update/5.2-to-5.3.md
+17
-1
doc/update/5.3-to-5.4.md
doc/update/5.3-to-5.4.md
+17
-1
doc/update/5.4-to-6.0.md
doc/update/5.4-to-6.0.md
+16
-0
doc/update/6.0-to-6.1.md
doc/update/6.0-to-6.1.md
+17
-2
doc/update/6.1-to-6.2.md
doc/update/6.1-to-6.2.md
+17
-2
doc/update/6.2-to-6.3.md
doc/update/6.2-to-6.3.md
+16
-1
doc/update/6.3-to-6.4.md
doc/update/6.3-to-6.4.md
+16
-1
doc/update/6.4-to-6.5.md
doc/update/6.4-to-6.5.md
+18
-3
doc/update/6.5-to-6.6.md
doc/update/6.5-to-6.6.md
+18
-2
doc/update/6.6-to-6.7.md
doc/update/6.6-to-6.7.md
+13
-3
doc/update/6.x-or-7.x-to-7.14.md
doc/update/6.x-or-7.x-to-7.14.md
+5
-2
No files found.
doc/update/2.6-to-3.0.md
View file @
2538c4ec
...
...
@@ -13,6 +13,10 @@
git fetch origin
git checkout v3.0.3
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
gitlab
-H
vim Gemfile
# Install libs
sudo
-u
gitlab bundle
install
--without
development
test
postgres
...
...
doc/update/2.9-to-3.0.md
View file @
2538c4ec
...
...
@@ -13,6 +13,11 @@
sudo
-u
gitlab
-H
git fetch origin
sudo
-u
gitlab
-H
git checkout v3.0.3
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
gitlab
-H
vim Gemfile
# Install gems
sudo
-u
gitlab
-H
bundle
install
--without
development
test
postgres
...
...
doc/update/3.0-to-3.1.md
View file @
2538c4ec
...
...
@@ -25,6 +25,11 @@ sudo -u gitlab -H git checkout v3.1.0
# Install new charlock_holmes
sudo
gem
install
charlock_holmes
--version
'0.6.9'
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
gitlab
-H
vim Gemfile
# Install gems for MySQL
sudo
-u
gitlab
-H
bundle
install
--without
development
test
postgres sqlite
...
...
doc/update/3.1-to-4.0.md
View file @
2538c4ec
...
...
@@ -26,6 +26,11 @@ I wrote a bash script which will do it automatically for you. Just make sure all
sudo
-u
gitlab
-H
git fetch
sudo
-u
gitlab
-H
git checkout 4-0-stable
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
gitlab
-H
vim Gemfile
# Install gems for MySQL
sudo
-u
gitlab
-H
bundle
install
--without
development
test
postgres
...
...
doc/update/4.0-to-4.1.md
View file @
2538c4ec
...
...
@@ -22,6 +22,11 @@ cd /home/gitlab/gitlab/
sudo
-u
gitlab
-H
git fetch
sudo
-u
gitlab
-H
git checkout 4-1-stable
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
gitlab
-H
vim Gemfile
# Install gems for MySQL
sudo
-u
gitlab
-H
bundle
install
--without
development
test
postgres
...
...
doc/update/4.1-to-4.2.md
View file @
2538c4ec
...
...
@@ -17,7 +17,15 @@ sudo -u gitlab -H git fetch
sudo
-u
gitlab
-H
git checkout 4-2-stable
# Install libs
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
gitlab
-H
vim Gemfile
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
gitlab
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
gitlab
-H
bundle
install
--without
development
test
postgres
--deployment
# update db
...
...
doc/update/4.2-to-5.0.md
View file @
2538c4ec
...
...
@@ -85,8 +85,17 @@ sudo -u git -H cp config/gitlab.yml.example config/gitlab.yml
# edit it
sudo
-u
git
-H
vim config/gitlab.yml
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gitlab:shell:setup
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gitlab:shell:build_missing_projects
RAILS_ENV
=
production
...
...
doc/update/5.0-to-5.1.md
View file @
2538c4ec
...
...
@@ -42,7 +42,17 @@ cd /home/git/gitlab
sudo rm
tmp/sockets/gitlab.socket
sudo
-u
git
-H
cp
config/puma.rb.example config/puma.rb
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake migrate_merge_requests
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
...
...
doc/update/5.1-to-5.2.md
View file @
2538c4ec
...
...
@@ -40,12 +40,28 @@ sudo -u git -H git checkout v1.4.0
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
...
...
doc/update/5.1-to-5.4.md
View file @
2538c4ec
...
...
@@ -37,12 +37,28 @@ sudo -u git -H git checkout v1.7.9 # Addresses multiple critical security vulner
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
...
...
doc/update/5.1-to-6.0.md
View file @
2538c4ec
...
...
@@ -137,12 +137,28 @@ sudo apt-get install python-docutils
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake migrate_groups
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake migrate_global_projects
RAILS_ENV
=
production
...
...
doc/update/5.2-to-5.3.md
View file @
2538c4ec
...
...
@@ -31,12 +31,28 @@ sudo -u git -H git checkout 5-3-stable
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
...
...
doc/update/5.3-to-5.4.md
View file @
2538c4ec
...
...
@@ -35,12 +35,28 @@ sudo -u git -H git checkout v1.7.9 # Addresses multiple critical security vulner
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
...
...
doc/update/5.4-to-6.0.md
View file @
2538c4ec
...
...
@@ -73,12 +73,28 @@ sudo apt-get install python-docutils
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake migrate_groups
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake migrate_global_projects
RAILS_ENV
=
production
...
...
doc/update/6.0-to-6.1.md
View file @
2538c4ec
...
...
@@ -50,13 +50,28 @@ sudo -u git -H git checkout v1.7.9
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake migrate_iids
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:clean
RAILS_ENV
=
production
...
...
doc/update/6.1-to-6.2.md
View file @
2538c4ec
...
...
@@ -45,13 +45,28 @@ sudo apt-get install logrotate
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
#PostgreSQL
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:clean
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
...
...
doc/update/6.2-to-6.3.md
View file @
2538c4ec
...
...
@@ -40,13 +40,28 @@ The gitlab-shell config changed recently, so check for config file changes and m
```
bash
cd
/home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
# PostgreSQL
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
...
...
doc/update/6.3-to-6.4.md
View file @
2538c4ec
...
...
@@ -36,13 +36,28 @@ sudo -u git -H git checkout v1.8.0
```bash
cd /home/git/gitlab
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo -u git -H vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo -u git -H bundle install --without development test postgres --no-deployment
# Install libs (with deployment this time)
sudo -u git -H bundle install --without development test postgres --deployment
# PostgreSQL
sudo -u git -H bundle install --without development test mysql --deployment
# Run a bundle install without deployment to generate the new Gemfile
sudo -u git -H bundle install --without development test mysql --no-deployment
# Install libs (with deployment this time)
sudo -u git -H bundle install --without development test mysql --deployment
# Both MySQL and PostgreSQL
# Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
...
...
doc/update/6.4-to-6.5.md
View file @
2538c4ec
...
...
@@ -46,13 +46,28 @@ sudo -u git -H git checkout v1.8.0
```
bash
cd
/home/git/gitlab
# MySQL installations (note: the line below states '--without ... postgres')
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
# PostgreSQL installations (note: the line below states '--without ... mysql')
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
...
...
doc/update/6.5-to-6.6.md
View file @
2538c4ec
...
...
@@ -46,12 +46,28 @@ sudo -u git -H git checkout v1.8.0
```
bash
cd
/home/git/gitlab
# MySQL installations (note: the line below states '--without ... postgres')
# The Modernizr gem was yanked from RubyGems. It is required for GitLab >= 2.8.0
# Edit `Gemfile` and change `gem "modernizr", "2.5.3"` to
# `gem "modernizr-rails", "2.7.1"``
sudo
-u
git
-H
vim Gemfile
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
# PostgreSQL installations (note: the line below states '--without ... mysql')
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
...
...
doc/update/6.6-to-6.7.md
View file @
2538c4ec
...
...
@@ -46,13 +46,23 @@ sudo -u git -H git checkout v1.9.1
```
bash
cd
/home/git/gitlab
# MySQL installations (note: the line below states '--without ... postgres')
# MySQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
postgres
--deployment
# PostgreSQL installations (note: the line below states '--without ... mysql')
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# PostgreSQL
# Run a bundle install without deployment to generate the new Gemfile
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--no-deployment
# Install libs (with deployment this time)
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Both MySQL and PostgreSQL
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
...
...
doc/update/6.x-or-7.x-to-7.14.md
View file @
2538c4ec
...
...
@@ -147,12 +147,15 @@ sudo -u git -H bundle install --without development test postgres --deployment
# PostgreSQL installations (note: the line below states '--without ... mysql')
sudo
-u
git
-H
bundle
install
--without
development
test
mysql
--deployment
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
# Run database migrations
from 6.0 to 6.1
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
VERSION
=
20130909132950
# Enable internal issue IDs (introduced in GitLab 6.1)
sudo
-u
git
-H
bundle
exec
rake migrate_iids
RAILS_ENV
=
production
# Run left database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
# Clean up assets and cache
sudo
-u
git
-H
bundle
exec
rake assets:clean assets:precompile cache:clear
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