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.


Solution:Jump to 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...
5 Replies
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'
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
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...
hmm okay thank you