I’ve tried both :lts and :latest versions, after startup the container runs for maybe 10-15 minutes at a time but then always shutdown and restarts. I’ve looked at the system and console logs, it seems like the system log determines the container is unhealthy and then probably shuts it down, as I don’t see any other indication of failure in the console logs.
Example system log message:
{"TimeStamp":"2023-06-06 05:45:10 \u002B0000 UTC","Type":"Warning","ContainerAppName":"sonarqube","RevisionName":"sonarqube--7bpn3dm","ReplicaName":"sonarqube--7bpn3dm-66dbf5db55-4j9mq","Msg":"startup probe failed: connection refused","Reason":"ReplicaUnhealthy","EventSource":"ContainerAppController","Count":9}
Not too long after this I then see in the console log:
2023-06-06T05:50:31.920325432Z 2023.06.06 05:50:31 INFO app[][o.s.a.SchedulerImpl] Sonarqube has been requested to stop
2023-06-06T05:50:31.921167244Z 2023.06.06 05:50:31 INFO app[][o.s.a.SchedulerImpl] Stopping [Compute Engine] process...
2023-06-06T05:50:31.976497871Z 2023.06.06 05:50:31 INFO ce[][o.s.p.ProcessEntryPoint] Gracefully stopping process
2023-06-06T05:50:31.980005123Z 2023.06.06 05:50:31 INFO ce[][o.s.ce.app.CeServer] Compute Engine is stopping...
etc etc until ..
2023-06-06T05:50:33.000013455Z 2023.06.06 05:50:32 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
So I’m curious if anyone else has this working and has configuration and/or troubleshooting steps that would not have it shut down like this. Strangely I don’ have any health checks enabled for the App Container, but it seems like some are still running.