# Upgrade a plugin gives 502 Bad Gateway nginx/1.26.1

**URL:** <https://community.localwp.com/t/upgrade-a-plugin-gives-502-bad-gateway-nginx-1-26-1/52561>\
**Category:** Support\
**Tags:** plugin-issues, all-in-one-wp-migrat\
**Created:** [September 16, 2026, 1:17pm UTC](https://community.localwp.com/t/upgrade-a-plugin-gives-502-bad-gateway-nginx-1-26-1/52561 "2026-09-16T13:17:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnW](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@johnW](https://community.localwp.com/u/johnW)\
**Post date:** [September 16, 2026, 1:17pm UTC](https://community.localwp.com/t/upgrade-a-plugin-gives-502-bad-gateway-nginx-1-26-1/52561/1 "2026-09-16T13:17:24Z")

</div>

# Bug Summary

When I upgrade a plugin (**All-in-One WP Migration Unlimited Extension) it shows a white screen**

# Steps to reproduce

# Environment Info

Describe your environment.

- What Operating System are you using? Macos 27
- What versions of site software (Nginx, PHP, MySQL) is used?
- What version of Local is installed: I don’t no, installed today 16 sept 2026

# Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

2026/09/16 14:52:06 [error] 14579#0: \*3195 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: , request: “GET /wp-admin/plugins.php?ai1wm\_check\_for\_updates=1&ai1wm\_nonce=xxxxxxxx HTTP/1.1”, upstream: “fastcgi://unix:/Users/john/Library/Application Support/Local/run/bRmF9pVO4/php/php-fpm.socket:”, host: “kasteel.local”, referrer: “[http://kasteel.local/wp-admin/plugins.php?plugin\_status=all&paged=1&s](http://kasteel.local/wp-admin/plugins.php?plugin_status=all&paged=1&s)”

- [How do I retrieve Local’s Log?](https://localwp.com/community/t/how-do-i-retrieve-locals-log-file/3720?u=ben.turner)

Include any screenshots or video recordings of the issue to help others reproduce.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 17, 2026, 2:52pm UTC](https://community.localwp.com/t/upgrade-a-plugin-gives-502-bad-gateway-nginx-1-26-1/52561/2 "2026-09-17T14:52:02Z")

</div>

Hi @johnW!

You might check through our performance guide here for some troubleshooting tips.

> **[Troubleshoot: Performance Issues](https://localwp.com/help-docs/troubleshooting/troubleshooting-performance-issues-in-local/)**
>
> Performance issues can be hard to fix! The best thing to do is zero in on where the slowness is occurring. Here are some suggestions to help set you up for success and ensure things are running as…

Specifically, increasing your PHP memory or timeout might be necessary. If you have other plugins installed you might try disabling all of them first, and then updating All in One as they might be competing for resources too.

Lastly, you might double check your network connectivity and ensure nothing is spotty or getting throttled.
