I updated my ExecStart parameter in /lib/systemd/system/ghost_blog-justinmallone-com.service
to the current version of node installed, which is a supported version (16.13.0).
I also changed the client
field in config.production.json
to mysql
(from mysql2
). Found some discussion of that issue here and here.
ghost doctor
now passes its checks without any errors. however, ghost start
stalls. I ran ghost start -V
and got the following output
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
MySQL: running query > SELECT @@version AS version
+ sudo systemctl is-active ghost_blog-justinmallone-com
? Sudo Password [hidden]
? Sudo Password [hidden]
+ sudo systemctl reset-failed ghost_blog-justinmallone-com
[19:43:20] Checking system Node.js version [started]
[19:43:20] Checking system Node.js version - found v16.13.0 [title changed]
[19:43:20] Checking system Node.js version - found v16.13.0 [completed]
[19:43:20] Ensuring user is not logged in as ghost user [started]
[19:43:20] Ensuring user is not logged in as ghost user [completed]
[19:43:20] Checking if logged in user is directory owner [started]
[19:43:20] Checking if logged in user is directory owner [completed]
[19:43:20] Checking current folder permissions [started]
[19:43:20] Checking current folder permissions [completed]
[19:43:20] Validating config [started]
+ sudo systemctl is-active ghost_blog-justinmallone-com
[19:43:20] Validating config [completed]
[19:43:20] Checking folder permissions [started]
[19:43:21] Checking folder permissions [completed]
[19:43:21] Checking file permissions [started]
[19:43:21] Checking file permissions [completed]
[19:43:21] Checking content folder ownership [started]
[19:43:21] Checking content folder ownership [completed]
[19:43:21] Checking memory availability [started]
[19:43:21] Checking memory availability [completed]
[19:43:21] Checking binary dependencies [started]
[19:43:21] Checking binary dependencies [completed]
[19:43:21] Checking systemd unit file [started]
[19:43:21] Checking systemd unit file [completed]
[19:43:21] Checking systemd node version [started]
[19:43:21] Checking systemd node version - found v16.13.0 [title changed]
[19:43:21] Checking systemd node version - found v16.13.0 [completed]
+ sudo systemctl start ghost_blog-justinmallone-com
☲ Starting Ghost: blog-justinmallone-com
when I ran ghost run
in a separate window, while still having ghost start
stalled in another window, ghost start
finally responded and gave the following remaining output
Received message from Ghost: {
started: true,
debug: {
versions: {
node: '16.13.0',
v8: '9.4.146.19-node.13',
uv: '1.42.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.17.2',
modules: '93',
nghttp2: '1.45.1',
napi: '8',
llhttp: '6.0.4',
openssl: '1.1.1l+quic',
cldr: '39.0',
icu: '69.1',
tz: '2021a',
unicode: '13.0',
ngtcp2: '0.1.0-DEV',
nghttp3: '0.1.0-DEV'
},
platform: 'linux',
arch: 'x64',
release: {
name: 'node',
lts: 'Gallium',
sourceUrl: 'https://nodejs.org/download/release/v16.13.0/node-v16.13.0.tar.gz',
headersUrl: 'https://nodejs.org/download/release/v16.13.0/node-v16.13.0-headers.tar.gz'
}
}
}
Received message from Ghost: {
ready: true,
debug: {
versions: {
node: '16.13.0',
v8: '9.4.146.19-node.13',
uv: '1.42.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.17.2',
modules: '93',
nghttp2: '1.45.1',
napi: '8',
llhttp: '6.0.4',
openssl: '1.1.1l+quic',
cldr: '39.0',
icu: '69.1',
tz: '2021a',
unicode: '13.0',
ngtcp2: '0.1.0-DEV',
nghttp3: '0.1.0-DEV'
},
platform: 'linux',
arch: 'x64',
release: {
name: 'node',
lts: 'Gallium',
sourceUrl: 'https://nodejs.org/download/release/v16.13.0/node-v16.13.0.tar.gz',
headersUrl: 'https://nodejs.org/download/release/v16.13.0/node-v16.13.0-headers.tar.gz'
}
}
}
+ sudo systemctl is-enabled ghost_blog-justinmallone-com
✔ Starting Ghost: blog-justinmallone-com