502 errors after upgrading to Ghost 4

This is the output of sudo systemcl status ghost_service :

● ghost.service - Ghost systemd service for blog: .
   Loaded: loaded (/var/www/ghost/system/files/ghost.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2021-03-19 22:44:25 UTC; 4min 23s ago
     Docs: https://docs.ghost.org
  Process: 14582 ExecStart=/usr/bin/node /usr/local/bin/ghost run (code=exited, status=1/FAILURE)
 Main PID: 14582 (code=exited, status=1/FAILURE)

Mar 19 22:44:24 my_machine node[14582]: [2021-03-19 22:44:24] WARN Ghost has shut down
Mar 19 22:44:24 my_machine node[14582]: [2021-03-19 22:44:24] WARN Your site is now offline
Mar 19 22:44:24 my_machine node[14582]: [2021-03-19 22:44:24] WARN Ghost was running for a few seconds
Mar 19 22:44:25 my_machine node[14582]: /usr/local/lib/node_modules/ghost-cli/lib/process-manager.js:52
Mar 19 22:44:25 my_machine node[14582]:         throw error;
Mar 19 22:44:25 my_machine node[14582]:         ^
Mar 19 22:44:25 my_machine node[14582]: { message: undefined }
Mar 19 22:44:25 my_machine systemd[1]: ghost.service: Main process exited, code=exited, status=1/FAILURE
Mar 19 22:44:25 my_machine systemd[1]: ghost.service: Failed with result 'exit-code'.
Mar 19 22:44:25 my_machine systemd[1]: Stopped Ghost systemd service for blog: .

I found this similar issue on GitHub, but I don’t even have nvm installed.