Help with Unraid and NextCloud

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…

ok, i fixed it.
I had to Telnet in and remove the app data files that had been built.
Now that they have gone, its working as expected… so far.

Ok,
So I have a new problem…

This site can’t provide a secure connection

                          sent an invalid response.

Try running Windows Network Diagnostics.

ERR_SSL_PROTOCOL_ERROR

Can anyone help me with this?

As far as I know I’m setup correctly. I have my own domain that point to duckdns which points to my IP. As far is I understand that is the correct procedure.

I’m getting all sorts of different errors from, “invalid response” to “took too long to respond” and “refused to connect”

Port Forwarding is setup.

I’m really lost as to why it isn’t working.

It is not possible for me to try the cloudflare option as my domain holder does not permit that changing of Name Servers.

The guide I followed was here https://forums.unraid.net/topic/48383-support-linuxserverio-nextcloud/page/136/?tab=comments#comment-849483

Everything seems to work bar being able to access it over the Internet.