Upgrade gerrit.ovirt.org to latest 2.12.z
Description
blocks
relates to
Activity
Martin Perina April 4, 2017 at 6:30 AM
Copying text now works as expected, thanks a lot for the upgrade!
Former user April 4, 2017 at 12:02 AM
Gerrit upgraded to 2.12.7.
A full reindex was performed which lasted for more than an hour. The reindex spit a few errors but progressed fine otherwise:
Reindexing changes: projects: 6% (6/94), 0% (277/72216) [2017-04-03 18:41:13,551] [Index-Batch-4] ERROR com.google.gerrit.server.index.SiteIndexer : repository not found: /usr/local/src/git/infra-tools
Reindexing changes: projects: 50% (47/94), 15% (11233/72216) (|)[2017-04-03 18:41:51,485] [Index-Batch-7] ERROR com.google.gerrit.server.change.MergeabilityCacheImpl : Error checking mergeability of 6b8c492ee0b5181770c529fce7997b8802f696b6 into bdca0b5702e3f2058805edcff168947ee95b1996 (REBASE_IF_NECESSARY)
java.lang.IllegalStateException: Duplicate stages not allowed: 0 test/change_queue/test_changes.py
...
[2017-04-03 18:41:51,632] [Index-Batch-7] ERROR com.google.gerrit.server.change.MergeabilityCacheImpl : Error checking mergeability of 351807f95f6a3ae3c0d4d5694b6d5f7abafab213 into bdca0b5702e3f2058805edcff168947ee95b1996 (REBASE_IF_NECESSARY)
java.lang.IllegalStateException: Duplicate stages not allowed: 0 test/change_queue/test_changes.py
...
Reindexing changes: projects: 100% (94/94), 98% (70915/72216), done
Reindexed 70915 changes in 3832.8s (18.5/s)
On next upgrades reindexing is also required so we should prepare for around the same downtime.
On a side note - didn't have permissions to create a snapshot of the instance so had to cancel OS upgrades until we have that sorted.
Former user March 31, 2017 at 10:52 AM
Staging upgraded to 2.12.7 successfully using these steps:
wget https://gerrit-releases.storage.googleapis.com/gerrit-2.12.7.war
/etc/init.d/gerrit stop
java -jar gerrit-2.12.7.war init -d /home/gerrit2/review_site/
The last command starts a wizard that updates standard plugins and updates the DB if necessary, replacing the old gerrit.war so will make a snapshot on Production before applying the upgrade.
Hi,
could you please upgrade gerrit to latest 2.12.z? Or at least 2.12.3 which fixed small but very annoying behaviour of Control+C in Firefox:
https://bugs.chromium.org/p/gerrit/issues/detail?id=2647
Thanks
Martin