Ghost start throws error

ghost start returns the following error:

running sudo command: systemctl is-active ghost_localhost
A ProcessError occurred.

Message: Command failed: /bin/sh -c sudo -S -p ‘#node-sudo-passwd#’ systemctl is-active ghost_localhost

unknown

Exit code: 3

and

I get this error

Failed to issue method call: Unit ghost_localhost.service failed to load: No such file or directory. See system logs and 'systemctl status ghost_localhost.service' for details.

on calling

sudo systemctl start ghost_localhost

does anybody knows how to resolve this?

Thanks in advance.

Please read through https://docs.ghost.org/docs/troubleshooting#section-message-command-failed-bin-sh-c-sudo-s-p-node-sudo-passwd-systemctl-is-active-failed-exit-code-3. If it doesn’t help, let us know here. Thanks!

Hey @Kate
I tried this but I get this error

sudo systemctl status ghost_localhost
ghost_localhost.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)

sudo systemctl start ghost_localhost

still gives

Failed to issue method call: Unit ghost_localhost.service failed to load: No such file or directory. See system logs and ‘systemctl status ghost_localhost.service’ for details.

What is the output of ls -la system/files?

You can try running systemctl daemon-reload, maybe the symlinks are broken.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.