I seem to have encountered the issue where the config.php file is deleted but I’m not sure when as the server hasn’t been restarted for a long time. If I try to access the UI I recieve the error " * Configuration was not read or initialized correctly, not overwriting /var/www/html/config/config.php"
I’ve checked my backups and they all have the config.php as 0 bytes so restoring from there is not possible. I’ve also looked in the data directory and can’t find an “upgrade-somethingsomething” folder to pull a backup from.
I’m using the nextcloud:25.0.3-apache docker image which has been updated many times in the past but I presume no backups are created if you simply update the docker image?
What I do have is
The instance ID of the Server
The complete Data Folder (Unencrypted)
Backups and currently running version of the mariadb database
What is the best way to get the server up and running. I could just do a fresh install and point back to the data files but I’m also running Calendar, Contacts and Tasks that I’d ideally not want to lose.
Any help on next steps would be greatly appreciated
Thanks
It then made me perform an OCC Upgrade command, re-enable 2FA and re login with all my devices and apps. Everything seems to be working fine though and there has been no loss of data, calendar entries or tasks.