Ghost 4.6.6 - Ghost Start loop

I’m taking @Hannah 's advice that I saw buried deep down in a topic and am starting a different thread for my problem. I’ve run out of ideas, any direction would be helpful. I updated from Ghost 3.X to the latest version and it appears to be in a loop, from ghost log:

2021-06-08 10:47:55] INFO Ctrl+C to shut down
[2021-06-08 10:47:55] INFO Ghost server started in 0.584s
[2021-06-08 10:47:56] INFO Database is in a ready state.
[2021-06-08 10:47:56] INFO Ghost database ready in 0.847s
[2021-06-08 10:47:58] INFO Ghost booted in 3.523s
[2021-06-08 10:47:59] WARN Ghost is shutting down
[2021-06-08 10:47:59] WARN Ghost has shut down
[2021-06-08 10:47:59] WARN Your site is now offline
[2021-06-08 10:47:59] WARN Ghost was running for a few seconds
[2021-06-08 10:48:01] INFO Ghost is running in production…
[2021-06-08 10:48:01] INFO Your site is now available on http://www.firehole.us/
[2021-06-08 10:48:01] INFO Ctrl+C to shut down
[2021-06-08 10:48:01] INFO Ghost server started in 0.645s
[2021-06-08 10:48:01] INFO Database is in a ready state.
[2021-06-08 10:48:01] INFO Ghost database ready in 0.927s
[2021-06-08 10:48:04] INFO Ghost booted in 3.936s
[2021-06-08 10:48:05] WARN Ghost is shutting down
[2021-06-08 10:48:05] WARN Ghost has shut down
[2021-06-08 10:48:05] WARN Your site is now offline
[2021-06-08 10:48:05] WARN Ghost was running for a few seconds

I validated that I have node 14.16.1 in /usr/bin:

ljhardy@firehole:/usr/bin$ ./node -v
v14.16.1

…and NOT in /usr/local/bin:

ljhardy@firehole:/usr/local/bin$ ./node -v
-bash: ./node: No such file or directory

This is the output from ghost doctor:

ljhardy@firehole:~/www/firehole.us$ ghost doctor
:heavy_check_mark: Checking system Node.js version - found v14.16.1
:heavy_check_mark: Checking logged in user
:heavy_check_mark: Ensuring user is not logged in as ghost user
:heavy_check_mark: Checking if logged in user is directory owner
:heavy_check_mark: Checking current folder permissions
:heavy_check_mark: Checking system compatibility
:heavy_check_mark: Checking for a MySQL installation

  • sudo systemctl is-active ghost_www-firehole-us
    Instance is currently running
    :information_source: Validating config [skipped]
    :heavy_check_mark: Checking folder permissions
    :heavy_check_mark: Checking file permissions
    :heavy_check_mark: Checking content folder ownership
    :heavy_check_mark: Checking memory availability
    :heavy_check_mark: Checking binary dependencies
    :heavy_check_mark: Checking free space
    :heavy_check_mark: Checking systemd unit file
    :heavy_check_mark: Checking systemd node version - found v14.16.1
    ljhardy@firehole:~/www/firehole.us$

…and this is my systemd file:

[Unit]
Description=Ghost systemd service for blog: www-firehole-us
Documentation=https://docs.ghost.org

[Service]
Type=simple
WorkingDirectory=/home/ljhardy/public_html/firehole.us
User=999
Environment=“NODE_ENV=production”
ExecStart=/usr/bin/node /usr/bin/ghost run
Restart=always

[Install]
WantedBy=multi-user.targe

Hmm. I’ve been working on this on and off for a few days, this is what I just did and it appears to have solved my issue:

upgrade ghost-cli to the latest ( I think it was already at the latest )

npm install -g ghost-cli@latest

Upgrade ghost to latest (4.70)

ghost update --force

MAGIC. Looping stopped, blog up and working. :wink: