# Problem with Logging into NextCloud on Kuberbetes on Raspberrypi Stack

**URL:** <https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993>\
**Category:** ℹ️ Support\
**Created:** [October 25, 2021, 12:28am UTC](https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993 "2021-10-25T00:28:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tedhu](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tedhu/32/63602_2.png) [@tedhu](https://help.nextcloud.com/u/tedhu)\
**Post date:** [October 25, 2021, 12:28am UTC](https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993/1 "2021-10-25T00:28:08Z")

</div>

I am trying to log into my secured Nextcloud instance from outside my local network. I am using a url that is pointing to my IP address and all of this works fine. I get this page:

## Access through untrusted domain

Please contact your administrator. If you are an administrator, edit the “trusted\_domains” setting in config/config.php like the example in config.sample.php.

The problem is that I can’t seem to find this config.php on a Kubernetes installation. I am using Helm to connect to it and an Ubuntu 20.04 local machine. Everything is running properly with the exception that I do not know where the config file is to add a trusted domain.

Has anyone dealt with this issue?

Thank you

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/6_22734026db12803ebb3e059622ac3534.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [October 25, 2021, 1:56am UTC](https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993/2 "2021-10-25T01:56:14Z")

</div>

> [@tedhu](#):
>
> edit the “trusted\_domains” setting in config/config.php like the example in config.sample.php.

Did you [add a Trusted Domain](https://help.nextcloud.com/t/howto-add-a-new-trusted-domain/26)?

---

<div class="post-metadata">

**Author:** ![tedhu](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tedhu/32/63602_2.png) [@tedhu](https://help.nextcloud.com/u/tedhu)\
**Post date:** [October 25, 2021, 2:13am UTC](https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993/3 "2021-10-25T02:13:16Z")

</div>

Thank you, but the files are not located in the places that the documentation tells me to find the.

This setup uses a yaml file. I have checked many times to be sure it is accurate. Still no success.

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/6_22734026db12803ebb3e059622ac3534.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [October 25, 2021, 5:33am UTC](https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993/4 "2021-10-25T05:33:55Z")

</div>

Got it. Check kubernetes documentation and figure out where `/var/www` nextcloud related directories are actually stored on your filesystem. Then you can adjust the commands to run properly

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 4:22pm UTC](https://help.nextcloud.com/t/problem-with-logging-into-nextcloud-on-kuberbetes-on-raspberrypi-stack/125993/5 "2024-09-23T16:22:11Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
