Skip to content
Snippets Groups Projects
Commit 98a21cd4 authored by Valery Sizov's avatar Valery Sizov
Browse files

Remove outdated notes from the update guide

parent aac8dcf1
No related branches found
No related tags found
No related merge requests found
Loading
@@ -62,23 +62,7 @@ sudo -u git -H git checkout v0.7.8
Loading
@@ -62,23 +62,7 @@ sudo -u git -H git checkout v0.7.8
sudo -u git -H make sudo -u git -H make
``` ```
   
### 6. Update MySQL permissions ### 6. Install libs, migrations, etc.
If you are using MySQL you need to grant the GitLab user the necessary
permissions on the database:
```bash
# Login to MySQL
mysql -u root -p
# Grant the GitLab user the REFERENCES permission on the database
GRANT REFERENCES ON `gitlabhq_production`.* TO 'git'@'localhost';
# Quit the database session
mysql> \q
```
### 7. Install libs, migrations, etc.
   
```bash ```bash
cd /home/git/gitlab cd /home/git/gitlab
Loading
@@ -100,7 +84,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
Loading
@@ -100,7 +84,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
   
``` ```
   
### 8. Update configuration files ### 7. Update configuration files
   
#### New configuration options for `gitlab.yml` #### New configuration options for `gitlab.yml`
   
Loading
@@ -110,14 +94,6 @@ There are new configuration options available for [`gitlab.yml`](config/gitlab.y
Loading
@@ -110,14 +94,6 @@ There are new configuration options available for [`gitlab.yml`](config/gitlab.y
git diff origin/8-10-stable:config/gitlab.yml.example origin/8-11-stable:config/gitlab.yml.example git diff origin/8-10-stable:config/gitlab.yml.example origin/8-11-stable:config/gitlab.yml.example
``` ```
   
#### Git configuration
Disable `git gc --auto` because GitLab runs `git gc` for us already.
```sh
sudo -u git -H git config --global gc.auto 0
```
#### Nginx configuration #### Nginx configuration
   
Ensure you're still up-to-date with the latest NGINX configuration changes: Ensure you're still up-to-date with the latest NGINX configuration changes:
Loading
@@ -157,12 +133,12 @@ Ensure you're still up-to-date with the latest init script changes:
Loading
@@ -157,12 +133,12 @@ Ensure you're still up-to-date with the latest init script changes:
   
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
   
### 9. Start application ### 8. 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:
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment