-
Notifications
You must be signed in to change notification settings - Fork 317
Error opening log in production mode #27
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
Comments
Same issue here |
Does this issue help? |
Tried adding paths to config.js like mentioned in #2 but still got error
|
Same issue here when I first switched from development to production. The trick that worked for me was to start the container in development with a persistent volume for /var/lib/ghost:
This will create
As well as configure my It's been over a year since this was brought up in Issue #2 and people are still having problems with it. Is this something that needs to be filed as a bug report with the ghost developers upstream? People try out the docker image, because they are looking for a drop in solution that works out of the box. It's frustrating to see an issue that's this easy to fix stick around for so long. At the very least, it should be mentioned in the Readme and the blurb on Docker Hub. I had to Google around for an hour or two before I came across the closed issue. |
Still having this problem. Trying to figure out what's causing this exactly, or what the preferred mode of mounting |
My 5 cents - #25 (comment) |
This issue doesn't affect me anymore (just decided to use jekyll for my single-user blog instead), but I'll leave this issue up since others have commented here :) |
This should be much simpler to get right with Ghost 1.x, especially since it can be configured via environment variables (although the out-of-the-box default configuration should be pretty decent for most users as well). 👍 See https://docs.ghost.org/v1.0.0/docs/config#section-running-ghost-with-config-env-variables for more details. |
If I set
NODE_ENV
to production in the container settings, I get this:The text was updated successfully, but these errors were encountered: