Hi,
After restarting our Sonarqube (v10.2) deployment on K8s, it won’t start up again with the following error logged:
2023.11.02 07:49:03 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule]...
2023.11.02 07:49:10 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule] done | time=6351ms
2023.11.02 07:49:10 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule]...
2023.11.02 07:49:13 ERROR web[][o.s.a.c.g.GitlabHttpClient] Gitlab API call to [https:/<REDACTED>/api/v4/user] failed with 401 http code. gitlab response content : [{"error":"invalid_token","error_description":"Token is expired. You can either do re-authorization or token refresh."}]
2023.11.02 07:49:19 INFO app[][o.s.a.SchedulerImpl] Stopping SonarQube
2023.11.02 07:49:19 INFO app[][o.s.a.SchedulerImpl] Sonarqube has been requested to stop
2023.11.02 07:49:19 INFO app[][o.s.a.SchedulerImpl] Stopping [Compute Engine] process...
2023.11.02 07:49:19 INFO app[][o.s.a.SchedulerImpl] Stopping [Web Server] process...
2023.11.02 07:49:19 INFO web[][o.s.p.ProcessEntryPoint] Gracefully stopping process
2023.11.02 07:49:19 INFO web[][o.s.s.e.CoreExtensionStopper] Stopping Governance
2023.11.02 07:49:19 INFO web[][o.s.s.e.CoreExtensionStopper] Stopping Governance (done) | time=0ms
2023.11.02 07:49:19 INFO web[][o.s.s.n.NotificationDaemon] Notification service stopped``
This is a test instance and it seems our Gitlab token expired. Since this is set via web UI/API (requiring running instance that is), how to get past this error and start up Sonarqube again?
Thanks in advance,
Marko