-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Deleting a preview folder stops writing previews to disk #3041
Comments
It fails hard because we assume it is there (it is still in the DB). Did you rescan? |
No I did not rescan. But that is exactly my point. Most users will not rescan since they see the previews in the UI. It just stops writing them to the disk and will therefor recreate them all the time in memory, fail on writing but still serve it. |
I think your previews are just temp cached. If you force refresh they will fail. The thing is that we only know this failed the moment we try to read. Because before that we do it all in the database. |
It is tricky to rescan preview storage because
leads up to But there is workaround:
UPD: So maybe add option to |
Fixes #3041 Add a dedicated command to scan the special appdata dir Signed-off-by: Roeland Jago Douma <[email protected]>
Steps to reproduce
data/appdata_*/preview/{fileid}
folderExpected behaviour
Preview folder should exist again and have the previews saved
Actual behaviour
Previews are displayed but not written to disk
@schiessle as discussed
@rullzer I see potential to fail for administrators there.
I'd also assume that deleting the folder would simply regenerate.
The text was updated successfully, but these errors were encountered: