[Owncloud] memory cache mismatch using APC

Marco Dalla Vecchia mdallav at gmail.com
Wed Jan 30 17:31:19 UTC 2013


Good day all owncloud users.
I am experiencing a problem, where in a particular folder in the files app
some files are not showing.
The files are present in the file system, but they are not present in the
oc_fscache table.
I tried forcing a cache update, by calling manually OC_Filecache::scan("")
from a PHP page, but the files are still not showing.
By checking the source, it seems that the missing files actually *are*
present into the APC cache, but they are missing from the DB cache (i.e.
the table oc_fscache)

What can I do to re-align the APC cache with the DB cache ?
By checking the source, the problem may be in OC_Filecache::update() , in
here there is a UPDATE clause WHERE id = $id, but if the update does not
match any row, there should be an INSERT clause in here as well, to "fill
out" the gap.

Thank you
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130130/9666c867/attachment.html>


More information about the Owncloud mailing list