Hi!
I’m trying to follow the steps by @scottfsmith. I manage to get rsync done. It is not important to me to get the most recent changes via rsync since I’m just testing a new Linux version with my existing site to see if all my plugins work. So I’m not doing the second run of rsync. Then trying to do ./launcher rebuild app
produces errors.
2022-12-13 14:43:01.974 UTC [59] LOG: database system was interrupted; last known up at 2022-12-13 10:23:29 UTC
2022-12-13 14:43:02.075 UTC [59] LOG: invalid primary checkpoint record
2022-12-13 14:43:02.075 UTC [59] PANIC: could not locate a valid checkpoint record
2022-12-13 14:43:03.137 UTC [56] LOG: startup process (PID 59) was terminated by signal 6: Aborted
2022-12-13 14:43:03.137 UTC [56] LOG: aborting startup due to startup process failure
2022-12-13 14:43:03.231 UTC [56] LOG: database system is shut down
I, [2022-12-13T14:43:06.699692 #1] INFO -- :
I, [2022-12-13T14:43:06.711862 #1] INFO -- : > su postgres -c 'createdb discourse' || true
createdb: error: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2022-12-13T14:43:06.917008 #1] INFO -- :
I, [2022-12-13T14:43:06.917421 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2022-12-13T14:43:07.007654 #1] INFO -- :
I, [2022-12-13T14:43:07.008155 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2022-12-13T14:43:07.087098 #1] INFO -- :
I, [2022-12-13T14:43:07.087319 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I, [2022-12-13T14:43:07.167221 #1] INFO -- :
I, [2022-12-13T14:43:07.168041 #1] INFO -- : Terminating async processes
I can’t make enough out of this to find a solution. Some search suggest the container needs to be stopped but it’s not started. Any ideas?
Thanks
David