Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled
- 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>
31 lines
805 B
YAML
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
|