H
Homarr3d ago
EC

500 internal Server Error

I saw another topic with this issue and modified my docker-compose file based on that, but I'm still getting the message. Where should I start troubleshooting?
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- "NODE_TLS_REJECT_UNAUTHORIZED: 0"
volumes:
- ${DOCKERCONFDIR}/homarr/appdata:/appdata
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 7575:7575
networks:
default:
name: containers
external: true
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- "NODE_TLS_REJECT_UNAUTHORIZED: 0"
volumes:
- ${DOCKERCONFDIR}/homarr/appdata:/appdata
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 7575:7575
networks:
default:
name: containers
external: true
Solution:
You are missing an environment variable. Probably the SECRET_ENCRYPTION_KEY, see https://homarr.dev/docs/getting-started/installation/docker
Docker | Homarr documentation
Docker is our recommended installation method for beginners and professionals.
Jump to solution
9 Replies
Cakey Bot
Cakey Bot3d ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Meierschlumpf
Meierschlumpf3d ago
What about your logs?
EC
ECOP3d ago
No description
EC
ECOP3d ago
i don't see any logs in my /appdata/homarr i just saw the auto response post this is on a synology box
Meierschlumpf
Meierschlumpf3d ago
I meant your docker logs
EC
ECOP3d ago
No description
Solution
Meierschlumpf
Meierschlumpf3d ago
You are missing an environment variable. Probably the SECRET_ENCRYPTION_KEY, see https://homarr.dev/docs/getting-started/installation/docker
Docker | Homarr documentation
Docker is our recommended installation method for beginners and professionals.
Meierschlumpf
Meierschlumpf3d ago
Also NODE_TLS_REJECT_UNAUTHORIZED should probably not be used. I would suggest to instead add your self signed certificates to the certificates management page https://homarr.dev/docs/management/certificates/
Certificates | Homarr documentation
On this page you can manage your trusted certificates.
EC
ECOP3d ago
alright, thanks! i'll work on both of those i killed that whole compose file and started with the copy on the website, this time remembering to put in the encryption key, and it seems to have worked! thanks!

Did you find this page helpful?