diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-01-14 17:06:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 17:06:49 +0300 |
commit | 53710babf9de76555822f5f3176af122d002a975 (patch) | |
tree | f7b4f236a3a96e853b151ac1410ce36166ca147b | |
parent | 37a5feecc0435b48d108996014f9e3cfb8e97ebf (diff) | |
parent | 41e12650339188962fd675d68c8ecc6460a167b8 (diff) |
Merge pull request #281 from nextcloud/enh/268/add-preview-reset-to-faq
Add FAQ section for regenerating all previews
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -98,3 +98,12 @@ Note: ### I want to skip a folder and everything in/under it Add an empty file with the name `.nomedia` in the folder you wish to skip. All files and subfolders of the folder containing `.nomedia` will also be skipped. + +### I want to reset/regenerate all previews + +**WARNING:** This is not supported but it has been confirmed to work by multiple users. Proceed at your own risk. Always keep backups around. + +1. Remove the folder `your-nextcloud-data-directory/appdata_*/preview` +2. *Optional:* change parameters `preview_max_x` and `preview_max_y` in `config.php` (e.g., to `512`), and change the `previewgenerator` app parameters `heightSizes`, `squareSizes` and `widthSizes` as per the README (or better yet, to a low value each, e.g. `512`, `256` and `512` respectively) +3. Run `occ files:scan-app-data` (this will reset generated previews in the database) +4. Run `occ preview:generate-all [user-id]` (this will run very fast if you did step 2) |