Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' systemctl is-active ghost_localhost
See original GitHub issueI 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
- run
ghost doctor
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Problem Fixed!
https://forum.ghost.org/t/fixed-problem-after-ghost-update-command-failed-bin-sh-c-sudo-s-p-node-sudo-passwd-systemctl-is-active-ghost-localhost/1102
Change ‘localhost’ to the IP you set.
sudo systemctl start ghost_xxx-xxx-xxx-xxx