Hi there! When trying to install Ghost, it failed. The log file tells me:
[2025-08-11 20:16:07,077] INFO: Started installation of Ghost app go
[2025-08-11 20:16:07,127] INFO: b'{"id":"7c853770-68a2-4c52-824c-099fb48638c4","state":"PENDING_START","ready":false,"name":"go","server":"2ce14745-0760-406e-bcfe-b1b0fc585924","osuser":"cdb713c0-5f56-4917-92ae-b419cc560f83","type":"CUS","port":18669,"installer_url":"https://raw.githubusercontent.com/opalstack/installers/master/core/ghost/install.py","json":{"gzip":true,"expires":"off"},"osuser_name”:”xxxxxxxx”}’
[2025-08-11 20:16:07,130] INFO: Running: mkdir -p /home/xxxxxxxx/apps/go/node
[2025-08-11 20:16:07,136] INFO: Running: scl enable devtoolset-11 nodejs18 -- npm install ghost-cli@latest --prefix=/home/xxxxxxxx/apps/go/node/
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
npm notice To update run: npm install -g npm@11.5.2
npm notice
[2025-08-11 20:16:42,119] INFO: Running: ln -s node_modules/.bin bin
[2025-08-11 20:16:42,125] INFO: Running: mkdir /home/xxxxxxxx/apps/go/ghost
[2025-08-11 20:16:42,131] INFO: Running: scl enable devtoolset-11 nodejs18 -- /home/xxxxxxxx/apps/go/node/bin/ghost install local --port 18669 --log file --no-start --db sqlite3
Message: Ghost v6.0.1 is not compatible with the current Node version. Your node version is 18.20.8, but Ghost v6.0.1 requires ^22.13.1
Traceback (most recent call last):
File "/home/xxxxxxxx/.ossrc/7c853770-68a2-4c52-824c-099fb48638c4", line 274, in <module>
main()
File "/home/xxxxxxxx/.ossrc/7c853770-68a2-4c52-824c-099fb48638c4", line 165, in main
doit = run_command(cmd, cwd=f'{appdir}/ghost')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxxxxx/.ossrc/7c853770-68a2-4c52-824c-099fb48638c4", line 109, in run_command
return result
^^^^^^
UnboundLocalError: cannot access local variable 'result' where it is not associated with a value