Friction

Pain point · Self-hosting & upgrades · Blocks work

Admin panel fails to load on a public host after upgrading to 4.12.4

3 source threads · first seen 2022-01 · last seen 2024-09

Summary

After upgrading, the admin panel shows an API error and the browser tries to call localhost, which breaks deployments on the public internet.

Affects
Teams running Strapi in Docker behind a public host

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“the admin page generally loads (http 200) in /backend/admin, but the resources are loaded from the root path”

“Looking in the browser console, the browser also tries to make several requests to http://localhost:1337”

“Issue summary: Strapi is not picking up the PUBLIC_URL and /admin is calling back to a localhost:port URL”

Report this item