[DEPLOYMENT] 500: Internal Error
Closed this issue · 1 comments
JamesDAdams commented
🖥️ Describe Your Issue
I have a 500: Internal Error on login page only and this on frontend container :
Error: Data returned from `load` while rendering /login is not serializable: Cannot stringify arbitrary non-POJOs (data)
at get_data (file:///app/build/server/index.js:2597:11)
at render_response (file:///app/build/server/index.js:2319:28)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async render_page (file:///app/build/server/index.js:3193:12)
at async resolve2 (file:///app/build/server/index.js:4134:24)
at async i18nHook (file:///app/build/server/chunks/hooks.server-B9jJ9cmg.js:96:12)
at async themeHook (file:///app/build/server/chunks/hooks.server-B9jJ9cmg.js:91:10)
at async authHook (file:///app/build/server/chunks/hooks.server-B9jJ9cmg.js:39:14)
at async respond (file:///app/build/server/index.js:4014:22)
at async Array.ssr (file:///app/build/handler.js:1284:3)
🐳 Docker Compose (Obfuscated)
version: '3.8'
services:
AdventureLogBackend:
container_name: AdventureLogBackend
image: ghcr.io/seanmorley15/adventurelog-backend:latest
networks:
- br0.10
environment:
TZ: "Europe/Paris"
HOST_OS: "Unraid"
HOST_HOSTNAME: "JamesServer"
HOST_CONTAINERNAME: "AdventureLogBackend"
TCP_PORT_80: "8016"
PGHOST: "AdventureLogPostgres"
PGDATABASE: "adventure"
PGUSER: "postgres"
PGPASSWORD: "password"
SECRET_KEY: "secret-key"
DJANGO_ADMIN_USERNAME: "JamesAdams"
DJANGO_ADMIN_EMAIL: "jamesadams@gmail.com"
DJANGO_ADMIN_PASSWORD: "password"
PUBLIC_URL: "https://travelbackend.domain.fr"
FRONTEND_URL: "https://travel.domain.fr"
CSRF_TRUSTED_ORIGINS: "https://travel.domain.fr"
DEBUG: "False"
volumes:
- /mnt/cache/CacheDevices/Container/AdventureLog/backend/code/media:/code/media:rw
ports:
- "8016:80"
AdventureLogFrontend:
container_name: AdventureLogFrontend
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
networks:
- br0.10
environment:
TZ: "Europe/Paris"
HOST_OS: "Unraid"
HOST_HOSTNAME: "JamesServer"
HOST_CONTAINERNAME: "AdventureLogFrontend"
TCP_PORT_3000: "8015"
PUBLIC_SERVER_URL: "http://AdventureLogBackend:8000"
BODY_SIZE_LIMIT: "Infinity"
ports:
- "8015:3000"
AdventureLogPostgres:
container_name: AdventureLogPostgres
image: postgres:11-alpine
networks:
- br0.10
pids_limit: 2048
environment:
TZ: "Europe/Paris"
HOST_OS: "Unraid"
HOST_HOSTNAME: "JamesServer"
HOST_CONTAINERNAME: "AdventureLogPostgres"
POSTGRES_PASSWORD: "password"
POSTGRES_USER: "postgres"
POSTGRES_DB: "adventure"
POSTGRES_HOST_AUTH_METHOD: "trust"
volumes:
- /mnt/cache/CacheDevices/Container/AdventureLog/DB:/var/lib/postgresql/data:rw
ports:
- "5432:5432"
owenlejeune commented
i have the same issue, how did you resolve this?