Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Document repairing file cache holes #3446

Closed
2 tasks
PVince81 opened this issue Oct 9, 2017 · 2 comments
Closed
2 tasks

Document repairing file cache holes #3446

PVince81 opened this issue Oct 9, 2017 · 2 comments

Comments

@PVince81
Copy link
Contributor

PVince81 commented Oct 9, 2017

  • update docs:

Fixing individual user (no downtime required):

  1. run occ files:scan $userId --repair. Replace $userId with the id of the affected user

Fixing all users (downtime required):

  1. backup the database!
  2. switch the instance to single user mode: occ maintenance:singleuser --on. Note that no files can be accessed by anyone in this mode. (maintenance mode doesn't work as it disables the occ files:scan command currently, see Allow files:scan in maintenance mode owncloud/core#28561)
  3. run occ files:scan --all --repair
  4. switch the instance back: occ maintenance:singleuser --off
  • add entry to FAQ about ghost folders (doubled) pointing to the documentation

Ref PR with more info: owncloud/core#28253

@tomneedham @kdslkdsaldsal

@mmattel
Copy link
Contributor

mmattel commented Oct 11, 2017

Needs also a (brief) description of the issue where a repair step helps to fix.
Else this is just run by "lets repair and see if something was found.."

@PVince81
Copy link
Contributor Author

Some possible symptoms:

  • folders having the same entry twice in the web UI (ghost folder) which can also lead to strange error messages in the desktop client
  • any situation where entering a visible folder doesn't seem to lead into said folder

settermjd added a commit that referenced this issue Nov 14, 2017
settermjd added a commit that referenced this issue Nov 15, 2017
settermjd added a commit that referenced this issue Dec 5, 2017
settermjd added a commit that referenced this issue Dec 5, 2017
This fixes #3446.

Signed-off-by: Matthew Setter <matthew@matthewsetter.com>

# Conflicts:
#	admin_manual/configuration/server/occ_command.rst
settermjd added a commit that referenced this issue Dec 5, 2017
This fixes #3446.

Signed-off-by: Matthew Setter <matthew@matthewsetter.com>

# Conflicts:
#	admin_manual/configuration/server/occ_command.rst
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants