SonarSoftwareInc / customer_portal

A prebuilt customer portal for Sonar.
https://sonar.software
25 stars 51 forks source link

If your portal is no longer functioning, read this for a potential fix #163

Closed geneccx closed 11 months ago

geneccx commented 11 months ago

Since we've upgraded the base image, there are a few situations where it might still not work even if you've upgraded your OS.

We can identify if this is due to an outdated docker version by running the following:

docker version
docker logs sonar-customerportal

Please ensure that your docker version is relatively new. The latest version as of writing is 24.0.2:

~ ❯ docker version
  Version:          24.0.2
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       659604f

If it shows this error:

[2023-07-26T23:49:16.180384] WARNING: The internal_queue_length stat counter has been renamed to internal_source.queued. The old name will be removed in future versions; config-version='3.25'
[2023-07-26T23:49:16.181036] file ../../../glib/gthread-posix.c: line 1339 (g_system_thread_new): error 'Operation not permitted' during 'pthread_create'
/etc/my_init.d/10_syslog-ng.init: line 32:    13 Trace/breakpoint trap   (core dumped) /usr/sbin/syslog-ng --pidfile "$PIDFILE" -F $SYSLOGNG_OPT

Then you will need to upgrade docker to the latest version by running

apt install docker-ce
service docker restart

If the issue is still not resolved, please reach out to our support team at support@sonar.software.