Update Jellyfin_Fix_and_Scan.sh

Added comment suggesting replacing the db with a backup.
This commit is contained in:
Clarth 2024-02-15 09:43:27 -05:00
parent 27fdb084f9
commit e8981d96b2
1 changed files with 1 additions and 0 deletions

View File

@ -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 if [ -n "$error_found_1" ] || [ -n "$error_found_2" ]; then
echo "Error found in journal, deleting database file..." echo "Error found in journal, deleting database file..."
rm -f /var/lib/jellyfin/data/library.db rm -f /var/lib/jellyfin/data/library.db
# Optionally, replace with a backup and set correct permissions here.
echo "Database file deleted." echo "Database file deleted."
# Trigger library scan # Trigger library scan