question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

I was trying to upgrade Ghost, and now my blog is down, I can’t ghost start here is my ghost doctor report Thanks for helping!

Issue Summary

After ghost update ghost start fail, now my blog is down. I want to fix this

Debug Information:

OS: Ubuntu, v16.04
Node Version: v6.14.1
Ghost-CLI Version: 1.7.1
Environment: production
Command: 'ghost doctor'

Steps to Reproduce

  1. run ghost doctor

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

0reactions
DpangDcommented, Jul 14, 2021

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.

Change ‘localhost’ to the IP you set. sudo systemctl start ghost_xxx-xxx-xxx-xxx

Read more comments on GitHub >

github_iconTop Results From Across the Web

S -p '#node-sudo-passwd#' systemctl is-active ghost_localhost ...
Problem. After ghost update , can't start ghost. Error Message. Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' ...
Read more >
Command failed when running ghost start - Stack Overflow
I ran it as sh -c systemctl is-active ghost_blog-dev originally which seems to produce a list of services such as cron, nginx, smbd,...
Read more >
sudo(8): execute command as another user - Linux man page
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
Read more >
centos 下面安装ghost - 凌渊阁 - CSDN博客
第一次是按照ghost官方文档的要求,自己准备了环境:. 遂即自己参考网上的安装教程,使用源码安装了nginx。mysql本来已经有了。
Read more >
Bash: sudo -S <<< "mypassword" - interactive shell issue
I know I can pass -y with apt but overall, this is frustrating. Also tried stuff like this, but it still fails to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found