Gerrit 2.3 Update Process

Eyal Edri eedri at redhat.com
Mon Apr 23 16:16:35 UTC 2012


Fyi,

Me and Attila successfully updated gerrit 2.2.1 to 2.3.

you can find the steps below: (to follow for updating gerrit.ovirt.org)

i think it's is very important to make sure the gerrit server is backed up before (we did a snapshot before the upgrade).

0. backup configuration files under gerrit home dir (review_site/etc/gerrit.config and secure.config)
1. /home/gerrit2/review_site/bin/gerrit.sh stop
2. su - gerrit2
3. wget http://gerrit.googlecode.com/files/gerrit-2.3.war
4. unlink gerrit.war; ln -s gerrit-2.3.war gerrit.war
5. java -jar gerrit.war init -d review_site/

- this will now show you interactive questions about gerrit configuration, 
  you should just keep current configuration (press enter).
  and compare the new conf after to make sure nothing was changed.

6. /home/gerrit2/review_site/bin/gerrit.sh start


Hope this helps,

here are the 2.3 release notes: http://gerrit-documentation.googlecode.com/svn/ReleaseNotes/ReleaseNotes-2.3.html

Enjoy,

Eyal. 



More information about the Arch mailing list