TrueNAS Scale and Charts Nextcloud - how do I set it up to access outside of my network?

oldmichael

Cadet
Joined
Feb 27, 2023
Messages
9
I have TrueNAS Scale and Nextcloud works within my network fine. Even with my cel phone if i'm connected through wi-fi to my network but what do I need to do to set it up so I can upload and download from my Nextcloud server when i'm on the road or on an outside network?

Does this require I set up HTTPS? I notice that when I open Nextcloud on my computer it says "not secure" in the address bar.

What does cron jobs allow me to do? I do believe I have this set up correctly...
 

slacks425

Dabbler
Joined
Aug 6, 2023
Messages
13
Hello @oldmichael
I had just solve this and add my solution in another thread. If you did install the Nextcloud from official repo, then you need to install Nginx Proxy Manager (official repo). Create a Let's Encrypt Certificate for your domain name (you can get a paid domain or a free domain like from duckdns.org or many other dyndns service). Then config the Reverse Proxy in Nginx with some additional parameters for CalDAV and CardDAV. Edit the config.php according to the reverse proxy settings and it should work.

You can have a look at my setup here:

Good luck, I spend quite some time to figure it out but now I have a clean Nextcloud with official TrueNAS app without any error or warning, it worth the effort. Let me know if you are stuck, I might try to write a proper step by step tutorial if I have some time.
 

MichaelN

Cadet
Joined
Feb 27, 2024
Messages
7
Hello @oldmichael
I had just solve this and add my solution in another thread. If you did install the Nextcloud from official repo, then you need to install Nginx Proxy Manager (official repo). Create a Let's Encrypt Certificate for your domain name (you can get a paid domain or a free domain like from duckdns.org or many other dyndns service). Then config the Reverse Proxy in Nginx with some additional parameters for CalDAV and CardDAV. Edit the config.php according to the reverse proxy settings and it should work.

You can have a look at my setup here:

Good luck, I spend quite some time to figure it out but now I have a clean Nextcloud with official TrueNAS app without any error or warning, it worth the effort. Let me know if you are stuck, I might try to write a proper step by step tutorial if I have some time.
How did you get into the NextCloud config.php file to edit it? I cannot SMB into the NC data without error. NC cloud runs fine locally, I just can;t see to connect with my cloudflare tunnel / traefik config.
 
Top