Ghost start throws error


#1

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.


#2

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!


#3

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)


#4

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.


#5

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

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