Nextcloud version (eg, 20.0.5): 25.0.1_19.0.11
Operating system and version : TrueNAS-SCALE-22.02.4
Canât seem to find how to get the nextcloud to allow off network access. the Truenas scale support of Nextcloud doesnât have âJAILâ; the SHELL on the app needs intermediate or better understanding on coding (no guidance I can find online) and the WebGI of nextcloud doesnât have an option I can find as well.
To be clear, i am really NEW with Nas and linux based operations. Networking knowledge is lessâŚ
What I have done so far:
-I have a DDNS from FreeDNS (ânameâ.mooo.com)
-Open port 80 and 443 on my router with the IP of Nextcloud
unsure about:
if my router settings is correct
enabling ingress (why?) and how to find the info to put in there
where can i find the WebGI or how to find the path from the shell for TrueNAS Scale to tell nextcloud to allow me in.
Nextcloud (and TrueNAS) donât have any control over your routerâs port forwarding. If you can access from your LAN but not from the internet, then something in your network settings isnât right.
I canât really tell from your screenshots, but I suspect you shouldnât have a CIDR /16 network in your trusted proxies list. Are you even using a proxy?
The numbers in the trusted proxies was auto populated. The 7 different instructions I went through, all said to not change the auto generated ones.
Right now, I think the biggest issue, nextcloud on truenas Scale doesnât have JAIL. At least, that is the biggest difference from all the guides and instructions I have seen.
Do you have any insite where I can plug in my ddns and basically the IP and port info that someone on Truenas Core would do?
Normally this option is not populated at all unless a reverse proxy is in use, and then only the specific IP of the proxy, not 65536 IPs. Without having seen these guides, I canât say why they might do that.
Iâve never used the TrueNAS version of Nextcloud, so I canât say about that.
Nextcloud doesnât manage DDNS, so this will have to go in whatever device is handling that.
Are you asking me to post the guides Iâve been following? Itâs a lot. Lol.
I think Iâm not using effective writing here. The ddns is managed by the host, which in my case freedns (if Iâm understanding the term managed correctly).
In truenas core, you use the âJailâ WebGI or edit the config file from the âshellâ. In Ubuntu OS, you directly edit the config file. With Truenas scale, There isnât a spot on the webgi I can find and the shell option pathway doesnât bring me to the config file and the system editing option on the app icon doesnât have DDNS edit options like truenas scale version 14 (iaw YouTube guide)
My understanding -
freedns manage the ddns address to say, âname.comâ will go to ânumbersâ IP address (I didnât buy a domain). In my case, the nextcloud populated IP address, not the server IP address. (That part is confusing cause one screen on nextcloud saids it is my server IP with port XXXXX, but the webgi says it is a XXX.XX.X.X./16.).
Need to open the 80 and 433 ports in my router.
(Canât find the location of this) find the config file for nextcloud truenas scale or on the nextcloud webgi to allow remote access by plugging in the IP information.
Nextcloud and my server has nothing in it yet, so if I need to delete, reformat and start all over, I will not lose anything.
I donât really understand what youâre saying here.
This part doesnât make sense to me because you donât have to add an IP address to the config file to allow remote access, unless this is something specific to the TrueNAS version.
If Nextcloud is running, the only things you should need for remote access are the port forward and DNS.
So i made some headway and now can see the Nextcloud screen from my DDNS, but stuck at my subdomain (DDNS) is not a trusted domain.
The sad thing, the truenas SCALE is based on a GUI idea and should be idiot proof (I made sure that isnât true). I followed every possible way of adding my âexample.weee.comâ DDNS to the congif_php file, but TrueNAS Scale makes it impossible to find and edit this file.
-I tried going through the TrueNAS CLI Shell option on the server
-Tried going through the Linux Shell option on the server
-Tried going through the Shell by TrueNAS/systemsettings/shell. was able to get to nextcloud files by : âsudo docker exec -it $(sudo docker container ls -q --filter name=k8s_nextcloud_) bashâ. but â#vim /var/www/html/config/config.phpâ doesnât work. editing config/config.php = permission deniedâŚ
-tried looking through the GUI of the ânextcloudâ app/edit settings. nothing there to help.
-also tried going through the SHELL of the nextcloud app itâs self. claims i have zero permissions to do anything there.
any suggestions?
im posting in TrueNAS as well, but figure this shouldnât be a new issue for this soundboard.