Hi folks I’m running ghost on Bitnami through light sail. I am getting the following error running ghost:
An error occurred.
Message: ‘EACCES: permission denied, unlink ‘/opt/bitnami/ghost/.ghostpid’’
ls -l /opt/bitnami/ghost/.ghostpid
-rw-rwx— 1 bitnami bitnami 0 Nov 15 05:43 /opt/bitnami/ghost/.ghostpid
any help would be appreciated
Raki
November 15, 2024, 8:27pm
2
You need to check if the user running ghost process has access to the file.
Find the user running the ghost process:
ps aux | grep ghost | grep -v grep
Process isn’t running. I can’t start ghost because of a permission issue. Something is out of wack. Is there a guide for what permission needs to be what across the file hierarchy ?
Raki
November 15, 2024, 10:57pm
4
When you run the process, which user you are using? The user needs write access to the file.
bitnami. On AWS Lightsail that default user.