Closed Svenum closed 4 months ago
I have exactly the same issue on unraid, had to go back to ccarney16/pterodactyl-panel:v1.11.4
I am on Unraid too.
This appears to be an issue with unraid in regards to an update to the caddy configuration file. TRUSTED_PROXIES is now handled by caddy and appears to be filled by information that is not a list of IP addresses. I would strongly suggest contacting the template author to see if they can push out an update.
I did not use the template. I wrote my own compose file.
networks:
proxy_default:
external: true
default:
services:
redis:
image: redis:alpine
restart: unless-stopped
mariadb:
image: mariadb:11
restart: unless-stopped
volumes:
- "/mnt/cache/appdata/gs/mariadb/data:/var/lib/mysql"
- "/mnt/cache/appdata/gs/mariadb/config:/etc/mysql/conf.d"
environment:
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
MARIADB_DATABASE: "pterodactyl"
MARIADB_USER: "pterodactyl"
MARIADB_PASSWORD: ${DB_PASSWORD}
pterodactyl:
image: ccarney16/pterodactyl-panel:v1.11.4
restart: no
networks:
- proxy_default
- default
volumes:
- "/mnt/cache/appdata/gs/pterodactyl-wings/data:/mnt/user/appdata/gs/pterodactyl-wings/data"
- "/mnt/cache/appdata/gs/pterodactyl-wings/:/etc/pterodactyl"
- "/mnt/cache/appdata/gs/pterodactyl/:/data"
- "/mnt/cache/appdata/gs/pterodactyl/nginx/:/etc/nginx/conf.d/"
- "/mnt/cache/appdata/gs/pterodactyl/entrypoint.sh:/entrypoint.sh"
environment:
APP_URL: "https://pterodactyl.holypenguin.net/"
APP_NAME: "Holy Pterenguin"
APP_TIMEZONE: "Europe/Berlin"
APP_ENVIRONMENT_ONLY: false
APP_SERVICE_AUTHOR: "holyadmin@example.com"
APP_ENV: "production"
TRUSTED_PROXIES: "*"
DB_HOST: "mariadb"
DB_PORT: 3306
DB_DATABASE: pterodactyl
DB_USERNAME: pterodactyl
DB_PASSWORD: ${DB_PASSWORD}
CACHE_DRIVER: "redis"
SESSION_DRIVER: "redis"
QUEUE_DRIVER: "redis"
REDIS_HOST: redis
DEBUG: false
MAIL_FROM: "pterodactyl@example.com"
MAIL_DRIVER: "smtp"
MAIL_HOST: "smtp.example.com"
MAIL_PORT: "465"
MAIL_USERNAME: "pterodactyl@example.com"
MAIL_PASSWORD: ${MAIL_PASSWORD}
MAIL_ENCRYPTION: "ssl"
labels:
traefik.enable: true
traefik.http.routers.pterodactyl.entryPoints: https
traefik.http.services.pterodactyl.loadbalancer.server.port: 80
depends_on:
- mariadb
- redis
pterodactyl-wings:
image: ccarney16/pterodactyl-daemon:latest
restart: unless-stopped
networks:
- proxy_default
- default
tty: true
environment:
TZ: "Europe/Berlin"
WINGS_UID: 1000
WINGS_GID: 1000
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/mnt/cache/appdata/gs/pterodactyl-wings/data:/mnt/user/appdata/gs/pterodactyl-wings/data"
- "/mnt/cache/appdata/gs/pterodactyl-wings/:/etc/pterodactyl"
- "/tmp/pterodactyl:/tmp/pterodactyl"
labels:
traefik.enable: true
traefik.http.routers.pterodactyl_wings.entryPoints: https
traefik.http.services.pterodactyl_wings.loadbalancer.server.port: 443
traefik.tcp.routers.pterodactyl_wings.entryPoints: sftp_pterodactyl
traefik.tcp.services.pterodactyl_wings.loadbalancer.server.port: 2222
traefik.tcp.routers.pterodactyl_wings.rule: 'HostSNI(`*`)'
depends_on:
- pterodactyl
Is it possible that the wildcard *
in TRUSTED_PROXIES
is no longer supported?
It looks like you can replace it with 0.0.0.0/0
(and maybe ::/0
?)
After reviewing the updated container, It appears I did not account for a wildcard to be used in TRUSTED_PROXIES. I will update the documentation and configuration to mention to follow caddy's trusted proxies convention over pterodactyl.
There is also an actual bug in the script that converts the wildcard into filenames.
Without the TRUSTED_PROXY
and the new build its working. Thanks :)
The pterodactyl-panel crashes on the newest version v1.11.5
Log: