# Ghost 4.45 - Could not communicate with ghost

**URL:** <https://forum.ghost.org/t/ghost-4-45-could-not-communicate-with-ghost/29737>\
**Category:** Installation\
**Created:** [April 23, 2022, 10:22pm UTC](https://forum.ghost.org/t/ghost-4-45-could-not-communicate-with-ghost/29737 "2022-04-23T22:22:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![contacStuffzs](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/contacstuffzs/32/15978_2.png) [@contacStuffzs](https://forum.ghost.org/u/contacStuffzs)\
**Post date:** [April 23, 2022, 10:22pm UTC](https://forum.ghost.org/t/ghost-4-45-could-not-communicate-with-ghost/29737/1 "2022-04-23T22:22:33Z")

</div>

Hi, i followed the standard installation guide from here:

> **[How To Install Ghost On Ubuntu - Ghost Developer Docs](https://docs.ghost.org/install/ubuntu)**
>
> A full guide for installing, configuring and running Ghost on your Ubuntu \*\*22.04\*\* or \*\*24.04\*\* server, for use in production

It won’t start up!!

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

- What’s your URL? This is the easiest way for others to debug your issue  
[https://blog.bernsteiner.net](https://blog.bernsteiner.net)

- What version of Ghost are you using?  
latest (4.45.0)

- 
## What configuration?
- 
## What browser?
- What errors or information do you see in the console?  
Debug Information:  
OS: Ubuntu, v20.04.4 LTS  
Node Version: v14.19.1  
Ghost Version: 4.45.0  
Ghost-CLI Version: 1.19.3  
Environment: production  
Command: ‘ghost start’  
Message: Could not communicate with Ghost  
Suggestion: journalctl -u ghost\_blog-bernsteiner-net -n 50  
Stack: Error: Could not communicate with Ghost  
at Server. (/usr/lib/node\_modules/ghost-cli/lib/utils/port-polling.js:91:20)  
at Object.onceWrapper (events.js:519:28)  
at Server.emit (events.js:400:28)  
at emitCloseNT (net.js:1677:8)  
at processTicksAndRejections (internal/process/task\_queues.js:81:21)

- What steps could someone else take to reproduce the issue you’re having?  
actual installation of ghost 4.45

Output of ghost doctor:

**ghostrun@lnxsrv01** : **/var/www/blog** $ ghost doctor

Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.  
[https://careers.ghost.org/product-engineer-node-js](https://careers.ghost.org/product-engineer-node-js)  
✔ Checking system Node.js version - found v14.19.1  
✔ Checking logged in user  
✔ Ensuring user is not logged in as ghost user  
✔ Checking if logged in user is directory owner  
✔ Checking current folder permissions  
✔ Checking system compatibility  
✔ Checking for a MySQL installation

- sudo systemctl is-active ghost\_blog-bernsteiner-net  
? **Sudo Password** _[hidden]_  
✔ Validating config  
✔ Checking folder permissions  
✔ Checking file permissions  
✔ Checking content folder ownership  
✔ Checking memory availability  
✔ Checking binary dependencies  
✔ Checking free space  
✔ Checking systemd unit file  
✔ Checking systemd node version - found v14.19.1

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [April 24, 2022, 9:16am UTC](https://forum.ghost.org/t/ghost-4-45-could-not-communicate-with-ghost/29737/2 "2022-04-24T09:16:15Z")

</div>

Have you run the suggested command `journalctl -u ghost_blog-bernsteiner-net -n 50` ?

Also, what versions of `node` and `nodejs` are you running?

---

<div class="post-metadata">

**Author:** ![contacStuffzs](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/contacstuffzs/32/15978_2.png) [@contacStuffzs](https://forum.ghost.org/u/contacStuffzs)\
**Post date:** [April 24, 2022, 1:53pm UTC](https://forum.ghost.org/t/ghost-4-45-could-not-communicate-with-ghost/29737/3 "2022-04-24T13:53:23Z")

</div>

Hi, i run the suggested command:

ghostrun@lnxsrv01:/var/www/blog$ journalctl -u ghost\_blog-bernsteiner-net -n 50  
Hint: You are currently not seeing messages from other users and the system.  
Users in groups ‘adm’, ‘systemd-journal’ can see all messages.  
Pass -q to turn off this notice.  
– Logs begin at Thu 2022-04-21 18:55:53 UTC, end at Sat 2022-04-23 10:55:12 UTC. –  
Apr 23 07:46:42 lnxsrv01 node[10326]: message: ‘Ghost was able to start, but errored during boot with: Migration lock was never released or currently a migration is running.’  
Apr 23 07:46:42 lnxsrv01 node[10326]: }  
Apr 23 07:58:24 lnxsrv01 node[11298]: - Inspecting operating system  
Apr 23 07:58:24 lnxsrv01 node[11298]: Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.  
Apr 23 07:58:24 lnxsrv01 node[11298]: [https://careers.ghost.org/product-engineer-node-js](https://careers.ghost.org/product-engineer-node-js)  
Apr 23 07:58:26 lnxsrv01 node[11338]: [2022-04-23 07:58:26] INFO Ghost is running in production…  
Apr 23 07:58:26 lnxsrv01 node[11338]: [2022-04-23 07:58:26] INFO Your site is now available on [https://blog.bernsteiner.net/](https://blog.bernsteiner.net/)  
Apr 23 07:58:26 lnxsrv01 node[11338]: [2022-04-23 07:58:26] INFO Ctrl+C to shut down  
Apr 23 07:58:26 lnxsrv01 node[11338]: [2022-04-23 07:58:26] INFO Ghost server started in 1.978s  
Apr 23 07:58:27 lnxsrv01 node[11338]: [2022-04-23 07:58:27] INFO Bootstrap client was closed.  
Apr 23 07:58:27 lnxsrv01 node[11338]: [2022-04-23 07:58:27] INFO Database is in a ready state.  
Apr 23 07:58:27 lnxsrv01 node[11338]: [2022-04-23 07:58:27] INFO Ghost database ready in 2.778s  
Apr 23 07:58:33 lnxsrv01 node[11338]: [2022-04-23 07:58:33] INFO Stripe not configured - skipping migrations  
Apr 23 07:58:33 lnxsrv01 node[11338]: [2022-04-23 07:58:33] INFO Ghost URL Service Ready in 8.613s  
Apr 23 07:58:33 lnxsrv01 node[11338]: [2022-04-23 07:58:33] INFO Ghost booted in 8.746s  
Apr 23 07:58:33 lnxsrv01 node[11338]: [2022-04-23 07:58:33] INFO Adding offloaded job to the  
Queue  
Apr 23 07:58:33 lnxsrv01 node[11338]: [2022-04-23 07:58:33] INFO Scheduling job update-check at 27 33 16 \* \* \*. Next run on: Sat Apr 23 2022 16:33:27 GMT+0000 (Coordinated Universal Time)  
Apr 23 07:58:33 lnxsrv01 node[11338]: [2022-04-23 07:58:33] INFO Bootstrap client was closed.  
Apr 23 10:53:15 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Ghost is shutting down  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Ghost is shutting down  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Ghost has shut down  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Your site is now offline  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Ghost was running for 3 hours  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Ghost has shut down  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Your site is now offline  
Apr 23 10:53:16 lnxsrv01 node[11338]: [2022-04-23 10:53:15] WARN Ghost was running for 3 hours  
Apr 23 10:53:50 lnxsrv01 node[11628]: - Inspecting operating system  
Apr 23 10:53:50 lnxsrv01 node[11628]: Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.  
Apr 23 10:53:50 lnxsrv01 node[11628]: [https://careers.ghost.org/product-engineer-node-js](https://careers.ghost.org/product-engineer-node-js)  
Apr 23 10:53:52 lnxsrv01 node[11666]: [2022-04-23 10:53:52] INFO Ghost is running in production…  
Apr 23 10:53:52 lnxsrv01 node[11666]: [2022-04-23 10:53:52] INFO Your site is now available on [http://blog.bernsteiner.net/](http://blog.bernsteiner.net/)  
Apr 23 10:53:52 lnxsrv01 node[11666]: [2022-04-23 10:53:52] INFO Ctrl+C to shut down  
Apr 23 10:53:52 lnxsrv01 node[11666]: [2022-04-23 10:53:52] INFO Ghost server started in 1.925s  
Apr 23 10:53:53 lnxsrv01 node[11666]: [2022-04-23 10:53:53] INFO Bootstrap client was closed.  
Apr 23 10:53:53 lnxsrv01 node[11666]: [2022-04-23 10:53:53] INFO Database is in a ready state.  
Apr 23 10:53:53 lnxsrv01 node[11666]: [2022-04-23 10:53:53] INFO Ghost database ready in 2.723s  
Apr 23 10:53:59 lnxsrv01 node[11666]: [2022-04-23 10:53:59] INFO Stripe not configured - skipping migrations  
Apr 23 10:53:59 lnxsrv01 node[11666]: [2022-04-23 10:53:59] INFO Ghost URL Service Ready in 8.639s  
Apr 23 10:53:59 lnxsrv01 node[11666]: [2022-04-23 10:53:59] INFO Ghost booted in 8.776s  
Apr 23 10:53:59 lnxsrv01 node[11666]: [2022-04-23 10:53:59] INFO Adding offloaded job to the queue  
Apr 23 10:53:59 lnxsrv01 node[11666]: [2022-04-23 10:53:59] INFO Scheduling job update-check at 30 25 19 \* \* \*. Next run on: Sat Apr 23 2022 19:25:30 GMT+0000 (Coordinated Universal Time)  
Apr 23 10:53:59 lnxsrv01 node[11666]: [2022-04-23 10:53:59] INFO Bootstrap client was closed.  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Ghost is shutting down  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Ghost is shutting down  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Ghost has shut down  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Your site is now offline  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Ghost was running for a minute  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Ghost has shut down  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Your site is now offline  
Apr 23 10:55:12 lnxsrv01 node[11666]: [2022-04-23 10:55:12] WARN Ghost was running for a minute

Regards Node Version:  
**ghostrun@lnxsrv01** : **/var/www/blog** $ node -v  
**v14.19.1**  
**ghostrun@lnxsrv01** : **/var/www/blog** $

Just for you Info - the same behavior i have had with Node Version 16.13.0 and 16.14.x

Thanks!  
Best regards  
Martin

---

<div class="post-metadata">

**Author:** ![contacStuffzs](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/contacstuffzs/32/15978_2.png) [@contacStuffzs](https://forum.ghost.org/u/contacStuffzs)\
**Post date:** [April 24, 2022, 1:54pm UTC](https://forum.ghost.org/t/ghost-4-45-could-not-communicate-with-ghost/29737/4 "2022-04-24T13:54:20Z")

</div>

Just to add another comment - the migration issue i solved with update the table migrations\_lock within mysql…
