Nextcloud version (eg, 20.0.5) : 26.0.3
Operating system and version (eg, Ubuntu 20.04) : Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25) : Apache/2.4.57
PHP version (eg, 7.4) : PHP 8.1.20
The issue you are facing:
I did have an issue with CRON and was trying many things to resolve it. In the process, some sites suggested reinstalling MariaDB. I did this but did not realize that the reinstall would delete the databases. In WEBOZO which is my server admin program, it had a reinstall option for MariaDB, when I clicked it it told me that there would be a backup made. However, the backup failed because there was a new empty database that could not be dumped, so the backup did not complete. Bottomline I had no current backup. After I realized that after the reinstall of the mariaDB server, all my databases were gone, I searched for the backup but it then was clear that it did not happen.
So I only had a backup from April, I restored this and it installed all my DBs, but of course with April data.
The issue I have now is that all my NextCloud files do not show in any User dashboard. If I go to the files none of them are here. Of course, I checked the data directory and all files are in there. Also, it is not encrypted.
I tried:
occ files:scan --all
occ maintenance:repair
occ upgrade
occ check
occ maintenance:data-fingerprint
occ files:repair-tree
Nothing works, I can log in and I see activities, but I can’t access any file, even though all are in the data folder. Does anyone have a tip for me to get this working again?
Is this the first time you’ve seen this error? (Y/N): Y