Copy paste this into your post and fill as many content as possible.
support intro and small formatting help
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 good and quickly as possible please follow the steps below to make it easier for us
- use search to using errors or logs
- provide as much of the below as you can.
- choose right support category and tag
Feel free to use a pastebin service for logs. Try to format you message using
*italic*
- italic
**bold**
- bold
- format “
code
” and “logs
” with either
- four spaces indent or single backticks around for short log examples:short log snippet with intent
short log snippet with single backticks
- Or for longer logs, use three backticks before and after code snippet:
longer log output
example
can be formatted with 3 back-ticks around the sample
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
system information
- if you have systeminfo app installed you will find the required data on
https://{your nextcloud}/settings/admin/serverinfo
- collect anonymized system report using
https://{your nextcloud}/settings/admin/support
A |
B |
Nextcloud version (eg, 26.0.1): |
29? |
Operating system and version (eg, Ubuntu 22.04): |
Debian GNU/Linux 12 (bookworm) |
Apache or nginx version (eg, Apache 2.4.25): |
not available |
PHP version (eg, 8.1): |
not available |
Database (sqlite or MariaDB or Postgres) |
not available |
Docker (compose) |
27.0.3 |
Snap |
|
Is this the first time you’ve seen this error? |
yes |
The issue you are facing:
- Port Forward ports 80, 443 & 8443 in my router
- Open the same ports in UFW
- Setup Nextcloud AIO docker container with the following script ! /bin/bash
For Linux and without a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) already in place:
sudo docker run
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 80:80
–publish 8080:8080
–publish 8443:8443
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
–env NEXTCLOUD_DATADIR=“/mnt/ncdata”
nextcloud/all-in-one:latest
- Log into ip:8080
- Type in domain in “Submit Domain” box
- See error “The domain is not reachable on Port 443 from within this container. Have you opened port 443/tcp in your router/firewall? If yes is the problem most likely that the router or firewall forbids local access to your domain. You can work around that by setting up a local DNS-server.”
- The output of your Nextcloud log in Admin > Logging:
Not available
- The output of your config.php file in
/path/to/nextcloud
**
(use https://.../settings/admin/support
which auto-removes identifying information!):
Not available
- for Docker/Podman list environment variables ( run “
docker inspect {container name}
”)**
[
{
"Id": "2ed4538221856cef64435e90c6e037b30a1fff5b24a6326681978061dca3fe4c",
"Created": "2024-07-17T18:59:01.436029191Z",
"Path": "/start.sh",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 77261,
"ExitCode": 0,
"Error": "",
"StartedAt": "2024-07-17T18:59:01.826737703Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2024-07-17T16:10:04.281083849-03:00",
"End": "2024-07-17T16:10:04.372395652-03:00",
"ExitCode": 0,
"Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
},
{
"Start": "2024-07-17T16:10:34.373860708-03:00",
"End": "2024-07-17T16:10:34.490535766-03:00",
"ExitCode": 0,
"Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
},
{
"Start": "2024-07-17T16:11:04.491226099-03:00",
"End": "2024-07-17T16:11:04.614724959-03:00",
"ExitCode": 0,
"Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
},
{
"Start": "2024-07-17T16:11:34.61569299-03:00",
"End": "2024-07-17T16:11:34.700457582-03:00",
"ExitCode": 0,
"Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
},
{
"Start": "2024-07-17T16:12:04.70084237-03:00",
"End": "2024-07-17T16:12:04.79658047-03:00",
"ExitCode": 0,
"Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
}
]
}
},
"Image": "sha256:c5eed2c975d34ab711356dac889fa892d9072f1b252c23aa82a5aaed02efe1e6",
"ResolvConfPath": "/var/lib/docker/containers/2ed4538221856cef64435e90c6e037b30a1fff5b24a6326681978061dca3fe4c/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/2ed4538221856cef64435e90c6e037b30a1fff5b24a6326681978061dca3fe4c/hostname",
"HostsPath": "/var/lib/docker/containers/2ed4538221856cef64435e90c6e037b30a1fff5b24a6326681978061dca3fe4c/hosts",
"LogPath": "/var/lib/docker/containers/2ed4538221856cef64435e90c6e037b30a1fff5b24a6326681978061dca3fe4c/2ed4538221856cef64435e90c6e037b30a1fff5b24a6326681978061dca3fe4c-json.log",
"Name": "/nextcloud-aio-mastercontainer",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"nextcloud_aio_mastercontainer:/mnt/docker-aio-config",
"/var/run/docker.sock:/var/run/docker.sock:ro"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "bridge",
"PortBindings": {
"80/tcp": [
{
"HostIp": "",
"HostPort": "80"
}
],
"8080/tcp": [
{
"HostIp": "",
"HostPort": "8080"
}
],
"8443/tcp": [
{
"HostIp": "",
"HostPort": "8443"
}
]
},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
24,
163
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": [],
"BlkioDeviceWriteBps": [],
"BlkioDeviceReadIOps": [],
"BlkioDeviceWriteIOps": [],
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": [],
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/1cc2af7abe77da54f0311214353f19def148f4b7f0570237fc24b3127b86b231-init/diff:/var/lib/docker/overlay2/02c6302d2ad420f8784850d2e2099fd217f3ed4bde951ddb661398e5ce6ae717/diff:/var/lib/docker/overlay2/d08f93d6c134e8713fc6081ccc70faba99e296354947fef21c4581f989a51930/diff:/var/lib/docker/overlay2/622541d3e063085a9e30822f30db58717539cfba8166dbf05e47b7355b828cc3/diff:/var/lib/docker/overlay2/7296731d4e43e2baa4bf611ef0a16561192baae443b6430cbc358f246cfc8f7f/diff:/var/lib/docker/overlay2/bb767769cd83e60461d0af4aa063d688ec7d256e393788cf1f3d8f886d46b36f/diff:/var/lib/docker/overlay2/66e63cb3cb9dcf619757312078e7cb7c6a777df7feae1a42821facdea2e4ad23/diff:/var/lib/docker/overlay2/7cad0d9293f51e50ea5a9cff243def974c1aa329636d31661686f045f065b088/diff:/var/lib/docker/overlay2/7bf6d5e8cef016dd5d0cdf3de020d7d0c347e43e76ddda07cf90882c49ded8dc/diff:/var/lib/docker/overlay2/c200892519a41643bbef8f675585be69902ecf643aa2522821820da544947024/diff:/var/lib/docker/overlay2/53c9a7dc2304b2e7bcff698160ebcca1426c6495d91d67652e57c32c48ecafff/diff:/var/lib/docker/overlay2/2a8d3a56fb3be6f27a5339028e64c6f5052d2ad748ea6d1bc3061a80eee06df3/diff:/var/lib/docker/overlay2/8a2337e505a422fc054602f29623a8eeb9b5a75cb8b1547d8accdcb0eefd65c5/diff:/var/lib/docker/overlay2/ebd0160a99f67f4b5a0b221306ab3acef1603fd47f730e593687581d2082050c/diff:/var/lib/docker/overlay2/33346e99b13b4e86fdb480cc295d3322e1707414cd4ae0bd9535a7d7ff386f43/diff:/var/lib/docker/overlay2/81312af0adaa3bd56f4f6f4122d0cbab93a23a74cc9d525fb82804a6c5095a4a/diff:/var/lib/docker/overlay2/63f17453725c95bdd977b9cf806bc5cbb3edc4382154e47613d77f25d27891ac/diff:/var/lib/docker/overlay2/a9da52a090d16303c6a2a52459c8fbd393f32cf571e4c9005d31083172bb1f46/diff:/var/lib/docker/overlay2/45c84bfcd3ab37d6a0aa05319fce54925187f14347eb329584695afc530e9006/diff",
"MergedDir": "/var/lib/docker/overlay2/1cc2af7abe77da54f0311214353f19def148f4b7f0570237fc24b3127b86b231/merged",
"UpperDir": "/var/lib/docker/overlay2/1cc2af7abe77da54f0311214353f19def148f4b7f0570237fc24b3127b86b231/diff",
"WorkDir": "/var/lib/docker/overlay2/1cc2af7abe77da54f0311214353f19def148f4b7f0570237fc24b3127b86b231/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "volume",
"Name": "nextcloud_aio_mastercontainer",
"Source": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
"Destination": "/mnt/docker-aio-config",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "bind",
"Source": "/var/run/docker.sock",
"Destination": "/var/run/docker.sock",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "2ed453822185",
"Domainname": "",
"User": "root",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"80/tcp": {},
"8080/tcp": {},
"8443/tcp": {},
"9000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"NEXTCLOUD_DATADIR=/mnt/ncdata",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
"PHP_INI_DIR=/usr/local/etc/php",
"PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"PHP_LDFLAGS=-Wl,-O1 -pie",
"GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA",
"PHP_VERSION=8.3.8",
"PHP_URL=https://www.php.net/distributions/php-8.3.8.tar.xz",
"PHP_ASC_URL=https://www.php.net/distributions/php-8.3.8.tar.xz.asc",
"PHP_SHA256=aea358b56186f943c2bbd350c9005b9359133d47e954cfc561385319ae5bb8d7"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD-SHELL",
"/healthcheck.sh"
]
},
"Image": "nextcloud/all-in-one:latest",
"Volumes": null,
"WorkingDir": "/var/www/docker-aio",
"Entrypoint": [
"/start.sh"
],
"OnBuild": null,
"Labels": {},
"StopSignal": "SIGQUIT"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "d73ffd64e8f897fac54b47e36bce86d56661dc36115aec862182f99ac41c901a",
"SandboxKey": "/var/run/docker/netns/d73ffd64e8f8",
"Ports": {
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "80"
},
{
"HostIp": "::",
"HostPort": "80"
}
],
"8080/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8080"
},
{
"HostIp": "::",
"HostPort": "8080"
}
],
"8443/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8443"
},
{
"HostIp": "::",
"HostPort": "8443"
}
],
"9000/tcp": null
},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "5709851b29ffc6617c73f458279dcfbbe47536d151972b4be0fefd0ca29d603e",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"MacAddress": "02:42:ac:11:00:02",
"DriverOpts": null,
"NetworkID": "13b4ceb68959d96a161c498ca73afb48a1916da5123735878cd0fde638bd87bc",
"EndpointID": "5709851b29ffc6617c73f458279dcfbbe47536d151972b4be0fefd0ca29d603e",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": null
},
"nextcloud-aio": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"MacAddress": "02:42:ac:12:00:02",
"DriverOpts": null,
"NetworkID": "109157b93e82d7a2e8179a7bf2fa1fde31ce6b4ff1aae87ca2157a9148d56316",
"EndpointID": "2b587bf875b411eb6752db4174ad06d9fcc881be013551e24d5098007190fb44",
"Gateway": "172.18.0.1",
"IPAddress": "172.18.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": [
"nextcloud-aio-mastercontainer",
"2ed453822185"
]
}
}
}
}
]
- The output of your Apache/nginx/system log in
/var/log/____
:
- For Docker/Podman post STDOUT of the container (run
docker logs {container name}
)
Trying to fix docker.sock permissions internally...
Creating docker group internally with id 995
....+....+......+++++++++++++++++++++++++++++++++++++++++++++*..+.+...........+...+..........+..+...+....+..+.............+..+....+.....+....+...+...+.........+..+.+........+......+....+..+...+.+...........+.............+...........+......+.......+..+......+..........+++++++++++++++++++++++++++++++++++++++++++++*..+..+...+.......+...........+.........+.+........................+.......................+.......+...........+............+...+....+.....................+.........+...+...........+....+.....+.+......+.....+.........+.+......+.................+..........+...+..................+.........+..+...+.+.....+.+...+......+......+...+...+...+...........+..........+...+..........................+....+......+......+........+.+...............+.........+.....+.+.................+....+...+.................+....+.........+.....+...+++++
.+......+..+....+...+...+...+......+.....+.........+............+....+...+.....+...+...+....+...+.....+.......+...+++++++++++++++++++++++++++++++++++++++++++++*...+++++++++++++++++++++++++++++++++++++++++++++*.+.........+.......+............+...........+....+......+.........+..................+..+.+....................+..........+..............+..........+...........+......+..........+........................+......+...+..+.+..+.....................+......+.+..+..........+...+........+....+........+.........+...+...............+.......+++++
-----
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080
⚠️ Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!
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:
https://your-domain-that-points-to-this-server.tld:8443
[Wed Jul 17 18:59:04.983783 2024] [mpm_event:notice] [pid 120:tid 139913309109032] AH00489: Apache/2.4.59 (Unix) OpenSSL/3.3.1 configured -- resuming normal operations
[Wed Jul 17 18:59:04.984313 2024] [core:notice] [pid 120:tid 139913309109032] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1721242744.9898782,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1721242744.9910939,"msg":"adapted config to JSON","adapter":"caddyfile"}
[17-Jul-2024 18:59:05] NOTICE: fpm is running, pid 126
[17-Jul-2024 18:59:05] NOTICE: ready to handle connections
- errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors.
Not Available