Zugriff über eine nicht vertrauenswürdige Domain

Hallo liebe Nextcloud community,

ich habe das Nexcloud AIO als Docker Container installiert. Nach dem Aufruf von Nextcloud bekomme ich die Meldung " Zugriff über eine nicht vertrauenswürdige Domain" ich suche nun die config.php, wo ich meine domain xxxx.duckdns.org einfügen möchte. Diese ist nicht unter /var/www/… nicht zu finden. Geschweige das Verzeichnis www.

Fragen

  1. Wo ist die config.php?
  2. bzw. welchen docker/occ befehl muss ich ausführen, damit die o.g. domain aufgenommen werden kann?
  3. und ja ich habe das forum durchsucht, bzw google befragt und nein es ist leider nicht unter github dokumentiert

Gruß und Danke

Haydar

Hi, see GitHub - nextcloud/all-in-one: The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

1 Like

Many Thanks Mate,

I read the german version, which was appereantly wrong by the string www
one more question. The structure of the config.php file has been change a lot, what is the correct syntax to add the trusted domain an all the other stuff, which is needed?

Many Thanks

See:

Hi Mate,

so could you please explain, about how or in which fomat to add the above suggestion into a config.php file which looks like this? My below config.php contains only those lines at the moment

“password”: “bla bla bla bla blas”,
“secrets”: {
“INSTANCE_ID”: “ad031a9a0nvkxcnvkdfdfdfdfdfdfdfdfdfdfdfdf”,
“NEXTCLOUD_PASSWORD”: “gfgdfgdfgdfgfdgfdgdfgdfgdfgfdgdfg”,
“BORGBACKUP_PASSWORD”: “dfgdhhgfhfghfghfghfgghfghfgh”
}

}

Hi, this is the wrong file. See GitHub - nextcloud/all-in-one: The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance. instead

this is funny: when i run docker run -it --rm --volume nextcloud_aio_nextcloud:/var/www/html:rw alpine sh -c “apk add --no-cache nano && nano /var/www/html/config/config.php”

I get an empty config.php file, so nothing is in the. I checked the directory /var/www/html/config/config.php" and there is no config.php file

The installtion is a plan debian bookworm install

I found this:

Inside this docker container the config.php should be found.