-
-
Notifications
You must be signed in to change notification settings - Fork 180
Description
A persistent crash occurs when importing an "Extended Streaming History" JSON file. The background worker enters a recursive retry loop, eventually failing with Retrying crashed promise, 10/10.
The worker crashes and enters a retry loop. Clearing "Failed and cleaned" imports and restarting the container does not resolve the issue for the specific file or any file.
Environment:
Deployment: Docker (Portainer Stack)
Image: yooooomi/your_spotify_server:latest
Database: MongoDB 6
OS: Debian (Intel i5-9500)
My YAML:
`services:
server:
image: yooooomi/your_spotify_server:latest
container_name: your_spotify_server
restart: always
ports:
- "8091:8080"
environment:
- API_ENDPOINT=${API_ENDPOINT}
- CLIENT_ENDPOINT=${CLIENT_ENDPOINT}
- SPOTIFY_PUBLIC=${SPOTIFY_PUBLIC}
- SPOTIFY_SECRET=${SPOTIFY_SECRET}
- MONGO_ENDPOINT=${MONGO_ENDPOINT}
- CORS=https://mypublicdomain.com
- MAX_IMPORT_CACHE_SIZE=10000 # Added to prevent import crashes
depends_on:
- mongo
networks:
- proxy
- default
client:
image: yooooomi/your_spotify_client:latest
container_name: your_spotify_client
restart: always
ports:
- "3010:3000"
environment:
- API_ENDPOINT=${API_ENDPOINT}
depends_on:
- server
networks:
- proxy
- default
mongo:
image: mongo:6
container_name: your_spotify_mongo
restart: always
volumes:
- your_spotify_db:/data/db
networks:
- default
volumes:
your_spotify_db:
networks:
proxy:
external: true`