Skip to content

Commit e36b2c3

Browse files
authored
Merge pull request #583 from nextcloud/docs/preview-cleanup-occ
docs: mention preview:cleanup command in readme
2 parents 506e483 + dde70bf commit e36b2c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ Add an empty file with the name `.nomedia` in the folder you wish to skip. All f
149149

150150
### I want to reset/regenerate all previews
151151

152+
#### Nextcloud 31 and newer
153+
154+
Run `occ preview:cleanup` on your server. Please have a look at the [documentation](https://docs.nextcloud.com/server/latest/admin_manual/occ_command.html#cleanup-previews) for more information.
155+
156+
#### Nextcloud 30 and older
157+
152158
**WARNING:** This is not supported but it has been confirmed to work by multiple users. Proceed at your own risk. Always keep backups around.
153159

154160
1. Remove the folder `your-nextcloud-data-directory/appdata_*/preview`

0 commit comments

Comments
 (0)