When I am trying updating Ghost from v1.x.x to the latest v2.19.3, a ProcessError occurred, giving following error logs.

+ sudo systemctl is-active ghost_io-airscr-com
A ProcessError occurred.

Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#'  systemctl is-active ghost_io-airscr-com


Exit code: 3

Debug Information:
    OS: linux, v3.10.0-693.11.1.el7.x86_64
    Node Version: v6.16.0
    Ghost-CLI Version: 1.9.9
    Environment: production
    Command: 'ghost update'


  1. Find service file by ls /lib/systemd/system/ghost_*
  2. Add following line in [Service] section
  3. restart service or restart server and ghost should be "unlocked"
  4. after you get it running remove added line from service file

Source: https://github.com/TryGhost/Ghost-CLI/issues/701#issuecomment-407959040