502 Bad Gateway Error occurs when Navigating the Admin Interface.

Hey, I am a complete newbie and setting up my first home server from an old PC right now using Ubuntu Server. I am experiencing a recurring issue with the Homarr admin interface. When navigating through the interface, I frequently encounter a "502 Bad Gateway" error. Sometimes, before this error, there is an "Application Error: Client-Side Exception has occurred (See the browser console for more information)." message. I have attached screenshots of both errors to this ticket. This issue prevents me from editing and saving changes. Whenever I input text (for example, when editing an app's description or name) and press "Save," I encounter the "502 Bad Gateway" error, and my changes are not applied. I have installed Homarr via Docker using the latest image. I have already searched for others experiencing the same problem, but all related tickets I found are at least two years old or older. Please let me know if you need any additional information, such as logs or other details.
No description
No description
Solution:
Okay I think sadly your CPU does not support the instructions required to run the latest nodejs version. So you will either need to update your CPU or not run Homarr...
Jump to solution
5 Replies
[n.o.n.o.e.l.m.o]
Logs: https://pastebin.com/NH0TSRdJ Operating system: Ubuntu 24.04.2 LTS Exact Homarr Version: Version 1.8.0 (I think, I'm not really sure where to find the version) (I installed it yesterday and the URL just said latest) Configuration:
#---------------------------------------------------------------------# # Homarr - A simple, yet powerful dashboard for your server. # #---------------------------------------------------------------------# services: homarr: container_name: homarr image: ghcr.io/homarr-labs/homarr:latest restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration - ./homarr/appdata:/appdata environment: - SECRET_ENCRYPTION_KEY=my key; I don't have the docker-compose.yml anymore ports: - '7575:7575'
Meierschlumpf
Meierschlumpf5w ago
I would suspect that the nextjs app crashes with the following error: Illegal instruction (core dumped) And because we are using nginx as proxy for websocket / nextjs app it can no longer forward you. What processor architecture are you using?
Solution
Meierschlumpf
Meierschlumpf5w ago
Okay I think sadly your CPU does not support the instructions required to run the latest nodejs version. So you will either need to update your CPU or not run Homarr...
[n.o.n.o.e.l.m.o]
hmm okay thank you

Did you find this page helpful?