Removing 'Files stored in an External Storage' update query.

Camila 2022-03-02 14:37:14 +01:00
parent 5ed7234b43
commit e888d2cd21

@ -58,11 +58,6 @@ If you use the **group folders feature**, we provide the following scripts to he
- Call it with the following arguments:<br> - Call it with the following arguments:<br>
`./fix_group_folders.sh <path to storage folder> <mysql|pgsql> <database host> <database user> <database password> <database name>` `./fix_group_folders.sh <path to storage folder> <mysql|pgsql> <database host> <database user> <database password> <database name>`
### Files stored in an External Storage
For **files located in an external storage like S3**, the fix is only necessary in the database by updating the `mtime` to a valid value:<br>
``` UPDATE oc_filecache SET mtime=1645452423, storage_mtime=1645452423 where mtime < 86400;```
## 👀 How to check if all files were fixed ## 👀 How to check if all files were fixed
This script lists **files that can not be fixed by the [`solvable_files.sh`](https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/master/solvable_files.sh) script**: This script lists **files that can not be fixed by the [`solvable_files.sh`](https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/master/solvable_files.sh) script**: