Closed
Description
docker exec -it blog bash
su node -c "ghost update"
bring me some error
Running sudo command: systemctl is-active ghost_undefined
A ProcessError occurred.
Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' systemctl is-active ghost_undefined
/bin/sh: 1: sudo: not found
Exit code: 127
Debug Information:
OS: linux, v4.16.0-999-generic
Node Version: v8.11.4
Ghost-CLI Version: 1.9.1
Environment: production
Command: 'ghost update'
Additional log info available in: /home/node/.ghost/logs/ghost-cli-debug-2018-08-27T06_40_43_725Z.log
Try running ghost doctor to check your system for known issues.
Please refer to https://docs.ghost.org/v1/docs/troubleshooting#section-cli-errors for troubleshooting.