The Basics
- Nextcloud Server version (e.g., 29.x.x):
30.X.X
- Operating system and version (e.g., Ubuntu 24.04):
24.04.2
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
Nexcloud can’t connect to it’s apache. Waiting for Apache to startup
Apache can’t connect to Nexcloud Wating for Nextcloud to startup
Other connections are successful.
Steps to replicate it:
- Disable internal IPv4 Network in Nextcloud-AIO-Network
- Enable IPv6 Support and give Subnet to the Network
- Ensure Prerequirements like NAT64 etc. are met, to avoid other errors
Main Description
Hi there,
as this is my first post, I want to greet everyone and thanks for all the usefull information here!
I have set up a Nextcloud-AIO-Appliance on Docker, underluying OS is Ubuntu 24 LTS.
The Firewall/Router is OPNSense.
My Goal was to have an IPv6 only Setup, so I can have multiple Services running on my ISP Network with few IPv6 but only one IPv4 Adress.
First, I let the docker network setup default, with just adding the “IPv6=true” to the docker.json located at /etc/docker/daemon.json:
{
"ipv6": true,
}
After that I created a dynamic IPv6 Host for the Ubuntu Server, as my prefix is dynamic, however, is changes rarely (every 180 days or so).
The Server will always get ::beef as GUA-Adress.
I connected the IPv6-Adress to the domain via DynDns cloud.mydomain.de.
Then I installed Nextcloud and everthing went/worked fine!
Till I made the first call with Nextcloud Talk on my ancient Samsung Galaxy S8 with kinda dodgy IPv6 Implemetation.
I noticed that suddenly my firewall blocks traffic on the server network, coming from the internal Docker IPv4 Network 172.0.0.x and the call does not work.
However, a call with my company iPhone in the same network works in 75% of the cases, sometimes it also triggered the issue.
Calls outside of the network work always flawless, also Nexcloud Codecs are awesome!
So I thought, completly disabling IPv4 would be the solution to solve the issue on my Galaxy S8 (like forcing it to use IPv6)
My first approach was to disable IPv4 in the Docker Bridge Network, which let to the fact, the nextcloud and apache doesn’t see each other anymore.
I reverted the change and Nextcloud was back up.
My second approach was to remove the IPv4 Interface Adress of Ubuntu, which let to the fact I was unable to run Updates from German Ubuntu repository, as it only presented a IPv4 Adress.
Solution to this Problem was to implement a working NAT64 Solution to ensure even IPv4-only ressources are available to nextcloud and Ubuntu.
Hint for OPN-Sense Users, this can easily done by using Tayga as plugin.
Again, I was proud of having a totally green System Test in Nextcloud, but the Problematic with the calls still persisted - I still wonder how I can see blocked IPv4 Packets from nextcloud-aio network - running on a host that doens’t even has an IPv4.
So I decided to also disable IPv4 in the docker nextcloud-aio network, as my expectation was that with now working NAT64, it should go well.
I assigned a subnet to the nextcloud-aio network like fc10:c737:c747:c757::/64
This was done by recreating the docker network with:
sudo docker network rm nextcloud-aio
sudo docker network create --ipv4=false --ipv6 --subnet fc10:c737:c747:c757::/64 --driver bridge nextcloud-aio
sudo docker network connect nextcloud-aio nextcloud-aio-mastercontainer
When I start the Mastercontainer and attempt to start all containers, I can see in the protocols that the issue with the not connection containers is back. Now I’m out of ideas..
Is there any known problem with impementing Nextcloud with IPv6 only?
Is there maybe another config file I can adjust to setup apache for IPv6 only too?
Best regards!
John Schnee
Log entries
Nextcloud
2025-07-19T02:06:19.160765563Z Connection to nextcloud-aio-database (fc10:c737:c747:c757::5) 5432 port [tcp/postgresql] succeeded!
2025-07-19T02:06:21.191778602Z now
2025-07-19T02:06:21.191799502Z -------------------------------
2025-07-19T02:06:21.191803189Z 2025-07-19 04:06:21.189982+02
2025-07-19T02:06:21.191805904Z (1 row)
2025-07-19T02:06:21.191808579Z
2025-07-19T02:06:21.201910880Z + '[' -f /dev-dri-group-was-added ']'
2025-07-19T02:06:21.202375683Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2025-07-19T02:06:21.203216160Z + '[' -n '' ']'
2025-07-19T02:06:21.203226129Z + set +x
2025-07-19T02:06:21.214084637Z Enabling Imagick...
2025-07-19T02:06:22.609189767Z WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/main: No such file or directory
2025-07-19T02:06:22.609239361Z WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/community: No such file or directory
2025-07-19T02:06:22.654709049Z Connection to nextcloud-aio-redis (fc10:c737:c747:c757::6) 6379 port [tcp/redis] succeeded!
2025-07-19T02:06:24.343837884Z Applying one-click-instance settings...
2025-07-19T02:06:24.736450336Z System config value one-click-instance set to boolean true
2025-07-19T02:06:25.252845017Z System config value one-click-instance.user-limit set to integer 100
2025-07-19T02:06:25.759573484Z System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
2025-07-19T02:06:26.277904814Z support already enabled
2025-07-19T02:06:26.291042071Z Adjusting log files...
2025-07-19T02:06:26.748710315Z System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
2025-07-19T02:06:27.210601956Z System config value logfile set to string /var/www/html/data/nextcloud.log
2025-07-19T02:06:27.667095976Z Config value were not updated
2025-07-19T02:06:28.055519474Z System config value updatedirectory set to string /nc-updater
2025-07-19T02:06:28.524587165Z System config value maintenance_window_start set to integer 100
2025-07-19T02:06:28.537298175Z Applying network settings...
2025-07-19T02:06:28.995028868Z System config value allow_local_remote_servers set to boolean true
2025-07-19T02:06:29.462571426Z System config value davstorage.request_timeout set to integer 3600
2025-07-19T02:06:29.873900358Z System config value trusted_domains => 1 set to string cloud.mydomain.de
2025-07-19T02:06:30.336595770Z System config value overwrite.cli.url set to string https://cloud.mydomain.de/
2025-07-19T02:06:30.744829645Z System config value documentation_url.server_logs set to string https://github.com/nextcloud/all-in-one/discussions/5425
2025-07-19T02:06:31.201579688Z System config value htaccess.RewriteBase set to string /
2025-07-19T02:06:31.656955051Z .htaccess has been updated
2025-07-19T02:06:32.079184222Z System config value dbpersistent set to boolean false
2025-07-19T02:06:32.492757419Z System config value auth.bruteforce.protection.enabled set to boolean true
2025-07-19T02:06:32.932153996Z System config value ratelimit.protection.enabled set to boolean true
2025-07-19T02:06:33.334664412Z System config value files_external_allow_create_new_local set to boolean false
2025-07-19T02:06:34.662767168Z notify_push is up-to-date or no updates could be found
2025-07-19T02:06:35.031156775Z System config value trusted_proxies => 0 set to string 127.0.0.1
2025-07-19T02:06:35.415095580Z System config value trusted_proxies => 1 set to string ::1
2025-07-19T02:06:35.786652344Z Config value were not updated
2025-07-19T02:06:35.800986063Z + echo nextcloud-aio-collabora
2025-07-19T02:06:35.801003807Z + grep -q 'nextcloud-.*-collabora'
2025-07-19T02:06:35.801978208Z + COLLABORA_HOST=cloud.mydomain.de
2025-07-19T02:06:35.801987796Z + set +x
2025-07-19T02:06:36.525148829Z richdocuments is up-to-date or no updates could be found
2025-07-19T02:06:36.882335764Z Config value were not updated
2025-07-19T02:06:37.279499502Z Warning: No ipv4-address found for cloud.mydomain.de.
2025-07-19T02:06:37.603157113Z Config value were not updated
2025-07-19T02:06:37.617378645Z + '[' -z '' ']'
2025-07-19T02:06:37.617405857Z + TALK_HOST=cloud.mydomain
2025-07-19T02:06:37.617410897Z + HPB_PATH=/standalone-signaling/
2025-07-19T02:06:37.617414884Z + '[' -z '' ']'
2025-07-19T02:06:37.617418732Z + TURN_DOMAIN=cloud.mydomain
2025-07-19T02:06:37.617422619Z + set +x
2025-07-19T02:06:38.302319024Z spreed is up-to-date or no updates could be found
2025-07-19T02:06:39.605796651Z Config value recording_servers of app spreed deleted
2025-07-19T02:06:39.619841862Z Connection to nextcloud-aio-clamav (fc10:c737:c747:c757::7) 3310 port [tcp/*] succeeded!
2025-07-19T02:06:40.293920098Z files_antivirus is up-to-date or no updates could be found
2025-07-19T02:06:40.625070767Z Config value were not updated
2025-07-19T02:06:40.951291616Z Config value were not updated
2025-07-19T02:06:41.281257635Z Config value were not updated
2025-07-19T02:06:41.614031573Z Config value were not updated
2025-07-19T02:06:41.937748520Z Config value were not updated
2025-07-19T02:06:42.261565231Z Config value were not updated
2025-07-19T02:06:42.588130515Z System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
2025-07-19T02:06:42.912478401Z System config value enabledPreviewProviders => 23 set to string OC\Preview\ImaginaryPDF
2025-07-19T02:06:43.233071159Z System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
2025-07-19T02:06:43.557864977Z System config value preview_imaginary_key set to string 07ad0d3af7eef719e09c13a5602c87f32bf063b443103697
2025-07-19T02:06:43.571932846Z Connection to nextcloud-aio-fulltextsearch (fc10:c737:c747:c757::8) 9200 port [tcp/*] succeeded!
2025-07-19T02:06:44.246722954Z fulltextsearch is up-to-date or no updates could be found
2025-07-19T02:06:44.938210724Z fulltextsearch_elasticsearch is up-to-date or no updates could be found
2025-07-19T02:06:45.624234416Z files_fulltextsearch is up-to-date or no updates could be found
2025-07-19T02:06:45.975193490Z {
2025-07-19T02:06:45.975214290Z "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
2025-07-19T02:06:45.975219249Z "app_navigation": "0",
2025-07-19T02:06:45.975222936Z "provider_indexed": "",
2025-07-19T02:06:45.975226303Z "cron_err_reset": "1752338422",
2025-07-19T02:06:45.975229569Z "tick_ttl": "1800",
2025-07-19T02:06:45.975232885Z "collection_indexing_list": "50",
2025-07-19T02:06:45.975236292Z "migration_24": "1",
2025-07-19T02:06:45.975239598Z "collection_internal": "local",
2025-07-19T02:06:45.975242954Z "collection_links": "[]"
2025-07-19T02:06:45.975246231Z }
2025-07-19T02:06:46.303287889Z {
2025-07-19T02:06:46.303306074Z "elastic_host": "http:\/\/elastic:1f7c14608cbf357d71fa41d3035354d5360a6454a3f99339@nextcloud-aio-fulltextsearch:9200",
2025-07-19T02:06:46.303310122Z "elastic_index": "nextcloud-aio",
2025-07-19T02:06:46.303313177Z "fields_limit": "10000",
2025-07-19T02:06:46.303315822Z "es_ver_below66": "0",
2025-07-19T02:06:46.303318718Z "elastic_logger_enabled": "true",
2025-07-19T02:06:46.303321393Z "analyzer_tokenizer": "standard",
2025-07-19T02:06:46.303324118Z "allow_self_signed_cert": "false"
2025-07-19T02:06:46.303326913Z }
2025-07-19T02:06:46.624297388Z {
2025-07-19T02:06:46.624316154Z "files_local": "1",
2025-07-19T02:06:46.624319861Z "files_external": "0",
2025-07-19T02:06:46.624322927Z "files_group_folders": "0",
2025-07-19T02:06:46.624325672Z "files_encrypted": "0",
2025-07-19T02:06:46.624328217Z "files_federated": "0",
2025-07-19T02:06:46.624330782Z "files_size": "20",
2025-07-19T02:06:46.624333347Z "files_pdf": "1",
2025-07-19T02:06:46.624335942Z "files_office": "1",
2025-07-19T02:06:46.624338607Z "files_image": "0",
2025-07-19T02:06:46.624343085Z "files_audio": "0",
2025-07-19T02:06:46.624345720Z "files_chunk_size": "2",
2025-07-19T02:06:46.624358715Z "files_open_result_directly": "0"
2025-07-19T02:06:46.624360619Z }
2025-07-19T02:06:47.623799915Z whiteboard is up-to-date or no updates could be found
2025-07-19T02:06:47.959162065Z Config value were not updated
2025-07-19T02:06:48.289661135Z Config value were not updated
2025-07-19T02:06:48.312720291Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:06:53.322611855Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:06:58.332671209Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:03.353228931Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:08.375375892Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:13.396141720Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:18.406448428Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:23.427348871Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:28.437873773Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:33.448496201Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:38.459020593Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:43.469332877Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:48.479694705Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:53.499840495Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:07:58.510007558Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:08:03.532063911Z Waiting for nextcloud-aio-apache to start...
2025-07-19T02:08:08.542537281Z Waiting for nextcloud-aio-apache to start...
APACHE
2025-07-19T02:06:22.447403793Z Waiting for Nextcloud to start...
2025-07-19T02:06:27.450082009Z Waiting for Nextcloud to start...
2025-07-19T02:06:32.453267133Z Waiting for Nextcloud to start...
2025-07-19T02:06:37.455467123Z Waiting for Nextcloud to start...
2025-07-19T02:06:42.457487945Z Waiting for Nextcloud to start...
2025-07-19T02:06:47.459446094Z Waiting for Nextcloud to start...
2025-07-19T02:06:52.461512667Z Waiting for Nextcloud to start...
2025-07-19T02:06:57.463619950Z Waiting for Nextcloud to start...
2025-07-19T02:07:02.466002084Z Waiting for Nextcloud to start...
2025-07-19T02:07:07.468401290Z Waiting for Nextcloud to start...
2025-07-19T02:07:12.470753176Z Waiting for Nextcloud to start...
2025-07-19T02:07:17.472863334Z Waiting for Nextcloud to start...
2025-07-19T02:07:22.475614484Z Waiting for Nextcloud to start...
2025-07-19T02:07:27.477696868Z Waiting for Nextcloud to start...
2025-07-19T02:07:32.480263699Z Waiting for Nextcloud to start...
2025-07-19T02:07:37.482274346Z Waiting for Nextcloud to start...
2025-07-19T02:07:42.484390787Z Waiting for Nextcloud to start...
2025-07-19T02:07:47.486538444Z Waiting for Nextcloud to start...
2025-07-19T02:07:52.488603446Z Waiting for Nextcloud to start...
2025-07-19T02:07:57.490784979Z Waiting for Nextcloud to start...
2025-07-19T02:08:02.492846635Z Waiting for Nextcloud to start...
2025-07-19T02:08:07.495099092Z Waiting for Nextcloud to start...
2025-07-19T02:08:12.496991465Z Waiting for Nextcloud to start...
2025-07-19T02:08:17.499155396Z Waiting for Nextcloud to start...
2025-07-19T02:08:22.501228532Z Waiting for Nextcloud to start...
2025-07-19T02:08:27.503329462Z Waiting for Nextcloud to start...
2025-07-19T02:08:32.505623970Z Waiting for Nextcloud to start...
2025-07-19T02:08:37.507870737Z Waiting for Nextcloud to start...
2025-07-19T02:08:42.510769803Z Waiting for Nextcloud to start...
2025-07-19T02:08:47.512929650Z Waiting for Nextcloud to start...
2025-07-19T02:08:52.515224572Z Waiting for Nextcloud to start...