SYSTEM INFORMATION | |
---|---|
OS type and version | Rocky Linux 9.1 |
Virtualmin version | 7.7 Pro |
I just realized that @Ilia —in a reply to an earlier related question—hinted at additional steps I should be taking when updating Ghost (installed via Virtualmin’s Install Scripts):
I originally expected that since the Ghost Install Script installs Node, that if I then clicked Upgrade for the Ghost Install Script (when updates are available), that it would also upgrade the underlying Node version and its dependencies if needed.
I’ve realized that this is not the case, and that I have outdated versions of Node on several of my older Ghost (5.26.3) installs (Node 16.19.0 instead of Node 18.15.0).
I was able to find my way to /home/domain/public_html/bin/node
so that I could check the Node version, but I’m not sure (this really feels like a newbie question!) how to update Node and its dependencies for a specific website installed with the Ghost Install Script.
I would love to know how to do this, since Node 16 is reaching its rather-early EOL soon!
One other somewhat related thing I noticed that it seems @Ilia might like to know: I decided to delete a couple of test Ghost websites I’d set up. Even though I planned to remove the entire Virtual Server, I first uninstalled the Ghost Script in the Install Scripts area, and then removed the entire Virtual Server.
Surprisingly, the service files get left behind (ghost-domain-port.service
). Even after a server reboot, these service files were still set up to start on boot (referring to ports now in use on more recently setup domains). Harmless I’m guessing, since they were failing (simply generating errors in the system log). I removed them manually.
Thank you kindly for your thoughts on how to keep my Ghost installs up-to-date, now that I realize upgrading via the Ghost Install Script doesn’t upgrade Node and its dependencies!