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
d9868d2e
Commit
d9868d2e
authored
Jul 11, 2017
by
James Edwards-Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9.4 update instractions include changes made to 9.3 instructions
parent
b39c9837
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
12 deletions
+33
-12
doc/update/9.3-to-9.4.md
doc/update/9.3-to-9.4.md
+33
-12
No files found.
doc/update/9.3-to-9.4.md
View file @
d9868d2e
...
@@ -72,8 +72,8 @@ More information can be found on the [yarn website](https://yarnpkg.com/en/docs/
...
@@ -72,8 +72,8 @@ More information can be found on the [yarn website](https://yarnpkg.com/en/docs/
### 5. Update Go
### 5. Update Go
NOTE: GitLab 9.
4 and higher only supports Go 1.8.3 and dropped support for Go 1.5.x through 1.7.x. Be
NOTE: GitLab 9.
2 and higher only supports Go 1.8.3 and dropped support for Go
sure to upgrade your installation if necessary
1.
5.x through 1.7.x. Be sure to upgrade your installation if necessary.
You can check which version you are running with
`go version`
.
You can check which version you are running with
`go version`
.
...
@@ -117,7 +117,7 @@ cd /home/git/gitlab
...
@@ -117,7 +117,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
git checkout 9-4-stable-ee
sudo
-u
git
-H
git checkout 9-4-stable-ee
```
```
###
5
. Update gitlab-shell
###
7
. Update gitlab-shell
```
bash
```
bash
cd
/home/git/gitlab-shell
cd
/home/git/gitlab-shell
...
@@ -127,11 +127,10 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_SHELL_VERSION)
...
@@ -127,11 +127,10 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_SHELL_VERSION)
sudo
-u
git
-H
bin/compile
sudo
-u
git
-H
bin/compile
```
```
###
6
. Update gitlab-workhorse
###
8
. Update gitlab-workhorse
Install and compile gitlab-workhorse. This requires
Install and compile gitlab-workhorse. GitLab-Workhorse uses
[
Go 1.8
](
https://golang.org/dl
)
which should already be on your system from
[
GNU Make
](
https://www.gnu.org/software/make/
)
.
GitLab 8.1. GitLab-Workhorse uses
[
GNU Make
](
https://www.gnu.org/software/make/
)
.
If you are not using Linux you may have to run
`gmake`
instead of
If you are not using Linux you may have to run
`gmake`
instead of
`make`
below.
`make`
below.
...
@@ -143,7 +142,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_WORKHORSE_VERSION)
...
@@ -143,7 +142,7 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITLAB_WORKHORSE_VERSION)
sudo
-u
git
-H
make
sudo
-u
git
-H
make
```
```
###
7
. Update Gitaly
###
9
. Update Gitaly
If you have not yet set up Gitaly then follow
[
Gitaly section of the installation
If you have not yet set up Gitaly then follow
[
Gitaly section of the installation
guide
](
../install/installation.md#install-gitaly
)
.
guide
](
../install/installation.md#install-gitaly
)
.
...
@@ -171,7 +170,29 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION)
...
@@ -171,7 +170,29 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION)
sudo
-u
git
-H
make
sudo
-u
git
-H
make
```
```
### 10. Update configuration files
### 10. Update MySQL permissions
If you are using MySQL you need to grant the GitLab user the necessary
permissions on the database:
```
bash
mysql
-u
root
-p
-e
"GRANT TRIGGER ON
\`
gitlabhq_production
\`
.* TO 'git'@'localhost';"
```
If you use MySQL with replication, or just have MySQL configured with binary logging,
you will need to also run the following on all of your MySQL servers:
```
bash
mysql
-u
root
-p
-e
"SET GLOBAL log_bin_trust_function_creators = 1;"
```
You can make this setting permanent by adding it to your
`my.cnf`
:
```
log_bin_trust_function_creators=1
```
### 11. Update configuration files
#### New configuration options for `gitlab.yml`
#### New configuration options for `gitlab.yml`
...
@@ -245,7 +266,7 @@ For Ubuntu 16.04.1 LTS:
...
@@ -245,7 +266,7 @@ For Ubuntu 16.04.1 LTS:
sudo
systemctl daemon-reload
sudo
systemctl daemon-reload
```
```
### 1
1
. Install libs, migrations, etc.
### 1
2
. Install libs, migrations, etc.
```
bash
```
bash
cd
/home/git/gitlab
cd
/home/git/gitlab
...
@@ -271,14 +292,14 @@ sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
...
@@ -271,14 +292,14 @@ sudo -u git -H bundle exec rake 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
)
.
### 1
2
. Start application
### 1
3
. Start application
```
bash
```
bash
sudo
service gitlab start
sudo
service gitlab start
sudo
service nginx restart
sudo
service nginx restart
```
```
### 1
3
. Check application status
### 1
4
. 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