Update Jellyfin_Fix_and_Scan.sh
Added comment suggesting replacing the db with a backup.
This commit is contained in:
parent
27fdb084f9
commit
e8981d96b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue