Nextcloud version _(eg, 29.0.4)
Operating system and version Unraid, Docker Containers by linuxserver
The issue you are facing: Unable to sync files. MariaDB appears to be corrupt. I am unable to use OPTIMIZE TABLE to repair it and it errors out with a 1030 error when trying to dump it.
MariaDB [nextcloud]> CHECK TABLE oc_files_metadata;
±----------------------------±------±---------±-------------------------------------------------------+
| Table | Op | Msg_type | Msg_text |
±----------------------------±------±---------±-------------------------------------------------------+
| nextcloud.oc_files_metadata | check | Warning | InnoDB: Index PRIMARY is marked as corrupted |
| nextcloud.oc_files_metadata | check | Warning | InnoDB: Index files_meta_fileid is marked as corrupted |
| nextcloud.oc_files_metadata | check | error | Corrupt |
±----------------------------±------±---------±-------------------------------------------------------+
3 rows in set (0.001 sec)
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Constant issue with DB
- May have been caused by deleting an old file within nextcloud?