# Unix socket issue since v5 upgrade

**URL:** <https://forum.ghost.org/t/unix-socket-issue-since-v5-upgrade/30364>\
**Category:** Bugs\
**Created:** [May 25, 2022, 6:55pm UTC](https://forum.ghost.org/t/unix-socket-issue-since-v5-upgrade/30364 "2022-05-25T18:55:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuwest](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@stuwest](https://forum.ghost.org/u/stuwest)\
**Post date:** [May 25, 2022, 6:55pm UTC](https://forum.ghost.org/t/unix-socket-issue-since-v5-upgrade/30364/1 "2022-05-25T18:55:23Z")

</div>

**Issue Summary**  
Before upgrading my production site to v5, I’m trying to upgrade a low-traffic personal site. The upgrade seemed to complete successfully but now my site is inaccessible and I’m getting 502 Bad Gateway errors from nginx. There’s nothing in the Ghost error log and running `systemctl status` shows Ghost as ‘Active (running)’.

I have Ghost set to use a Unix socket in my config.production.json:

```auto
    "socket": {
      "path": "/tmp/ghost.sock",
      "permissions": "0666"
    }
  },

```

But there’s no ghost.sock in the /tmp directory. Do I have to change these settings in v5?

* * *

## Setup information

**Ghost Version**  
v5.0.1

**Node.js Version**  
v16.15.0

**How did you install Ghost?**  
DigitalOcean 1-click app, upgrade to v5 via ssh and `ghost upgrade`

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [May 25, 2022, 7:45pm UTC](https://forum.ghost.org/t/unix-socket-issue-since-v5-upgrade/30364/2 "2022-05-25T19:45:14Z")

</div>

I think socket support was removed as a breaking change:

> **[Ghost Docs](https://ghost.org/docs/changes/#misc)**
>
> Everything you need to know about working with the Ghost professional publishing platform.

---

<div class="post-metadata">

**Author:** ![stuwest](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@stuwest](https://forum.ghost.org/u/stuwest)\
**Post date:** [May 25, 2022, 7:49pm UTC](https://forum.ghost.org/t/unix-socket-issue-since-v5-upgrade/30364/3 "2022-05-25T19:49:55Z")

</div>

Oh, damn. Okay, I don’t feel too bad about missing that, since it took me a while to find it even after you pointed out it was in there!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [August 23, 2022, 7:50pm UTC](https://forum.ghost.org/t/unix-socket-issue-since-v5-upgrade/30364/4 "2022-08-23T19:50:45Z")

</div>

Closed on August 23, 2022, 7:50pm UTC

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