Install error - one ProcessError


#1
[blog@li1854-169 blog]$ ghost doc
✔ Checking system Node.js version
✔ Checking logged in user
✔ Ensuring user is not logged in as ghost user
The current user is not the owner of the Ghost directory. This might cause problems.
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
System checks failed with message: 'Linux version is not Ubuntu 16 or 18'
Some features of Ghost-CLI may not work without additional configuration.
For local installs we recommend using `ghost install local` instead.
? Continue anyway? Yes
ℹ Checking operating system compatibility [skipped]
Running sudo command: systemctl is-active ghost_blog-xuanhen-cc
✖ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking memory availability
One or more errors occurred.

1) ProcessError

Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#'  systemctl is-active ghost_blog-xuanhen-cc

unknown

Exit code: 3


Debug Information:
    OS: linux, v3.10.0-862.11.6.el7.x86_64 (Centos 7.4)
    Node Version: v8.11.4
    Ghost-CLI Version: 1.9.2
    Environment: production
    Command: 'ghost doc'
Debug Information:
    OS: linux, v3.10.0-862.11.6.el7.x86_64 (Centos 7.4)
    Node Version: v8.11.4
    Ghost-CLI Version: 1.9.2
    Environment: production
    Command: 'ghost doc'
Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#'  systemctl is-active ghost_blog-xuanhen-cc

unknown

Exit code: 3

--------------- stdout ---------------
unknown

The search results did not solve my problem
and https://docs.ghost.org/v1/docs/troubleshooting#section-cli-errors

[blog@li1854-169 blog]$ sudo systemctl is-active ghost_blog-xuanhen-cc
unknown
[blog@li1854-169 blog]$ systemctl start ghost_blog-xuanhen-cc
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ===
Failed to start ghost_blog-xuanhen-cc.service: Unit not found.

#2

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