Error update from v5.8.3 to v5.9.0

Hi.

When I try to update ghost to v5.9.0, I get this error:


* ✨ Added native comments (#15223) - Simon Backx
* 🎨 Updated Casper to v5.3.0 - Sodbileg Gansukh

---

View the changelog for full details: https://github.com/tryghost/ghost/compare/v5.8.3...v5.9.0

🪄 Love open source? We're hiring [Node.js Engineers](https://careers.ghost.org/product-engineer-node-js) to work on Ghost full-time

✔ Fetched release notes
Version already installed.
ℹ Downloading and updating Ghost [skipped]
+ sudo systemctl stop ghost_www-futurenode-dk
✔ Stopping Ghost
✔ Linking latest Ghost and recording versions
+ sudo systemctl start ghost_www-futurenode-dk
+ sudo systemctl stop ghost_www-futurenode-dk
✖ Restarting Ghost
A GhostError occurred.

Message: Ghost was able to start, but errored during boot with: Cannot find module '@tryghost/mailgun-client'
Require stack:
- /var/www/ghost/versions/5.9.0/core/server/services/bulk-email/bulk-email-processor.js
- /var/www/ghost/versions/5.9.0/core/server/services/bulk-email/index.js
- /var/www/ghost/versions/5.9.0/core/server/services/mega/mega.js
- /var/www/ghost/versions/5.9.0/core/server/services/mega/index.js
- /var/www/ghost/versions/5.9.0/core/boot.js
- /var/www/ghost/versions/5.9.0/ghost.js
- /var/www/ghost/versions/5.9.0/index.js
Suggestion: journalctl -u ghost_www-futurenode-dk -n 50

Debug Information:
    OS: Ubuntu, v20.04.4 LTS
    Node Version: v16.16.0
    Ghost Version: 5.9.0
    Ghost-CLI Version: 1.22.0
    Environment: production
    Command: 'ghost update'

**Debug log:** 

ghost-mgr@layer7:/var/www/ghost$ cat /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2022-08-12T15_22_35_830Z.log
Debug Information:
OS: Ubuntu, v20.04.4 LTS
Node Version: v16.16.0
Ghost Version: 5.9.0
Ghost-CLI Version: 1.22.0
Environment: production
Command: ‘ghost update’
Message: Ghost was able to start, but errored during boot with: Cannot find module ‘@tryghost/mailgun-client’
Require stack:

  • /var/www/ghost/versions/5.9.0/core/server/services/bulk-email/bulk-email-processor.js
  • /var/www/ghost/versions/5.9.0/core/server/services/bulk-email/index.js
  • /var/www/ghost/versions/5.9.0/core/server/services/mega/mega.js
  • /var/www/ghost/versions/5.9.0/core/server/services/mega/index.js
  • /var/www/ghost/versions/5.9.0/core/boot.js
  • /var/www/ghost/versions/5.9.0/ghost.js
  • /var/www/ghost/versions/5.9.0/index.js
    Suggestion: journalctl -u ghost_www-futurenode-dk -n 50
    Stack: Error: Ghost was able to start, but errored during boot with: Cannot find module ‘@tryghost/mailgun-client’
    Require stack:
  • /var/www/ghost/versions/5.9.0/core/server/services/bulk-email/bulk-email-processor.js
  • /var/www/ghost/versions/5.9.0/core/server/services/bulk-email/index.js
  • /var/www/ghost/versions/5.9.0/core/server/services/mega/mega.js
  • /var/www/ghost/versions/5.9.0/core/server/services/mega/index.js
  • /var/www/ghost/versions/5.9.0/core/boot.js
  • /var/www/ghost/versions/5.9.0/ghost.js
  • /var/www/ghost/versions/5.9.0/index.js
    at Server. (/usr/lib/node_modules/ghost-cli/lib/utils/port-polling.js:73:28)
    at Object.onceWrapper (node:events:641:28)
    at Server.emit (node:events:527:28)
    at emitCloseNT (node:net:1728:8)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.

If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.

Regards

Thomas - https://www.futurenode.dk

Hey @Taxick - thanks for the report. A fix is coming shortly :slightly_smiling_face:

@Taxick Would you be able to try v5.9.1? :slightly_smiling_face: There was an issue during packaging and I think I’ve resolved it

Hi @daniellockyer

I can confirm the fix works :+1:

BTW. Are there any comments settings I can set in the ghost dashboard…

I yes, where?