Hi all,
I seem to have broken my install of NextCloud. I tried to move the data location and didn’t realise the issues it would cause. Unfortunately wiping and reinstalling the NextCloud docker image and linking to a new data share hasn’t solved the issue.
Everytime I try to open the WebUI I get the error that the .ocdata file is missing.
I was given some commands to run (i believe in the NextCloud Terminal) and got the following.
root@90efc764c285:/# /var/www/nextcloud/config/config.php
sh: /var/www/nextcloud/config/config.php: not found
root@90efc764c285:/# ls -al /path/to/datadir
ls: cannot access ‘/path/to/datadir’: No such file or directory
root@90efc764c285:/# sudo -u www-data php /var/www/nextcloud/occ files:scan --all
sudo: unknown user: www-data
sudo: unable to initialize policy plugin
I’m completely lost. My next option feels like rebuilding my Unraid server. Not the end of the world as I only built it the other day, so there is very little on it. Surely there must be a better way.
Please help…