diff options
Diffstat (limited to 'doc/update/7.2-to-7.3.md')
-rw-r--r-- | doc/update/7.2-to-7.3.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/update/7.2-to-7.3.md b/doc/update/7.2-to-7.3.md index 74622eda06b..44f3f8f1a38 100644 --- a/doc/update/7.2-to-7.3.md +++ b/doc/update/7.2-to-7.3.md @@ -18,6 +18,7 @@ sudo service gitlab stop ```bash cd /home/git/gitlab sudo -u git -H git fetch --all +sudo -u git -H git checkout -- db/schema.rb # local changes will be restored automatically ``` For GitLab Community Edition: @@ -72,6 +73,8 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab sed 's/^port .*/port 0/' /etc/redis/redis.conf.orig | sudo tee /etc/redis/redis.conf # Enable Redis socket for default Debian / Ubuntu path echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf + # Be sure redis group can write to the socket, enable only if supported (>= redis 2.4.0). + sed -i '/# unixsocketperm/ s/^# unixsocketperm.*/unixsocketperm 0775/' /etc/redis/redis.conf # Activate the changes to redis.conf sudo service redis-server restart # Add git to the redis group @@ -97,7 +100,7 @@ git diff origin/7-2-stable:config/gitlab.yml.example origin/7-3-stable:config/gi ``` # Use the default Unicorn socket backlog value of 1024 -sudo -u git -H sed -i 's|^:backlog => 64|:backlog => 1024|' config/unicorn.rb +sudo -u git -H sed -i 's/:backlog => 64/:backlog => 1024/' config/unicorn.rb ``` * HTTP setups: Make `/etc/nginx/sites-available/nginx` the same as https://gitlab.com/gitlab-org/gitlab-ce/blob/7-3-stable/lib/support/nginx/gitlab but with your settings. |