Sorry, no idea about NabuCasa, but for me it was super simple to get remote access going using the Nginx Proxy Manager add-on. I am using duckdns and simply used it’s own domain for it. But it also works just fine as sub-subdomain, like cloud.yournameofchoice.duckdns.org.
Thanks for the reply. I’ll give this thing one last try via home assistant add one. I desperately want to pull off this self-hosted nextcloud and release the reliance on paid cloud storage!
Hopefully you’ve been able to set this up with Nginx.
I made one of the Nextcloud add-ons discussed here. I have no idea how to get ingress working, I’ve put some time into it but never got it working. I’m not a developer, just a guy that wanted Nextcloud as an add-on and figured out basically how to get it to work.
So, if anybody reading this knows how, feel free to submit a PR I will incorporate it.
Hi, a nice way is to install sambanas to share the local drive as a Smb share. Then, you can add the smb share to nextcloud by installing the External Storage Support app, as described in this tutorial
Nextcloud add-ons let you run a full blown nextcloud instance on your device, using the HA supervisor add-on system (so you get an easy install on HA OS and HA supervised).
Thanks for your answer. I looked for it but it seems that there is no confident way to disable the http redirect. I am new to nextcloud especially the ha-addon version. Can you give me a hint in which way I can disable the nextcloud ssl handling / https redirect. Atm. I am running the eightyguy add-on version of the nextcloud addon.
However, in caddy I can tell it to ignore the self-signed certificate and still use caddy to do the outward facing SSL. So, I think it double SSLs, but it does work. In caddy, you do this, perhaps there is something like it in nginx:
nextcloud.yourdomain.com {
import header
reverse_proxy * {
to 192.168.1.XX:XXX
transport http {
tls
tls_insecure_skip_verify
read_buffer 8192
}
}
all I did was to only define a port mapping for port 80 (not 443) in the add-on configuration and then pointed the proxy host of nginxproxymanager to the IP of my HA device and port I have configured in the add-on settings. Done. I ofc enabled and forced SSL in Nginx. That’s all I did.
edit: I also use the add-on from haberda, which jaaem just linked above
This is exactly what i’m trying. I’ve created a new duckdns subdomain which links in the nginx proxy manage to the nextcloud http port. But when I open the domain in the browser I get an unsecure connection warning.
//EDIT: Get certificate error. So when connecting to nextcoud the browser gets the certificate of home assistant.
thank you anyways. It must be a problem with the nextcloud installation. I even cant get http access in my local network only unsecure https network. maybe i try a fresh installation of the addon including a new database.
//EDIT: I found the issue. I used duckdns before and in the configiration file ha was forced to use ther certs of duckdns addon. After deleting the entries it works. But I mapped nextclouds https protocol and port. Now it works fine!
@DendelX did you ever figure out how to do this? I was able to get the Nextcloud addon working, but not able to mount an SMB reliably. I tried using the External Drives APP - but for whatever reason, it would only sync half the files.