503 / dynamic routing error after trying to update

Hi,
I tried updating my selfhosted version of ghost but since then I get a 503 error, aswell as the following information in the terminal.

Setup information

Ghost Version
5.55 (before 5.46)
Ghost CLI: 1.24.0

Node.js Version
16.20.0

Provide details of your host & operating system
Ubuntu

Database type
MySQL 8

Relevant log / error output

NAME: InternalServerError
CODE: MODULE_NOT_FOUND
MESSAGE: Cannot find module ‘@tryghost/dynamic-routing-events’
Require stack:

  • /home/filmkrit/ghost/versions/5.55.0/core/server/services/url/Resources.js
  • /home/filmkrit/ghost/versions/5.55.0/core/server/services/url/UrlService.js
  • /home/filmkrit/ghost/versions/5.55.0/core/server/services/url/index.js
  • /home/filmkrit/ghost/versions/5.55.0/core/app.js
  • /home/filmkrit/ghost/versions/5.55.0/core/boot.js
  • /home/filmkrit/ghost/versions/5.55.0/ghost.js
  • /home/filmkrit/ghost/versions/5.55.0/index.js

level: critical

Error: Cannot find module ‘@tryghost/dynamic-routing-events’
Require stack:
Require stack:

  • /home/filmkrit/ghost/versions/5.55.0/core/server/services/url/Resources.js
  • /home/filmkrit/ghost/versions/5.55.0/core/server/services/url/UrlService.js
  • /home/filmkrit/ghost/versions/5.55.0/core/server/services/url/index.js
  • /home/filmkrit/ghost/versions/5.55.0/core/app.js
  • /home/filmkrit/ghost/versions/5.55.0/core/boot.js
  • /home/filmkrit/ghost/versions/5.55.0/ghost.js
  • /home/filmkrit/ghost/versions/5.55.0/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
    at Function.Module._load (node:internal/modules/cjs/loader:871:27)
    at Module.require (node:internal/modules/cjs/loader:1098:19)
    at require (node:internal/modules/cjs/helpers:108:18)
    at Object. (/home/filmkrit/ghost/versions/5.55.0/core/server/services/url/Resources.js:4:35)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Object.Module._extensions…js (node:internal/modules/cjs/loader:1250:10)
    at Module.load (node:internal/modules/cjs/loader:1074:32)
    at Function.Module._load (node:internal/modules/cjs/loader:909:12)
    at Module.require (node:internal/modules/cjs/loader:1098:19)

Could you please add some information on your hosting environment? Is this the Digital Ocean one-click install, Docker image, installed with Ghost-CLI, etc?

Thanks!

it’s installed via the Ghost-CLi and managed through a cPanel configuration.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.