Files
neon-vortex/jellyfin-wal-enable.yaml
Neon Vortex ce8d9029c1
Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled
Fix Neon Vortex button input and add Jellyfin WAL mode
- Comment out CORS headers in nginx.conf to fix button input blocking
- Add WAL enable job for Jellyfin to resolve database locking issues
- Include comprehensive troubleshooting documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:51:34 -05:00

31 lines
805 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: jellyfin-enable-wal
namespace: media
spec:
ttlSecondsAfterFinished: 600
template:
spec:
restartPolicy: Never
containers:
- name: enable-wal
image: alpine:latest
command:
- sh
- -c
- |
apk add --no-cache sqlite
echo "Enabling WAL mode on jellyfin.db..."
sqlite3 /config/data/jellyfin.db "PRAGMA journal_mode=WAL;"
echo "Verifying WAL mode..."
sqlite3 /config/data/jellyfin.db "PRAGMA journal_mode;"
echo "WAL mode enabled successfully!"
volumeMounts:
- name: jellyfin-data
mountPath: /config
volumes:
- name: jellyfin-data
persistentVolumeClaim:
claimName: jellyfin-config