Ghost nie chce się uruchomić z powodu braku uprawnień dla pliku konfiguracyjnego

Zombie
anon40709621
anon40709621

Tak jak w temacie, przy próbie uruchomienia

  • sudo systemctl is-active ghost_wojtekm-me ✔ Ensuring user is not logged in as ghost user ✔ Checking if logged in user is directory owner ✔ Checking current folder permissions
  • sudo systemctl is-active ghost_wojtekm-me ✔ Validating config ✔ Checking folder permissions ✔ Checking file permissions ✔ Checking content folder ownership ✔ Checking memory availability ✖ Starting Ghost A ProcessError occurred.

Message: EACCES: permission denied, open '/var/www/ghost/config.production.json' Exit code: EACCES

Próbowałem zmienić uprawnienia na inne, ale też nie chce działać.

Ghost prosi o sprawdzenie przy pomocy komendy ghost doctor

✔ Checking system Node.js version ✔ Checking logged in user ✔ Ensuring user is not logged in as ghost user ✔ Checking if logged in user is directory owner ✔ Checking current folder permissions ✔ Checking operating system compatibility ✔ Checking for a MySQL installation

  • sudo systemctl is-active ghost_wojtekm-me ✔ Validating config ✔ Checking folder permissions ✔ Checking file permissions ✔ Checking content folder ownership ✔ Checking memory availability

Ktoś wie, jak to naprawić? :thinking:

anon40709621
anon40709621

Nie wiem, co się stało, ale chwilowo zlagowało maszynę, więc postanowiłem ją zrestartować i po restarcie automatycznie ghost się poprawnie uruchomił. :) image|690x73

system
system

Ten temat został automatycznie zamknięty 32 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.