Quote:
Originally Posted by BetterRed
|
I'm not getting notice about any errors with calibre library which is stored locally in the OneDrive folder, and those files are always kept on the local drive and are incidentally also uploaded to the OneDrive cloud.
I doubt that OneDrive folders are the "equivalent" of an NAS server. For all intents and purposes files stored locally in the OneDrive folder function like being stored in any other folder, with the exception that a copy is also uploaded/synced to the OneDrivecloud. The computer only accesses the local file.
In this mysterious situation, to some extent Calibre and OneDrive operated as designed. Most files, except yesterday's, that had "calibre" as the author (all the downloaded news feeds), were removed from the library and put in, ie moved to, calibre's "trash". At that point OneDrive would have noted the "move", and consequently "moved" those files to their corresponding new "locations" in the cloud. This is just kind of a matter of bookkeeping for OneDrive in the cloud, just altering the file table or index. Nothing needed to actually be moved anywhere.
But for some strange reason, its seems that as soon as calibre "moved" the files to the trash folder, they were almost immediately deleted, not from the library, but from the trash folder, even though the trash folder was set to retain files for 14 days. (I've since changed that to 90 days). They shouldn't have been removed from the trash; actually they shouldn't have been removed from the library in the first place. I certainly didn't do anything. I was in bed asleep at the time!
It is at that point that OneDrive sent out an alarm, as it always does when large numbers of files are deleted at one time, because now an actual permanent deletion was happening. So I had OneDrive restore those files. They were restored to their previous location, which was the trash. They were then downloaded (1.4GB) from the cloud to the local drive.
So calibre's "remove to trash" and "restore from trash" (after OneDRive had redownloaded the files from the cloud) operated as designed. EXCEPT that I don't know what triggered them to be removed from the library in the first place, nor can I explain how and why they were the almost immediately deleted from the trash even though the retention was set for 14 days.
I don't know why the computer restarted right after downloading just one news feed; there were two thers scheduled right after that. I don't know why anything got removed and deleted, especially why only "calibre" authored items (and why not all of them; why did it leave the last day or so's worth of "caibre" files - about a dozen).
And why was the "scheduler.xml" which contains all the scheduled downloads info deleted from the calibre AppData folder. That is not stored anywhere near the calibre library folder.