NextCloud will not work

Hello TrueNAS community. I’m new to the landscape but enjoying it very much - however, not all is going as planned.
I’ve installed NextCloud several times and each time I get the same issues:

  • If I use the ‘truenas_default’ certificate, when opening NextCloud it just redirects me back to the TrueNAS login page.
  • If I remove the certificate, I get to the login page (using just the IP address, without HTTPS) but I cannot log in using my username and password.

I’ve used the instructions on the TrueNAS portal to install and configure the NextCloud installation, namely:

  • create 3 data sets - html (general), data (general), postgres_data (general, POSIX ACL)
  • They’re all in my main Pool so I don’t have permissions issues.
  • My IP is added to the trusted domains list.

No other particularities apart from these ones above.

source: Nextcloud | TrueNAS Documentation Hub
note: everything is run in my local network.

I’m at the point of giving up on NextCloud - all other instructions on the web are clearly outdated so this is my last resort to be honest.
Ady advice no matter how small is greatly appreciated! :pray:

1 Like

Hi @Alex_Vlascu, I have pretty much the same issue. I moved from a number of years using Core and have had a bumpy ride with Scale so backed up critical data and nuked configurations and storage pools to star afresh.

Like you, I installed NextCloud a number of times and followed the updated guidance. Everything seems to be working on through Comman Line, but I’m having problems accessing the Web UI.

  1. If I use a certificate for access via TLS, pressing the Web UI button redirect be back to the TrueNAS login.
  2. If I remove the certificate, the page fails to load, citing an inability to establish a secure connection.

Submitting to hopefully generate discussion and seek advice from you wisened TrueNAS Scale veterans!

Is it possible that it doing this because the port nextcloud using keeps disappearing from the URL?
If yes, try adding an additional environment variable with name: OVERWRITEHOST, and value: IP:port.

Unfortunately, I am having the same problem. Any advice would be highly appreciated. Thank you.