[ANNOUNCE] Gerrit 2.16.1

207 views
Skip to first unread message

Luca Milanesio

unread,
Dec 7, 2018, 8:45:37 PM12/7/18
to Repo and Gerrit Discussion, Luca Milanesio
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerrit version 2.16.1 is now available.
This release includes several bug fixes and improvements since 2.16. Please see the release notes for details.

Release Notes:
https://www.gerritcodereview.com/2.16.html

Documentation:
http://gerrit-documentation.storage.googleapis.com/Documentation/2.16.1/index.html

Log of changes since 2.16:
https://gerrit.googlesource.com/gerrit/+log/v2.16..v2.16.1?no-merges

Download:
https://gerrit-releases.storage.googleapis.com/gerrit-2.16.1.war

SHA1:
5c567cd75142c5984109b413958228ad8a0c8077

SHA256:
a99ac33a95a39420a158140dfd6075a052282ead4b65abd80877b7a913b5ed48

MD5:
16b03e23b0a24385223699d2c3c050f0

Maintainers' public keys:
https://www.gerritcodereview.com/releases/public-keys.md

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJcCyIDAAoJEB//ql4Ycfd1D+0H/2JBzQaV1Vk2IgyZkfnlLCqH
BGjz6grNVvVK0JqckVr2626kWr25WMV3D72KIVB2UOiQyj/iAP6ZvGF271OwRUYJ
PfajVJwoZd49wXH8NKrR8sLAOAIGrUSQMgHCuXU6AYbgl9a1c+9PA++d2XkKQOEh
vMtlVk/T1fmpeoueU4R8nMq3gB5QuealfapkQhM4n4mIgLUjLawVStYBBM46fa5q
9tF1hE/EV/xJWXATVj34l6AkJEhhuLqB2vPu8Bg/6ux5pQh3hcFta9250bB3ly5B
QkgQIrz4DqbBSyl5yAMGZUHMFo41G2GEXW4gybl8b2CouY3QV9GHpEn8/OGrQ7w=
=PXU4
-----END PGP SIGNATURE-----

Luca Milanesio

unread,
Dec 7, 2018, 8:48:14 PM12/7/18
to Repo and Gerrit Discussion, Luca Milanesio
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Binary packages (Deb / Rpm) of Gerrit version 2.16.1 are now available.
=======================================================================

How to install/upgrade: 2.16.1
******************************

If you have a previous version of Gerrit 2.1x installed via native packages:

(on Debian / Ubuntu)
apt-get update & apt-get install gerrit=2.16.1-1

(on CentOS / RedHat)
yum clean all && yum install gerrit-2.16.1-1

(on Fedora)
dnf clean all && dnf install gerrit-2.16.1-1

If it is a new installation and you don't have the GerritForge/BinTray repositories
configured, please follow the instructions at:
http://gitenterprise.me/2015/02/27/gerrit-2-10-rpm-and-debian-packages-available/

Docker images:
**************

Gerrit is distributed on DockerHub at:
https://hub.docker.com/r/gerritcodereview/gerrit/

The following tags have been published
latest => 2.16.1
2.16.1 => 2.16.1-centos7
2.16.1-centos7
2.16.1-ubuntu16

More information on how to use Gerrit Docker image for testing, staging, and production at:
https://gerrit.googlesource.com/docker-gerrit

MacOS native package:
*********************

MacOS Gerrit native installer is available for download at:

https://dl.bintray.com/gerrit/mac/gerrit-installer-2.16.1.pkg
https://gerritforge.com/gerrit/mac/gerrit-installer-2.16.1.pkg

SHA1:
206525e6022ea534c4aa10d8c9f1fd6a89007655

SHA256:
661f48b51c15609e554d37b53463f0f4f6f3f461ba50d7d1fe0144f1c5d9acf7

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJcCyK1AAoJEB//ql4Ycfd1OpEIAKwYuvl2E83M+EsIR+HyWO8E
jkK4rgTCK7n9TPNNf8ztrsJ3OMvhz4SYPF9/gEX0pC4T/LjEIw0przz/rbtZ2PKk
qzjTKAwHXcyJj5j7dwGmCmpEvs7cWsDufrpCiGdKtkuULXIEr+6PGJ59WB5fxYIi
AGZe5tnHAkoXBrh29eOJZRXzX2hcY+q6CxLl4yuoKwmaYk7Sldbryxegx05tTuk7
TzTuYURpTE8h5vu7ATPjcVK7G+7qrxID4QOix8v5qjqjfF02PJeLE4gv2aX4MzWR
h6jk/gr+abi6OG4GHE+dkBiAzRhfbxLVEQ5ebbyzcjN/S+zOyG7orjxw76nWdZU=
=zy5l
-----END PGP SIGNATURE-----

Claudio DeSouza

unread,
Dec 11, 2018, 3:26:50 AM12/11/18
to Repo and Gerrit Discussion
Hello Luca,

I'm right now using 2.16. Is it just a matter of changing the container image, or do we need to run gerrit.war first with some argument to migrate anything?

Cheers

Luca Milanesio

unread,
Dec 11, 2018, 3:31:00 AM12/11/18
to Claudio DeSouza, Luca Milanesio, Repo and Gerrit Discussion


> On 11 Dec 2018, at 08:26, Claudio DeSouza <claudi...@gmail.com> wrote:
>
> Hello Luca,
>
> I'm right now using 2.16. Is it just a matter of changing the container image, or do we need to run gerrit.war first with some argument to migrate anything?

Just bump the version label of the image, from gerritcodereview/gerrit:2.16 to gerritcodereview/gerrit:2.16.1 ... and there you go :-)
Docker forever !!!!

Luca.

Claudio DeSouza

unread,
Dec 11, 2018, 5:06:38 AM12/11/18
to Repo and Gerrit Discussion
Cheers.

Lucas Nunes

unread,
Dec 11, 2018, 7:33:32 AM12/11/18
to Repo and Gerrit Discussion
Em sexta-feira, 7 de dezembro de 2018 23:45:37 UTC-2, lucamilanesio escreveu:
Gerrit version 2.16.1 is now available.
This release includes several bug fixes and improvements since 2.16. Please see the release notes for details.

Hello Luca,

I've just tried to upgrade to 2.16.1, but I'm getting a "java.lang.IllegalStateException: Cannot start HTTP daemon" exception, caused by a "javax.servlet.ServletException: OAuth service provider wasn't installed" exception when trying to start Gerrit.

I've tried to update the gerrit-oauth-provider plugin manually using the master build on Gerrit forge, but with no success.

Is there anything else I must do, or should I wait for a new plugin release?

Thank you.

David Ostrovsky

unread,
Dec 11, 2018, 7:59:14 AM12/11/18
to Repo and Gerrit Discussion

Am Dienstag, 11. Dezember 2018 13:33:32 UTC+1 schrieb Lucas Nunes:
Em sexta-feira, 7 de dezembro de 2018 23:45:37 UTC-2, lucamilanesio escreveu:
Gerrit version 2.16.1 is now available.
This release includes several bug fixes and improvements since 2.16. Please see the release notes for details.

Hello Luca,

I've just tried to upgrade to 2.16.1, but I'm getting a "java.lang.IllegalStateException: Cannot start HTTP daemon" exception, caused by a "javax.servlet.ServletException: OAuth service provider wasn't installed" exception when trying to start Gerrit.

From what version are you trying to upgrade? Check this question in FAQ of gerrit-oauth-provider plugin: [1].

Q. I tried hard and double-checked all the configuration options from the previous answer, but gerrit still refuses to start?
A. [...] Since Gerrit 2.14 you must in addition set oauth. gitBasicAuthPolicy to HTTP: .

[auth]
    type = OAUTH
    gitBasicAuthPolicy = HTTP

Lucas Nunes

unread,
Dec 11, 2018, 8:30:47 AM12/11/18
to david.o...@gmail.com, repo-d...@googlegroups.com
Em ter, 11 de dez de 2018 às 10:59, David Ostrovsky <david.o...@gmail.com> escreveu:
From what version are you trying to upgrade? Check this question in FAQ of gerrit-oauth-provider plugin: [1].

Hi David, thank you for your e-mail.

I've solved the problem: I had messed up the plugins directory permissions, and the Gerrit process was unable to access it. Once I fixed it the process started smoothly.

Sorry for the noise. And thanks again.
--
Lucas Dutra Nunes
Reply all
Reply to author
Forward
0 new messages