Skip to content

Navigation Menu

Sign in
Sign up

Helpful SQL commands for debugging purpose

Carl Schwan edited this page Oct 26, 2022 · 2 revisions

List all the trash entries without corresponding oc_filecache entry

SELECT t.* from oc_group_folders_trash as t
LEFT join oc_filecache as f
ON f.path = CONCAT("__groupfolders/trash/", t.folder_id, "/", t.name, ".d", t.deleted_time)
WHERE f.fileid is NULL;

Clone this wiki locally

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /