Support intro
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 20.0.5): latest AIO Docker
Operating system and version (eg, Ubuntu 20.04): 22.04
Apache or nginx version (eg, Apache 2.4.25): Whatever AIO installs
PHP version (eg, 7.4): Whatever AIO installs
The issue you are facing:
Hello, I’m doing a fresh install of NextCloud AIO using the docker-compose yml file below. the isntall complets I find 3 errors in my nextcloud log regarding environmental variables which are not allowed, but seem very common. I am able to access the intial setup/login page, but fail to confirm the domain name verification resulting in a message stating port 443 is not reachable. I use Cloudflare CNAME (with proxy disabled) and a local version of nginx proxy manager with an SSL for this domain name.
Errors:
The environmental variable APACHE_DISABLE_REWRITE_IP has been set which is not supported by AIO. Please remove it!
The environmental variable NEXTCLOUD_TRUSTED_DOMAINS has been set which is not supported by AIO. Please remove it!
The environmental variable TRUSTED_PROXIES has been set which is not supported by AIO. Please remove it!
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
- Fresh install of Ubuntu 22.04 vm on Proxmox
- Separate installation installed of Nginx Proxy Manager
- Standard install of docker and docker-compose
The output of your Nextcloud log :
nextcloud-aio-mastercontainer is up-to-date
Attaching to nextcloud-aio-mastercontainer
nextcloud-aio-mastercontainer | Trying to fix docker.sock permissions internally...
nextcloud-aio-mastercontainer | Adding internal www-data to group ping
nextcloud-aio-mastercontainer | The environmental variable APACHE_DISABLE_REWRITE_IP has been set which is not supported by AIO. Please remove it!
nextcloud-aio-mastercontainer | The environmental variable NEXTCLOUD_TRUSTED_DOMAINS has been set which is not supported by AIO. Please remove it!
nextcloud-aio-mastercontainer | The environmental variable TRUSTED_PROXIES has been set which is not supported by AIO. Please remove it!
nextcloud-aio-mastercontainer | ...+........+.+......+.....+...+.......++++++++........+.+............+..+...................+......+....................+.+........+.+...+...+..+..........+...+...+.........+..+....+..+.........+....+.........+.+......+..............+....+...........+...............+.........+......+.........+.......+.........+...+...........+++++
nextcloud-aio-mastercontainer | .............++++++++++++++++++++++++..+.........+..........................+.......+.....+.+..............+...+.........+.+...........................+..+.+............+...+............+..+.....+..............+.............+...+..+.........+.+..+.......+.....+++++
nextcloud-aio-mastercontainer | -----
nextcloud-aio-mastercontainer | Initial startup of Nextcloud All-in-One complete!
nextcloud-aio-mastercontainer | You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
nextcloud-aio-mastercontainer | E.g. https://internal.ip.of.this.server:8080
nextcloud-aio-mastercontainer |
nextcloud-aio-mastercontainer | If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
nextcloud-aio-mastercontainer | https://your-domain-that-points-to-this-server.tld:8443
nextcloud-aio-mastercontainer | {"level":"info","ts":1697332757.1271555,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
nextcloud-aio-mastercontainer | [15-Oct-2023 01:19:17] NOTICE: fpm is running, pid 118
nextcloud-aio-mastercontainer | [15-Oct-2023 01:19:17] NOTICE: ready to handle connections
nextcloud-aio-mastercontainer | [Sun Oct 15 01:19:17.148098 2023] [mpm_event:notice] [pid 112:tid 140193598335816] AH00489: Apache/2.4.57 (Unix) OpenSSL/3.1.2 configured -- resuming normal operations
nextcloud-aio-mastercontainer | [Sun Oct 15 01:19:17.148548 2023] [core:notice] [pid 112:tid 140193598335816] AH00094: Command line: 'httpd -D FOREGROUND'
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
not sure how to locate in docker container
The output of your Apache/nginx/system log in /var/log/____
:
NA
docker-compose.yml file:
version: "3.8"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8080:8080 # change the port on the left side if it's already in use on your host system.
environment:
- APACHE_PORT=11000 # change this port number if 11000 is already in use on your host system.
- APACHE_DISABLE_REWRITE_IP=1
- NEXTCLOUD_TRUSTED_DOMAINS=nextoffice.mydomain.com 192.168.1.51 # Your domain name + proxy hos>
- TRUSTED_PROXIES=192.168.1.51 # proxy host IP