Nextcloud over the internet?

Discussion about CloudSync.
User avatar
TMzethar
TerraMaster Team
Posts: 1213
Joined: 27 Oct 2020, 16:43

Re: Nextcloud over the internet?

Post by TMzethar »

Realize NextCloud extranet access:
You need to set your extranet domain name whitelist in NextCloud configuration file

Enter /mnt/md1/application/web-ext/nextcloud/config/ directory
Edit the'trusted_domains' of the config.php file
'trusted_domains' =>
array (
0 =>'TNAS IP:8181',
),
Add a new domain name whitelist, such as:
'trusted_domains' =>
array (
0 =>'TNAS IP:8181',
1 =>'New domain name: 8181',
),
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
kteach
Posts: 2
Joined: 22 Oct 2020, 09:41

Re: Nextcloud over the internet?

Post by kteach »

This is something I need to do. However, I cannot find the proper config.php. I did find one here:

/mnt/md0/application/web-ext/nextcloud/config/config.php

However, the file is completely blank.

I then, with the help of a tech support from Terramaster found two other potential places. However, both places did not contain a config.php file

/usr/local/pkgs/nextcloud/usr/www/nextcloud/config
"no config.php" file

/usr/local/pkgs/nextcloud/usr/local/web-ext/nextcloud/config/
"no config.php" file

Does anyone else know where I might find the active config.php for the nextcloud install? This is the default install offered by Terramaster in "applications". Thank you for any help!
User avatar
kteach
Posts: 2
Joined: 22 Oct 2020, 09:41

Re: Nextcloud over the internet?

Post by kteach »

Ah, I found my problem. I was using an Admin user to SSH into the NAS. I needed to use root. Once I did, the file shows up here for me

/mnt/md0/application/web-ext/nextcloud/config/config.php

I hope that tip helps someone.
Locked