أهلاً!
أحاول اتباع الخطوات التي وضعها @scottfsmith. لقد تمكنت من إنجاز عملية rsync. لا يهمني الحصول على أحدث التغييرات عبر rsync لأنني فقط أختبر إصدارًا جديدًا من لينكس مع موقعي الحالي لمعرفة ما إذا كانت جميع إضافاتي تعمل. لذلك، لن أقوم بتشغيل rsync للمرة الثانية. ثم يؤدي تشغيل ./launcher rebuild app إلى ظهور أخطاء.
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
لا أستطيع فهم الكثير من هذا للعثور على حل. تشير بعض عمليات البحث إلى أن الحاوية تحتاج إلى الإيقاف ولكنها لم تبدأ بعد. أي أفكار؟
شكراً
ديفيد