Getting Error while opening open changes

164 views
Skip to first unread message

Chaitanya

unread,
Jul 8, 2024, 8:37:38 AM7/8/24
to Repo and Gerrit Discussion
Hello Everyone,

I am trying to migrate the gerrit server from old server to new server. Everything went well, but while opening the open changes am facing following issue. Please find the attached snapshot for your reference.

An error occurred
You might have not enough privileges. Error 404 (Not Found): Not found: manifestcreationscripts~1621 Endpoint: /changes/*~*/robotcomments


Thanks for the support.

Regards,
chaitanya..
open_changes_issue.PNG

Luca Milanesio

unread,
Jul 8, 2024, 9:14:30 AM7/8/24
to Repo and Gerrit Discussion, Luca Milanesio

On 8 Jul 2024, at 13:34, Chaitanya <chaitany...@gmail.com> wrote:

Hello Everyone,

I am trying to migrate the gerrit server from old server to new server.

Q1: Same ServerId or different ServerId?
Q2: Same version or different version?

Everything went well, but while opening the open changes am facing following issue. Please find the attached snapshot for your reference.

An error occurred
You might have not enough privileges. Error 404 (Not Found): Not found: manifestcreationscripts~1621 Endpoint: /changes/*~*/robotcomments

Depending on your version, you could be hit by one (or more) bug(s) we fixed already on v3.10.

Luca.



Thanks for the support.

Regards,
chaitanya..

--
--
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/5850d576-7968-4deb-a669-6726b10e432en%40googlegroups.com.
open_changes_issue.PNG

Chaitanya

unread,
Jul 8, 2024, 9:19:21 AM7/8/24
to Repo and Gerrit Discussion
Q1: Same ServerId or different ServerId? -> Different ServerID
Q2: Same version or different version?  -> Same Version

Posting the logs for your reference
[2024-07-08T12:25:27.776Z] [HTTP GET /changes/?O=1010502&S=0&q=change%3A1621%20OR%20change%3A1511%20OR%20change%3A1476%20OR%20change%3A280%20OR%20ch] WARN  com.google.gerrit.server.change.ChangeJson : Omitting corrupt change 279 from results [CONTEXT request="REST /changes/" ]
com.google.gerrit.exceptions.StorageException: com.google.gerrit.server.notedb.InvalidServerIdException: invalid server id, expected 4e4bd403-e9da-41e6-8a14-a5183aad0bbe: actual: 9140867f-d58f-443f-a5da-8e57333c8df1
        at com.google.gerrit.server.change.ChangeJson.format(ChangeJson.java:455)

Luca Milanesio

unread,
Jul 8, 2024, 9:21:24 AM7/8/24
to Repo and Gerrit Discussion, Luca Milanesio

On 8 Jul 2024, at 14:19, Chaitanya <chaitany...@gmail.com> wrote:

Q1: Same ServerId or different ServerId? -> Different ServerID

Why are you using different ServerId?
What would you like to achieve?

Q2: Same version or different version?  -> Same Version

Posting the logs for your reference
[2024-07-08T12:25:27.776Z] [HTTP GET /changes/?O=1010502&S=0&q=change%3A1621%20OR%20change%3A1511%20OR%20change%3A1476%20OR%20change%3A280%20OR%20ch] WARN  com.google.gerrit.server.change.ChangeJson : Omitting corrupt change 279 from results [CONTEXT request="REST /changes/" ]
com.google.gerrit.exceptions.StorageException: com.google.gerrit.server.notedb.InvalidServerIdException: invalid server id, expected 4e4bd403-e9da-41e6-8a14-a5183aad0bbe: actual: 9140867f-d58f-443f-a5da-8e57333c8df1
        at com.google.gerrit.server.change.ChangeJson.format(ChangeJson.java:455)

On Monday 8 July 2024 at 18:44:30 UTC+5:30 Luca Milanesio wrote:

On 8 Jul 2024, at 13:34, Chaitanya <chaitany...@gmail.com> wrote:

Hello Everyone,

I am trying to migrate the gerrit server from old server to new server.

Q1: Same ServerId or different ServerId?
Q2: Same version or different version?

Everything went well, but while opening the open changes am facing following issue. Please find the attached snapshot for your reference.

An error occurred
You might have not enough privileges. Error 404 (Not Found): Not found: manifestcreationscripts~1621 Endpoint: /changes/*~*/robotcomments

Depending on your version,

Which version are you running?

Luca.

you could be hit by one (or more) bug(s) we fixed already on v3.10.

Luca.



Thanks for the support.

Regards,
chaitanya..

--
--
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/5850d576-7968-4deb-a669-6726b10e432en%40googlegroups.com.
open_changes_issue.PNG


--
--
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.

Chaitanya

unread,
Jul 8, 2024, 9:39:55 AM7/8/24
to Repo and Gerrit Discussion
On Monday 8 July 2024 at 18:51:24 UTC+5:30 Luca Milanesio wrote:

On 8 Jul 2024, at 14:19, Chaitanya <chaitany...@gmail.com> wrote:

Q1: Same ServerId or different ServerId? -> Different ServerID

Why are you using different ServerId?
What would you like to achieve?
    -> I am Just migrating the existing gerrit setup into new ubuntu machine. So, while migrating i had some open changes which are not opening in new server.

Q2: Same version or different version?  -> Same Version

Posting the logs for your reference
[2024-07-08T12:25:27.776Z] [HTTP GET /changes/?O=1010502&S=0&q=change%3A1621%20OR%20change%3A1511%20OR%20change%3A1476%20OR%20change%3A280%20OR%20ch] WARN  com.google.gerrit.server.change.ChangeJson : Omitting corrupt change 279 from results [CONTEXT request="REST /changes/" ]
com.google.gerrit.exceptions.StorageException: com.google.gerrit.server.notedb.InvalidServerIdException: invalid server id, expected 4e4bd403-e9da-41e6-8a14-a5183aad0bbe: actual: 9140867f-d58f-443f-a5da-8e57333c8df1
        at com.google.gerrit.server.change.ChangeJson.format(ChangeJson.java:455)

On Monday 8 July 2024 at 18:44:30 UTC+5:30 Luca Milanesio wrote:

On 8 Jul 2024, at 13:34, Chaitanya <chaitany...@gmail.com> wrote:

Hello Everyone,

I am trying to migrate the gerrit server from old server to new server.

Q1: Same ServerId or different ServerId?
Q2: Same version or different version?

Everything went well, but while opening the open changes am facing following issue. Please find the attached snapshot for your reference.

An error occurred
You might have not enough privileges. Error 404 (Not Found): Not found: manifestcreationscripts~1621 Endpoint: /changes/*~*/robotcomments

Depending on your version,

Which version are you running?
      -> 3.7.0

Luca Milanesio

unread,
Jul 8, 2024, 9:43:40 AM7/8/24
to Repo and Gerrit Discussion, Luca Milanesio

On 8 Jul 2024, at 14:39, Chaitanya <chaitany...@gmail.com> wrote:



On Monday 8 July 2024 at 18:51:24 UTC+5:30 Luca Milanesio wrote:

On 8 Jul 2024, at 14:19, Chaitanya <chaitany...@gmail.com> wrote:

Q1: Same ServerId or different ServerId? -> Different ServerID

Why are you using different ServerId?
What would you like to achieve?
    -> I am Just migrating the existing gerrit setup into new ubuntu machine. So, while migrating i had some open changes which are not opening in new server.

Just keep the ServerId, there no reason for having a different ServerId at all.
You should follow a backup / restore process as documented at [1].

HTH

Luca.


Reply all
Reply to author
Forward
0 new messages