Untrusted Domain

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): Nextcloud
Operating system and version (eg, Ubuntu 20.04): Raspberry Pi OS
Apache or nginx version (eg, Apache 2.4.25): N/A
PHP version (eg, 7.4): N/A

The issue you are facing:

It says my ip is an untrusted domain even though in /data/nextcloud/config/config.php i have made it a trusted domain

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Run docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi $DOMAIN in a terminal to create a docker container

  2. Try to connect using the pi’s ip (mine is static) via a web browser

The output of your Nextcloud log in Admin > Logging:

stopping logs...

Cannot load Zend OPcache - it was already loaded

stopping Cron...

cron: no process found

Cannot load Zend OPcache - it was already loaded

Stopping apache

Stopping PHP-fpm

Stopping mariaDB

LAMP cleanup complete

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Starting PHP-fpm

Cannot load Zend OPcache - it was already loaded

Starting Apache

Starting mariaDB

2021-11-13 22:19:22 0 [Note] mysqld (mysqld 10.3.31-MariaDB-0+deb10u1) starting as process 109 ...

Cannot load Zend OPcache - it was already loaded

Starting Redis

Starting Cron

Starting Postfix

Provisioning

Cannot load Zend OPcache - it was already loaded

Provisioning Redis password

Updating NextCloud config with Redis password

Provisioning MariaDB password

Updating NextCloud config with MariaDB password

Cannot load Zend OPcache - it was already loaded

Running nc-limits

Cannot load Zend OPcache - it was already loaded

Using 3018900480B for PHP

Using 6 PHP threads

Using 955968512 memory for the database

Stopping redis-server: redis-server.

Starting redis-server: redis-server.

Starting notify_push daemon

Configuring Domain

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

System config value trusted_domains => 11 set to string 86.174.182.217

Cannot load Zend OPcache - it was already loaded

System config value trusted_domains => 1 set to string 172.17.0.3

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Nextcloud version 21.0.4.1. NextCloudPi version v1.40.4


e

Cannot load Zend OPcache - it was already loaded

stopping Cron...

stopping Redis...

stopping Postfix...

stopping HPB...

stopping logs...

Cannot load Zend OPcache - it was already loaded

Stopping apache

Stopping PHP-fpm

Stopping mariaDB

LAMP cleanup complete

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Starting PHP-fpm

Cannot load Zend OPcache - it was already loaded

Starting Apache

Starting mariaDB

2021-11-14 13:33:57 0 [Note] mysqld (mysqld 10.3.31-MariaDB-0+deb10u1) starting as process 110 ...

Cannot load Zend OPcache - it was already loaded

Starting Redis

Starting Cron

Starting Postfix

Provisioning

Cannot load Zend OPcache - it was already loaded

Provisioning Redis password

Updating NextCloud config with Redis password

Provisioning MariaDB password

Updating NextCloud config with MariaDB password

Cannot load Zend OPcache - it was already loaded

Running nc-limits

Cannot load Zend OPcache - it was already loaded

Using 3018900480B for PHP

Using 6 PHP threads

Using 955968512 memory for the database

Stopping redis-server: redis-server.

Starting redis-server: redis-server.

Starting notify_push daemon

Configuring Domain

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

System config value trusted_domains => 11 set to string 86.174.182.217

Cannot load Zend OPcache - it was already loaded

System config value trusted_domains => 1 set to string 172.17.0.3

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Cannot load Zend OPcache - it was already loaded

Nextcloud version 21.0.4.1. NextCloudPi version v1.40.4


e

The output of your config.php file in /data/nextcloud/config/config.php

https://prnt.sc/1zkkley -part 1 of screenshot (scribbled out bit is my public ip)
https://prnt.sc/1zkknfz -part 2 of screenshot