HomarrH
Homarr12mo 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
Solution
You are missing an environment variable. Probably the SECRET_ENCRYPTION_KEY, see https://homarr.dev/docs/getting-started/installation/docker
Docker is our recommended installation method for beginners and professionals.
Was this page helpful?