The original version is gerrit 3.6.3, and I plan to upgrade it to 3.7.1. When I run the java -jar gerrit-3.7.1.war init -d /home/gerrit/ command to enter information as prompted, no error is reported.But when I update the index by executing "java -jar gerrit-3.7.1.war reindex -d /home/gerrit/", Appear error "com. Google. Gerrit. Server. Notedb. InvalidServerIdException: invalid server id, expected e2d7b991-ec1a-4834-becb-6b6240984f40: actual: 24129dfe-e469-43a0-b591-53a522621fc8”
I also tried to manually change the server id and then re-execute "java -jar gerrit-3.7.1.war reindex -d /home/gerrit/", but there was still an error and I could execute "sh gerrit.sh start". The upgrade to gerrit3.7.1 can be seen on the web interface after startup, but the original committed changes are lost. I think it may be caused by failure to update index.Finally, attach the print when executing these two commands:
--
--
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 on the web visit https://groups.google.com/d/msgid/repo-discuss/69e8508b-1d2a-4b56-bf33-1985f6c12f50n%40googlegroups.com.
The original version is gerrit 3.6.3, and I plan to upgrade it to 3.7.1. When I run the java -jar gerrit-3.7.1.war init -d /home/gerrit/ command to enter information as prompted, no error is reported.But when I update the index by executing "java -jar gerrit-3.7.1.war reindex -d /home/gerrit/", Appear error "com. Google. Gerrit. Server. Notedb. InvalidServerIdException: invalid server id, expected e2d7b991-ec1a-4834-becb-6b6240984f40: actual: 24129dfe-e469-43a0-b591-53a522621fc8”
I also tried to manually change the server id and then re-execute "java -jar gerrit-3.7.1.war reindex -d /home/gerrit/", but there was still an error and I could execute "sh gerrit.sh start". The upgrade to gerrit3.7.1 can be seen on the web interface after startup, but the original committed changes are lost. I think it may be caused by failure to update index.Finally, attach the print when executing these two commands:
thank you for your reply. Yes, I imported some projects from another Gerrit instance before, how do I clean them up now?