Hi, 1) "./occ files:scan --all" will not touch existing valid files if they already have entries in oc_filecache. However it should remove files from oc_filecache that don't exist any more on disk. If on disk there are new files, it will add them to oc_filecache. So your shares will stay.
2) files:scan does NOT delete oc_storages entries. If you have old unused entries you can delete them manually and rerun occ files:clean afterwards. Cheers, Vincent On 28.08.2015 14:58, Alfred van Hoorn wrote: > I got your point. Then I have two addiotional questions: > 1) Will I loose my shared links with the "files:scan -all" > 2) The oc_storages table have several entries to external storages > (dropbox and google drive) with are no longer actual/valid. Will > files:scan delete that entries too and if not, can I delete these > entries manually without problems? > > > ------ Origineel bericht ------ > Van: "Vincent Petry" <[email protected]> > Aan: "Alfred van Hoorn" <[email protected]>; "List for > Developers of ownCloud" <[email protected]> > Verzonden: 28-8-2015 14:01:06 > Onderwerp: Re: [owncloud-devel] OCC-command "files:cleanup" not > operating as expected > >> 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 >>> [email protected]http://mailman.owncloud.org/mailman/listinfo/devel >>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Devel mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/devel
