-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EACCES: permission denied, open '/var/www/ghost/config.production.json' when upgrading from #8956
Comments
Hey @0xvext 👋 Sorry to hear that you're having trouble. As this is more likely to be an issue with Ghost-CLI, would you mind re-opening it there? |
P.S. the docs live at docs.ghost.org - there's a Knowledge Base that details file structure and perms, and a troubleshooting guide that mentions this problem - where did you look / search that didn't help you find them? |
Looks like my google-fu was weak. I've got some additional homework to do. Thanks for the quick responses. |
Looks like it was a permissions issue. No idea how perms got modified on config.production.json, but they were set to rw-rw---- which was preventing access. Thanks again for the help. P.S. @ErisDS Great documentation setup. I was searching via Google since I am not used to projects having such effective internal search. The Ghost knowledge base has a really good one though. |
I have the same issue but permissions are correct.
|
@mike-code if you need support with any installation problems please use our forum. Thanks! |
Was running stably with Ghost 1.6.2, or so I thought.
Node Version: v6.11.2
Ghost-CLI Version: 1.1.1
Took a system snapshot, tried upgrading to 1.8.0 and failed with error below:
I've reviewed #378 and #281 but have been unable to resolve.
I think there may have been some instability on the system prior that I was unaware of, because I have restored my snapshot and the service will not run even back on 1.6.2. Service log shows a failure on access of the same json file.
I'm having trouble finding documentation to confirm who the owner of '/var/www/ghost/config.production.json should be, but I'm not sure if that is the root issue since I have tried running via sudo and I even tried chown of '/var/www/ghost/config.production.json to ghost:ghost just to see if it would correct the issue.
Apologies if I'm duplicating. Looked through active/closed and didn't find a resolution.
The text was updated successfully, but these errors were encountered: