We have Gerrit version 2.14.19 and are planning to upgrade to version 3.x. The initial plan is to upgrade to 2.15, then to 2.16, followed by 3.x, and finally to the latest version.
We plan to follow the steps below—please let me know if anything is missing:
Stop Gerrit.
Download the gerrit-2.15.war file.
Run java -jar gerrit-2.15.war init -d <site_path>.
Re-index the data.
Thanks. --
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/46c459c1-9bb8-4220-962a-91152c17f92dn%40googlegroups.com.
While upgrading Gerrit 2.16.28 (java -jar gerrit-2.16.28.war init -d /gerrit_site_path), we encountered the following error when trying to connect using the URL: (We are using MySQL 5.7) and Ubuntu 22.04
fatal: DbInjector failed
fatal: Unable to determine SqlDialect
fatal: caused by java.sql.SQLException: The connection property 'nullNamePatternMatchesAll' only accepts values of the form: 'true', 'false', 'yes' or 'no'. The value 'true?nullNamePatternMatchesAll=true' is not in this set.
added the below line while adding DB name
reviewdb_test?useSSL=false&allowPublicKeyRetrieval=true&nullNamePatternMatchesAll=true