-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Failed to get unit file state for ghost_<url>.service #293
Comments
What i did to get rid of the error:
|
It worked for me without the first command |
closes TryGhost#293 - reload systemd daemon on template generation to persist any file changes
closes TryGhost#293 - reload systemd daemon on template generation to persist any file changes
closes #293 - reload systemd daemon on template generation to persist any file changes
I am running into this again:
The error is thrown directly from the CLI and that's why Ghost doesn't really start.
From here: https://github.com/TryGhost/Ghost-CLI/blob/master/extensions/systemd/systemd.js#L36 But the file exists:
SEE I've changed https://github.com/TryGhost/Ghost-CLI/blob/master/extensions/systemd/systemd.js#L36 to only check if the file exists, then it worked. But this obviously not a replacement for the |
I figured out what this was. Will submit a fix soon. |
closes TryGhost#293 - expands error message regex to also check for failed unit file state
closes #293 - expands error message regex to also check for failed unit file state
I uninstalled all existing installations and started new again with the following settings:
Trying to start Ghost within the setup process prompted first in the warning to run
ghost setup systemd
. After doing so, trying to start Ghost again results in this error:The text was updated successfully, but these errors were encountered: