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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2a43214b
Commit
2a43214b
authored
Dec 13, 2019
by
Wei-Meng Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bring CE->EE upgrade instructions to par
parent
0fc68a74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
doc/update/upgrading_from_ce_to_ee.md
doc/update/upgrading_from_ce_to_ee.md
+11
-6
No files found.
doc/update/upgrading_from_ce_to_ee.md
View file @
2a43214b
...
@@ -59,17 +59,22 @@ sudo -u git -H git checkout EE_BRANCH
...
@@ -59,17 +59,22 @@ sudo -u git -H git checkout EE_BRANCH
```
sh
```
sh
cd
/home/git/gitlab
cd
/home/git/gitlab
# MySQL installations (note: the line below states '--without postgres')
sudo
-u
git
-H
bundle
install
--deployment
--without
development
test
mysql aws kerberos
sudo
-u
git
-H
bundle
install
--without
postgres development
test
--deployment
#
PostgreSQL installations (note: the line below states '--without mysql')
#
Optional: clean up old gems
sudo
-u
git
-H
bundle
install
--without
mysql development
test
--deployment
sudo
-u
git
-H
bundle
clean
# 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
# Clean up assets and cache
# Compile GetText PO files
sudo
-u
git
-H
bundle
exec
rake assets:clean assets:precompile cache:clear
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gettext:compile
RAILS_ENV
=
production
# Update node dependencies and recompile assets
sudo
-u
git
-H
bundle
exec
rake yarn:install gitlab:assets:clean gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
NODE_OPTIONS
=
"--max_old_space_size=4096"
# Clean up cache
sudo
-u
git
-H
bundle
exec
rake cache:clear
RAILS_ENV
=
production
```
```
### 4. Install `gitlab-elasticsearch-indexer` (optional) **(STARTER ONLY)**
### 4. Install `gitlab-elasticsearch-indexer` (optional) **(STARTER ONLY)**
...
...
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