Docker and Postgres refuse to start
-
@girish so it has happened again
Not aware of any cause - no intervention or fiddling done.
I just rebooted the box when prompted in the dashboard
Although I suspect it was failing before this
postgres service does not start
Cloudron dashboard for services shows orange dot
Logs show :Nov 20 09:15:35 Resetting root password Nov 20 09:15:57 Detected existing installation Nov 20 09:15:59 Debug mode. Sleeping Nov 20 09:16:16 Debug mode. Sleeping Nov 20 09:16:54 Debug mode. Sleeping Nov 20 09:19:24 Debug mode. Sleeping Nov 20 09:28:39 Debug mode. Sleeping Nov 20 09:30:36 Debug mode. Sleeping
Tried rebooting the box
As postgres is such a core service, I am reluctant to fiddle.
What would be the recommended steps to solve this ?EDIT : I did try to start piostgres via command line :
root@Ubuntu-2004-focal-64-minimal ~ # sudo service postgresql start Failed to start postgresql.service: Unit postgresql.service not found.
-
@timconsidine from the logs, do you have recovery mode simply enabled for your postgres service? Click on the edit icon for postgres in the services view in your Cloudron dashboard to see that checkbox.
-
@timconsidine said in Docker and Postgres refuse to start:
EDIT : recovery mode currently unticked, does not start
Do you see the same logs as before?
Debug mode. Sleeping
is printed when the service is in recovery mode. -
-
@timconsidine postgresql is in a docker container.
docker inspect postgresql
for example should work. I am not sure why it's stuck, can you drop a note to support@cloudron.io ?