Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No backup copies using database file on smb win10 share #48

Open
deepbeat opened this issue Aug 30, 2020 · 4 comments
Open

No backup copies using database file on smb win10 share #48

deepbeat opened this issue Aug 30, 2020 · 4 comments

Comments

@deepbeat
Copy link

Using the latest official stable releases and using database file on smb win10 share, no backup copies are created anymore. This happens regardless of the keep backup versions setting (-1 to 5). This bug first occured when I updated Kodi from Krypton v17.6 to v18.8 Leia.

@SchapplM
Copy link
Owner

Can you please provide a log file with debug setting activated? (both in Kodi and in WatchedList settings)

@deepbeat
Copy link
Author

Thanks for your quick response. Please verify that I posted the requested files as I did not find any specific watchedlist debug settings or watchedlist settings file.

kodi.log

@SchapplM
Copy link
Owner

2020-08-30 17:46:25.875 T:6607 NOTICE: service.watchedlist: Notification. WatchedList: Fehler: Beim Sichern der Datenbank (Invalid argument)
2020-08-30 17:46:25.879 T:6607 ERROR: service.watchedlist: database_backup: Error creating database backup /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.watchedlist/dbcopy/20200830_174625-watchedlist.db.zip: (22) Invalid argument

Can you check for write permission and file dates? This already was an issue in the forum. I am not sure, however, if it really was solved there.

@deepbeat
Copy link
Author

deepbeat commented Sep 6, 2020

Yesterday I finally had some time to follow up your hint and unfortunately I have to disappoint you: everything seems ok with write permission and file dates of the updated watchedlist.db on the smb win10 share.

I even renamed the destination folder and recreated it empty. The watchedlist.db file is created as expected. Changing some watched states and executing WL again updates the watchedlist.db file but does not create any backup zip file.

By the way, at the very beginning of every watched list run, kodi gives a warning note "WatchedList: Fehler - Beim Sichern der Datenbank (invalid argument)". Translated it means "WatchedList: Error - When backing up the database (invalid argument)". Perhaps the copy job or zip creation is called with depricated arguments? Just guessing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants