شكراً على ردك يا جاي
لقد بحثت عن سطر الخطأ في السجل بأكمله، ربما يكون سببه
2023-06-08 01:19:04.972 UTC [55] postgres@template1 ERROR: database "discourse" already exists
2023-06-08 01:19:04.972 UTC [55] postgres@template1 STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2023-06-08T01:19:04.977485 #1] INFO -- :
I, [2023-06-08T01:19:04.978414 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-06-08 01:19:05.654 UTC [59] postgres@discourse ERROR: role "discourse" already exists
2023-06-08 01:19:05.654 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
هذه أول عملية تثبيت لي على الخادم، لكنني قمت بإعادة بناء التطبيق عدة مرات بسبب فشل في أخطاء أخرى مثل يمكن لخادمي الوصول إلى github، لكن docker لا يمكنه ذلك - #2 بواسطة whitewaterdeu
لا أعرف متى قمت بإنشاء قاعدة البيانات وكيفية إصلاحها