CentOS 7.x Owncloud file cache and sharing

From Notes_Wiki
Revision as of 09:57, 14 October 2017 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>CentOS_7.x_owncloud|CentOS 7.x owncloud</yambe:breadcrumb> =CentOS 7.x Owncloud file cache and sharing= Table oc_filecache has cache information. But that...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>CentOS_7.x_owncloud|CentOS 7.x owncloud</yambe:breadcrumb>

CentOS 7.x Owncloud file cache and sharing

Table oc_filecache has cache information. But that information is used in oc_share to understand which files are shared with whom. Hence the information in that table is critical. If there is a path issue then use:

   su - apache php occ files:scan --all

For faster recovery we can also given path such as

   su - apache php occ files:scan --path "admin/files/HR DEP/hr2"

In any case do not truncate or delete rows from oc_filecache manually or else all sharing will get broken.

Refer: