Config.php Nextcloud

Hi all, i’m new to Umbrel…
i just install umbrel and install nextcloud.
I will access nextcloud from internet using remote.it but i dont know where the config.php of nextcloud to set trusted domain etc.

thanks

1 Like

In terms of easy of set up and security, it may be easiest to achieve what you want using Tailscale, which is an app on Umbrel as well.

This is an old post but nobody answered your question and as the title is clear for someone else looking for the answer here it is:

The path is umbrel/app-data/nextcloud/data/nextcloud/config/config.php

You should SSH into your umbrel machine and then you can run this command in your terminal to edit the file:
sudo nano umbrel/app-data/nextcloud/data/nextcloud/config/config.php

You add the IP that Tailscale assigned to your Umbrel there. You can also add the onion url for NextCloud if you are planning on connecting over Tor. Follow the same formatting the file already has.

2 Likes

One year later, your post helped some newbie…me! Thank you :+1:

From the Umbrel home page (dashboard?), I went into settings, then opened the terminal in Advanced settings. Copy pasted the command you wrote and entered my Umbrel password

sudo nano umbrel/app-data/nextcloud/data/nextcloud/config/config.php

I scrolled down to the trusted domains section, then added line 9 and line 10 (since there’s already 8 lines on mine) and copy pasted the addresses Tailscale provided. I saved the file by pressing Ctrl+O then Enter, then exited by pressing Ctrl+X (I’m new to CLI so had to search how do I save the file.)

I opened the Nextcloud app and voila! It prompted me to enter username and password which I got from the Nextcloud app store page.

Now I just have to search how I can utilize Nextcloud… :sweat_smile:

2 Likes