Updated How to fix the error invalid or negative modification date (markdown)

Camila 2022-02-21 16:19:22 +01:00
parent 5ebe959c54
commit 004e29cf3f

@ -17,7 +17,7 @@
We provide the following **scripts** to help with the recovery of the server state.
#### Files stored on the server:
#### Files stored on the server
1. [Script for server side fixing of invalid dates (`solvable_files.sh`)](https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/master/solvable_files.sh)
- Copy the file to the `nextcloud` folder on the server.
@ -30,7 +30,7 @@ We provide the following **scripts** to help with the recovery of the server sta
- As a last step it is necessary to scan the files on the storage (unless you used the `scan` argument):<br>
```sudo -u www-data php <path to nextcloud install>/occ files:scan --all```
#### Files stored in Group Folders:
#### Files stored in Group Folders
If you use the **group folders feature**, we provide the following scripts to help with the recovery of the **files located in group folders**:
@ -46,7 +46,7 @@ If you use the **group folders feature**, we provide the following scripts to he
- 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>`
#### Files stored in an External Storage:
#### 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;```