[owncloud-devel] OCC-command "files:cleanup" not operating as expected

Vincent Petry pvince81 at owncloud.com
Fri Aug 28 12:01:06 GMT 2015

files:clean is for entries that have no matching entry in oc_storages.

What you're looking for is probably "files:scan --all".

On 28.08.2015 12:55, Alfred van Hoorn wrote:
> I use OC several years now and upgraded several times from version 6
> to version 8.1.1 (on this moment). Great piece of software!!
> In the database table oc_filecache I find very much entries to files
> that no longer exist in the data-directory. So I used the "php occ
> files:cleanup" command.
> As a result I got: "0 orphaned file cache entries deleted". The
> database table oc_filechache seems to be unchanged.
> Is this normal behaviour (and do I have the wrong expectations) or is
> this a bug? How can I cleanup the filecache or isn't this nessecary?
> Thanks for the reply
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150828/1217dc24/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150828/1217dc24/attachment.sig>

More information about the Devel mailing list