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
Jérome Perrin
gitlab-ce
Commits
9b86fba5
Commit
9b86fba5
authored
Feb 16, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert changes to 8.17 update docs since yarn is now set for 9.0
parent
cda34805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
35 deletions
+8
-35
doc/update/8.16-to-8.17.md
doc/update/8.16-to-8.17.md
+8
-35
No files found.
doc/update/8.16-to-8.17.md
View file @
9b86fba5
...
@@ -49,31 +49,7 @@ Install Bundler:
...
@@ -49,31 +49,7 @@ Install Bundler:
sudo
gem
install
bundler
--no-ri
--no-rdoc
sudo
gem
install
bundler
--no-ri
--no-rdoc
```
```
### 4. Update Node and Install Yarn
### 4. Get latest code
GitLab now runs
[
webpack
](
http://webpack.js.org
)
to compile frontend assets and
it has a minimum requirement of node v4.3.0. We are also replacing the use of
`npm`
with
`yarn`
to install node modules going forward as it is faster and
less error prone.
You can check which version you are running with
`node -v`
.
If you are running a version older than
`v4.3.0`
you will should update to a
newer version. You can find instructions to install from community maintained
packages or compile from source at the nodejs.org website.
<https://nodejs.org/en/download/>
<https://nodejs.org/en/download/package-manager/>
Install Yarn:
If you do not have yarn installed, you will need to install this as well.
Instructions to compile from source or install from a package repository can be
found on yarnpkg.com:
<https://yarnpkg.com/en/docs/install>
### 5. Get latest code
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -100,7 +76,7 @@ cd /home/git/gitlab
...
@@ -100,7 +76,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
git checkout 8-17-stable-ee
sudo
-u
git
-H
git checkout 8-17-stable-ee
```
```
###
6
. Install libs, migrations, etc.
###
5
. Install libs, migrations, etc.
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -117,16 +93,13 @@ sudo -u git -H bundle clean
...
@@ -117,16 +93,13 @@ 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
# Install/update frontend asset dependencies
sudo
-u
git
-H
yarn
install
--production
--pure-lockfile
# Clean up assets and cache
# Clean up assets and cache
sudo
-u
git
-H
bundle
exec
rake
gitlab:assets:clean gitlab:assets:
compile cache:clear
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake
assets:clean assets:pre
compile cache:clear
RAILS_ENV
=
production
```
```
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
###
7
. Update gitlab-workhorse
###
6
. Update gitlab-workhorse
Install and compile gitlab-workhorse. This requires
Install and compile gitlab-workhorse. This requires
[
Go 1.5
](
https://golang.org/dl
)
which should already be on your system from
[
Go 1.5
](
https://golang.org/dl
)
which should already be on your system from
...
@@ -138,7 +111,7 @@ cd /home/git/gitlab
...
@@ -138,7 +111,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake
"gitlab:workhorse:install[/home/git/gitlab-workhorse]"
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake
"gitlab:workhorse:install[/home/git/gitlab-workhorse]"
RAILS_ENV
=
production
```
```
###
8
. Update gitlab-shell
###
7
. Update gitlab-shell
```
bash
```
bash
cd
/home/git/gitlab-shell
cd
/home/git/gitlab-shell
...
@@ -147,7 +120,7 @@ sudo -u git -H git fetch --all --tags
...
@@ -147,7 +120,7 @@ sudo -u git -H git fetch --all --tags
sudo
-u
git
-H
git checkout v4.1.1
sudo
-u
git
-H
git checkout v4.1.1
```
```
###
9
. Update configuration files
###
8
. Update configuration files
#### New configuration options for `gitlab.yml`
#### New configuration options for `gitlab.yml`
...
@@ -221,14 +194,14 @@ For Ubuntu 16.04.1 LTS:
...
@@ -221,14 +194,14 @@ For Ubuntu 16.04.1 LTS:
sudo
systemctl daemon-reload
sudo
systemctl daemon-reload
```
```
###
10
. Start application
###
9
. Start application
```
bash
```
bash
sudo
service gitlab start
sudo
service gitlab start
sudo
service nginx restart
sudo
service nginx restart
```
```
### 1
1
. Check application status
### 1
0
. Check application status
Check if GitLab and its environment are configured correctly:
Check if GitLab and its environment are configured correctly:
...
...
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