ddvk / rmfakecloud

host your own cloud for the remarkable
GNU Affero General Public License v3.0
787 stars 67 forks source link

sync15: "empty trash" on tablet puts files in / (for rmapi) #203

Open benneti opened 2 years ago

benneti commented 2 years ago

As the title says using sync15 using empty trash does not delete the files but puts them in / instead (only for rmapi on the tablet they seem to be deleted). I am not sure whether this is a problem of rmapi or of the fakecloud, feel free to close if you think the problem is with rmapi.

Remarkable Version 2.15.0.1067 rmapi version: 0.0.22.1 rmfakecloud 0.0.11

ddvk commented 2 years ago

indeed, the problems is that the tablet sends the deleted documents (with "deleted:true" and no parent in the metadata), instead of removing them from the tree.

I have to fix rmapi to skip deleted files

benneti commented 2 years ago

just for completeness, the same is true for the webinterface and it seems like some time the files are actually deleted (meaning the problem is not that big).

MrHappy commented 1 year ago

Not sure if this is related, but when I empty the trash (on my tablet) it is filled right up again (I assume from rmfakecloud). How do I find out if this is the case and, if it is, how do I empty the trash on rmfakecloud also (or make it 'sync' the empty trash)?