diff --git a/Jellyfin_Fix_and_Scan.sh b/Jellyfin_Fix_and_Scan.sh index 9cceb18..7146347 100644 --- a/Jellyfin_Fix_and_Scan.sh +++ b/Jellyfin_Fix_and_Scan.sh @@ -15,6 +15,7 @@ error_found_2=$(journalctl -u jellyfin --since "1 hour ago" | grep "$error_messa if [ -n "$error_found_1" ] || [ -n "$error_found_2" ]; then echo "Error found in journal, deleting database file..." rm -f /var/lib/jellyfin/data/library.db + # Optionally, replace with a backup and set correct permissions here. echo "Database file deleted." # Trigger library scan