Apache does not connect to Nextcloud Container without IPv4

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:

  1. Disable internal IPv4 Network in Nextcloud-AIO-Network
  2. Enable IPv6 Support and give Subnet to the Network
  3. 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...

While AIO supports dual-stack just fine AFAIK, there do look to be some assumptions currently that may prevent it from working if the internal environment is IPv6-only. I have not tried it, but as an example the spot you’re hitting is here - e.g.

Hi,

thank you so much for you reply! I have changed the Nextclou Start.sh file entry to

while [ "$THIS_IS_AIO" = "true" ] && [ -z "$(dig nextcloud-aio-apache AAAA +short +search)" ]; do
    echo "Waiting for nextcloud-aio-apache to start..."
    sleep 5
done

set -x
# shellcheck disable=SC2235
if [ "$THIS_IS_AIO" = "true" ] && [ "$APACHE_PORT" = 443 ]; then
    IPv6_ADDRESS_APACHE="$(dig nextcloud-aio-apache AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"
    IPv6_ADDRESS_MASTERCONTAINER="$(dig nextcloud-aio-mastercontainer AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"

    sed -i "s|^;listen.allowed_clients|listen.allowed_clients|" /usr/local/etc/php-fpm.d/www.conf
    sed -i "s|listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1,$IPv6_ADDRESS_APACHE,$IPv6_ADDRESS_MASTERCONTAINER|" /usr/local/etc/php-fpm.d/www.conf
    sed -i "/^listen.allowed_clients/s/,,/,/g" /usr/local/etc/php-fpm.d/www.conf

Also, I noticed issues in the Apache Start.sh:

# Only start container if nextcloud is accessible
while ! nc -z "$NEXTCLOUD_HOST" 9000; do
    echo "Waiting for Nextcloud to start..."
    sleep 5
done

# Get ipv4-address of Apache
# shellcheck disable=SC2153
IPv4_ADDRESS="$(dig "$APACHE_HOST" A +short +search | head -1)"
# Bring it in CIDR notation
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"

I changed it but then noticed, that there are so many more .sh files, that I better first overlook them all, rather then now randomly “fixing” something inside them.

However, my first changes with removing the IPv4 Lines, nothing changed at all, it is still doing the same behavior.

Thats because of this Line in /nextcloud/entrypoint.sh, which comes right before the lines I edited and for my understyanding, “publishes” the nexcloud adress: Because there is no A Adress, Apache refuses to start.

# Get ipv4-address of Nextcloud
if [ -z "$NEXTCLOUD_HOST" ]; then
    export NEXTCLOUD_HOST="nextcloud-aio-nextcloud"
fi
IPv4_ADDRESS="$(dig "$NEXTCLOUD_HOST" A +short +search | head -1)"
# Bring it in CIDR notation
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"
if [ -n "$IPv4_ADDRESS" ]; then
    php /var/www/html/occ config:system:set trusted_proxies 10 --value="$IPv4_ADDRESS"
fi

if [ -n "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
    php /var/www/html/occ config:system:set trusted_domains 2 --value="$ADDITIONAL_TRUSTED_DOMAIN"
fi
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"

So my conclusion is that there are some skripts that need to be reviewed and changed, to ensure IPv6 compability.

Like what I was doing, cutting out the IPv4 Lines is also not so reliable as solution.

Is there any known way to contribute to this topic, rather than now trying to fix all myself?

Like I’m really willed to put some serious effort into it, but I’m not expert in scripting.

Best regards!

John Schnee

1 Like

Hi,

after investigating a bit more, it seems that overall it should not be a big deal to fix the problem.

Following Files need to be adressed:

  1. /Containers/nextcloud/start.sh - Missing IPv6 Routine
  2. /Containers/nextcloud/entrypoint.sh - Missing IPv6 Routine
  3. /Containers/apache/start.sh - Missing IPv6 Routine
  4. /Containers/talk-recording/start.sh - only listens on 127.0.0.1, not [::1]

Can anyone help me with this routine:

# Get ipv4-address of Apache
# shellcheck disable=SC2153
IPv4_ADDRESS="$(dig "$APACHE_HOST" A +short +search | head -1)"
# Bring it in CIDR notation
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"

I’m to stupid to write a similar routine to bring the IPv6-Adress in CIDR-Notation.

I think most of the time its only this routine that is missing or coded only for IPv4.

When I have this, I think i would try to implement it on all areas where it is missing and give feedback if it works or not.

Thank you so much for your support!

Have a nice sunday!

John Schnee

A short Update of wht I’ve learned so far:

The part of the script that sets the “Trusted Proxies” section seems to be the main culprit.

With my poor bash skills, I managed to get apache and nextcloud working with changing following lines:

IPv4_ADDRESS="$(dig "$NEXTCLOUD_HOST" A +short +search | head -1)" 
# Bring it in CIDR notation 
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')" 
if [ -n "$IPv4_ADDRESS" ]; then
    php /var/www/html/occ config:system:set trusted_proxies 10 --value="$IPv4_ADDRESS"
fi

if [ -n "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
    php /var/www/html/occ config:system:set trusted_domains 2 --value="$ADDITIONAL_TRUSTED_DOMAIN"
fi
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"

to

# IPv4_ADDRESS="$(dig "$NEXTCLOUD_HOST" A +short +search | head -1)" 
# Bring it in CIDR notation 
# shellcheck disable=SC2001
# IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"

#if [ -n "$IPv4_ADDRESS" ]; then

php /var/www/html/occ config:system:set trusted_proxies 10 --value="fc12:c737:c747:c757::/64"

#fi

if [ -n "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
    php /var/www/html/occ config:system:set trusted_domains 2 --value="$ADDITIONAL_TRUSTED_DOMAIN"
fi
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"

In the nextcloud/start.sh, I changed the mentioned while loop:

while [ "$THIS_IS_AIO" = "true" ] && [ -z "$(dig nextcloud-aio-apache AAAA +short +search)" ]; do
    echo "Waiting for nextcloud-aio-apache to start..."
    sleep 5
done

This is very ugly, of course, and I expect it to break with updates.

I tried to read the IPv6_Adress, but for now I failed to do so, but here my apoach:

Poor Approach
IPv4_ADDRESS="$(dig "$NEXTCLOUD_HOST" A +short +search | head -1)" 
IPv6_ADDRESS="$(dig "$NEXTCLOUD_HOST" AAAA +short +search | grep '^[0-9a-f:]\+$' | head -n1)"
# Bring it in CIDR notation 
# shellcheck disable=SC2001
IPv4_ADDRESS="$(echo "$IPv4_ADDRESS" | sed 's|[0-9]\+$|0/16|')"
# Initialize Prefix Variable with /64 Subnet
IPv6_SUBNET=":/64"
# Bring it in CIDR notation
IPv6_ADDRESS="$(echo "$IPv6_ADDRESS" | rev | sed 's/:.*//'))"
IPv6_ADDRESS="$IPv6_ADDRESS$IPv6_SUBNET" 
if [ -n "$IPv6_ADDRESS" ]; then
    php /var/www/html/occ config:system:set trusted_proxies 10 --value="$IPv6_ADDRESS"
fi

if [ -n "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
    php /var/www/html/occ config:system:set trusted_domains 2 --value="$ADDITIONAL_TRUSTED_DOMAIN"
fi
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"
Nextcloud-Logs with Static Allowed Proxy
2025-07-23T22:37:19.353918964Z Connection to nextcloud-aio-database (fc12:c737:c747:c757::5) 5432 port [tcp/postgresql] succeeded!
2025-07-23T22:37:21.415750928Z               now              
2025-07-23T22:37:21.415778610Z -------------------------------
2025-07-23T22:37:21.415783299Z  2025-07-24 00:37:21.407246+02
2025-07-23T22:37:21.415787247Z (1 row)
2025-07-23T22:37:21.415791044Z 
2025-07-23T22:37:21.424326170Z + '[' -f /dev-dri-group-was-added ']'
2025-07-23T22:37:21.424847095Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2025-07-23T22:37:21.426501961Z + '[' -n '' ']'
2025-07-23T22:37:21.426611288Z + set +x
2025-07-23T22:37:21.443846900Z Enabling Imagick...
2025-07-23T22:37:22.584994848Z WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/main: No such file or directory
2025-07-23T22:37:22.585013493Z WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/community: No such file or directory
2025-07-23T22:37:22.619150933Z Connection to nextcloud-aio-redis (fc12:c737:c747:c757::6) 6379 port [tcp/redis] succeeded!
2025-07-23T22:37:25.753622001Z Applying one-click-instance settings...
2025-07-23T22:37:26.677314476Z System config value one-click-instance set to boolean true
2025-07-23T22:37:27.726106335Z System config value one-click-instance.user-limit set to integer 100
2025-07-23T22:37:28.814462775Z System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
2025-07-23T22:37:29.798279369Z support already enabled
2025-07-23T22:37:29.810884185Z Adjusting log files...
2025-07-23T22:37:30.742391484Z System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
2025-07-23T22:37:31.769057844Z System config value logfile set to string /var/www/html/data/nextcloud.log
2025-07-23T22:37:32.697816982Z Config value were not updated
2025-07-23T22:37:33.608813195Z System config value updatedirectory set to string /nc-updater
2025-07-23T22:37:34.464558717Z System config value maintenance_window_start set to integer 100
2025-07-23T22:37:34.476473266Z Applying network settings...
2025-07-23T22:37:35.301553547Z System config value allow_local_remote_servers set to boolean true
2025-07-23T22:37:36.148984192Z System config value davstorage.request_timeout set to integer 3600
2025-07-23T22:37:37.001324075Z System config value trusted_domains => 1 set to string cloud.my-domain.com
2025-07-23T22:37:37.839931577Z System config value overwrite.cli.url set to string https://cloud.my-domain.com/
2025-07-23T22:37:38.707767571Z System config value documentation_url.server_logs set to string https://github.com/nextcloud/all-in-one/discussions/5425
2025-07-23T22:37:39.550053020Z System config value htaccess.RewriteBase set to string /
2025-07-23T22:37:40.392224443Z .htaccess has been updated
2025-07-23T22:37:41.238900617Z System config value dbpersistent set to boolean false
2025-07-23T22:37:42.090552492Z System config value auth.bruteforce.protection.enabled set to boolean true
2025-07-23T22:37:42.933591151Z System config value ratelimit.protection.enabled set to boolean true
2025-07-23T22:37:43.805062049Z System config value files_external_allow_create_new_local set to boolean false
2025-07-23T22:37:46.393850581Z notify_push is up-to-date or no updates could be found
2025-07-23T22:37:47.245351551Z System config value trusted_proxies => 0 set to string 127.0.0.1
2025-07-23T22:37:48.086901707Z System config value trusted_proxies => 1 set to string ::1
2025-07-23T22:37:48.960291057Z System config value trusted_proxies => 10 set to string fc12:c737:c747:c757::/64
2025-07-23T22:37:49.817329208Z Config value were not updated
2025-07-23T22:37:49.829563086Z + echo nextcloud-aio-collabora
2025-07-23T22:37:49.829610535Z + grep -q 'nextcloud-.*-collabora'
2025-07-23T22:37:49.830617904Z + COLLABORA_HOST=cloud.my-domain.com
2025-07-23T22:37:49.830627963Z + set +x
2025-07-23T22:37:51.543801387Z richdocuments is up-to-date or no updates could be found
2025-07-23T22:37:52.378851358Z Config value were not updated
2025-07-23T22:37:53.265142607Z Warning: No ipv4-address found for cloud.my-domain.com.
2025-07-23T22:37:54.160033221Z Config value were not updated
2025-07-23T22:37:54.173513079Z + '[' -z '' ']'
2025-07-23T22:37:54.173534680Z + TALK_HOST=cloud.my-domain.com
2025-07-23T22:37:54.173537856Z + HPB_PATH=/standalone-signaling/
2025-07-23T22:37:54.173540160Z + '[' -z '' ']'
2025-07-23T22:37:54.173542334Z + TURN_DOMAIN=cloud.my-domain.com
2025-07-23T22:37:54.173544548Z + set +x
2025-07-23T22:37:55.875254007Z spreed is up-to-date or no updates could be found
2025-07-23T22:37:59.272851626Z Config value recording_servers of app spreed deleted
2025-07-23T22:37:59.288472860Z Connection to nextcloud-aio-clamav (fc12:c737:c747:c757::7) 3310 port [tcp/*] succeeded!
2025-07-23T22:38:01.013505261Z files_antivirus is up-to-date or no updates could be found
2025-07-23T22:38:01.880144179Z Config value were not updated
2025-07-23T22:38:02.738534885Z Config value were not updated
2025-07-23T22:38:03.585034424Z Config value were not updated
2025-07-23T22:38:04.444682074Z Config value were not updated
2025-07-23T22:38:05.325632903Z Config value were not updated
2025-07-23T22:38:06.197799608Z Config value were not updated
2025-07-23T22:38:07.044761061Z System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
2025-07-23T22:38:07.885231493Z System config value enabledPreviewProviders => 23 set to string OC\Preview\ImaginaryPDF
2025-07-23T22:38:08.715955461Z System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
2025-07-23T22:38:09.593294591Z System config value preview_imaginary_key set to string No!
2025-07-23T22:38:09.611335633Z Connection to nextcloud-aio-fulltextsearch (fc12:c737:c747:c757::8) 9200 port [tcp/*] succeeded!
2025-07-23T22:38:11.320576132Z fulltextsearch is up-to-date or no updates could be found
2025-07-23T22:38:13.026342120Z fulltextsearch_elasticsearch is up-to-date or no updates could be found
2025-07-23T22:38:14.743137274Z files_fulltextsearch is up-to-date or no updates could be found
2025-07-23T22:38:15.582988977Z {
2025-07-23T22:38:15.583008544Z     "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
2025-07-23T22:38:15.583012201Z     "app_navigation": "0",
2025-07-23T22:38:15.583014606Z     "provider_indexed": "",
2025-07-23T22:38:15.583016780Z     "cron_err_reset": "1753202527",
2025-07-23T22:38:15.583018864Z     "tick_ttl": "1800",
2025-07-23T22:38:15.583021158Z     "collection_indexing_list": "50",
2025-07-23T22:38:15.583023302Z     "migration_24": "1",
2025-07-23T22:38:15.583025346Z     "collection_internal": "local",
2025-07-23T22:38:15.583027430Z     "collection_links": "[]"
2025-07-23T22:38:15.583029514Z }
2025-07-23T22:38:16.426534849Z {
2025-07-23T22:38:16.426549487Z     "elastic_host": "http:\/\/elastic:1f7c14608cbf357d71fa41d3035354d5360a6454a3f99339@nextcloud-aio-fulltextsearch:9200",
2025-07-23T22:38:16.426552513Z     "elastic_index": "nextcloud-aio",
2025-07-23T22:38:16.426554527Z     "fields_limit": "10000",
2025-07-23T22:38:16.426556260Z     "es_ver_below66": "0",
2025-07-23T22:38:16.426557913Z     "elastic_logger_enabled": "true",
2025-07-23T22:38:16.426559596Z     "analyzer_tokenizer": "standard",
2025-07-23T22:38:16.426561329Z     "allow_self_signed_cert": "false"
2025-07-23T22:38:16.426563183Z }
2025-07-23T22:38:17.272589302Z {
2025-07-23T22:38:17.272606885Z     "files_local": "1",
2025-07-23T22:38:17.272610191Z     "files_external": "0",
2025-07-23T22:38:17.272612506Z     "files_group_folders": "0",
2025-07-23T22:38:17.272614600Z     "files_encrypted": "0",
2025-07-23T22:38:17.272616824Z     "files_federated": "0",
2025-07-23T22:38:17.272618808Z     "files_size": "20",
2025-07-23T22:38:17.272620821Z     "files_pdf": "1",
2025-07-23T22:38:17.272622985Z     "files_office": "1",
2025-07-23T22:38:17.272624979Z     "files_image": "0",
2025-07-23T22:38:17.272627013Z     "files_audio": "0",
2025-07-23T22:38:17.272639637Z     "files_chunk_size": "2",
2025-07-23T22:38:17.272641881Z     "files_open_result_directly": "0"
2025-07-23T22:38:17.272643965Z }
2025-07-23T22:38:19.819189211Z whiteboard is up-to-date or no updates could be found
2025-07-23T22:38:20.666345446Z Config value were not updated
2025-07-23T22:38:21.511776299Z Config value were not updated
2025-07-23T22:38:21.534081797Z + '[' true = true ']'
2025-07-23T22:38:21.534102005Z + '[' 443 = 443 ']'
2025-07-23T22:38:21.534618617Z ++ dig nextcloud-aio-apache AAAA +short +search
2025-07-23T22:38:21.534690853Z ++ grep '^[0-9a-f:]\+$'
2025-07-23T22:38:21.534991632Z ++ sort
2025-07-23T22:38:21.535000839Z ++ head -n1
2025-07-23T22:38:21.553054632Z + IPv6_ADDRESS_APACHE=fc12:c737:c747:c757::d
2025-07-23T22:38:21.553513398Z ++ dig nextcloud-aio-mastercontainer AAAA +short +search
2025-07-23T22:38:21.553608327Z ++ grep '^[0-9a-f:]\+$'
2025-07-23T22:38:21.553688154Z ++ sort
2025-07-23T22:38:21.553870068Z ++ head -n1
2025-07-23T22:38:21.561656678Z + IPv6_ADDRESS_MASTERCONTAINER=fc12:c737:c747:c757::2
2025-07-23T22:38:21.561672207Z + sed -i 's|^;listen.allowed_clients|listen.allowed_clients|' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:38:21.566325184Z + sed -i 's|listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1,,fc12:c737:c747:c757::d,,fc12:c737:c747:c757::2|' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:38:21.568445337Z + sed -i '/^listen.allowed_clients/s/,,/,/g' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:38:21.570334702Z + sed -i '/^listen.allowed_clients/s/,$//' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:38:21.571828165Z + grep listen.allowed_clients /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:38:21.572762821Z listen.allowed_clients = 127.0.0.1,::1,fc12:c737:c747:c757::d,fc12:c737:c747:c757::2
2025-07-23T22:38:21.572957549Z + set +x
2025-07-23T22:38:22.891751351Z Waiting for nextcloud-aio-apache to become available...
2025-07-23T22:38:22.975392023Z [24-Jul-2025 00:38:22] NOTICE: fpm is running, pid 322
2025-07-23T22:38:22.975425687Z [24-Jul-2025 00:38:22] NOTICE: ready to handle connections
2025-07-23T22:38:37.894777960Z Connection to nextcloud-aio-apache (fc12:c737:c747:c757::d) 443 port [tcp/https] succeeded!
2025-07-23T22:38:37.896869905Z Activating Collabora config...
2025-07-23T22:38:38.729636292Z ✓ Reset callback url autodetect
2025-07-23T22:38:38.729658494Z Checking configuration
2025-07-23T22:38:38.729662882Z 🛈 Configured WOPI URL: https://cloud.my-domain.com
2025-07-23T22:38:38.729666449Z 🛈 Configured public WOPI URL: https://cloud.my-domain.com
2025-07-23T22:38:38.729669906Z 🛈 Configured callback URL: 
2025-07-23T22:38:38.729684433Z 
2025-07-23T22:38:38.811553233Z ✓ Fetched /hosting/discovery endpoint
2025-07-23T22:38:38.813266832Z ✓ Valid mimetype response
2025-07-23T22:38:38.815099580Z ✓ Valid capabilities entry
2025-07-23T22:38:38.849649571Z ✓ Fetched /hosting/capabilities endpoint
2025-07-23T22:38:38.849700807Z ✓ Detected WOPI server: Collabora Online Development Edition 25.04.3.2
2025-07-23T22:38:38.851407934Z 
2025-07-23T22:38:38.851428062Z Collabora URL (used for Nextcloud to contact the Collabora server):
2025-07-23T22:38:38.851431889Z   https://cloud.my-domain.com
2025-07-23T22:38:38.851434824Z Collabora public URL (used in the browser to open Collabora):
2025-07-23T22:38:38.851438311Z   https://cloud.my-domain.com
2025-07-23T22:38:38.851441036Z Callback URL (used by Collabora to connect back to Nextcloud):
2025-07-23T22:38:38.851443811Z   autodetected (will use the same URL as your user for browsing Nextcloud)
2025-07-23T22:44:10.196364062Z [24-Jul-2025 00:44:10] NOTICE: Terminating ...
2025-07-23T22:44:10.202006522Z [24-Jul-2025 00:44:10] NOTICE: exiting, bye-bye!
2025-07-23T22:44:10.227179859Z +++ pgrep -f /var/www/html/cron.php
2025-07-23T22:44:10.230507082Z ++ '[' -n '' ']'
2025-07-23T22:44:10.230521569Z ++ echo 'Cronjob successfully exited.'
2025-07-23T22:44:10.230525066Z ++ exit
2025-07-23T22:44:10.230549176Z Cronjob successfully exited.
2025-07-23T22:44:33.625878555Z Waiting for database to start...
2025-07-23T22:44:38.686655686Z Connection to nextcloud-aio-database (fc12:c737:c747:c757::b) 5432 port [tcp/postgresql] succeeded!
2025-07-23T22:44:40.773995348Z               now              
2025-07-23T22:44:40.774014224Z -------------------------------
2025-07-23T22:44:40.774017861Z  2025-07-24 00:44:40.754727+02
2025-07-23T22:44:40.774020676Z (1 row)
2025-07-23T22:44:40.774023301Z 
2025-07-23T22:44:40.788654802Z + '[' -f /dev-dri-group-was-added ']'
2025-07-23T22:44:40.788969630Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2025-07-23T22:44:40.789615948Z + '[' -n '' ']'
2025-07-23T22:44:40.789626197Z + set +x
2025-07-23T22:44:40.809160926Z Connection to nextcloud-aio-redis (fc12:c737:c747:c757::8) 6379 port [tcp/redis] succeeded!
2025-07-23T22:44:45.539303266Z Applying one-click-instance settings...
2025-07-23T22:44:46.604802640Z System config value one-click-instance set to boolean true
2025-07-23T22:44:47.630546231Z System config value one-click-instance.user-limit set to integer 100
2025-07-23T22:44:48.668470377Z System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
2025-07-23T22:44:49.642510067Z support already enabled
2025-07-23T22:44:49.655083011Z Adjusting log files...
2025-07-23T22:44:50.612138317Z System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
2025-07-23T22:44:51.545585985Z System config value logfile set to string /var/www/html/data/nextcloud.log
2025-07-23T22:44:52.481653284Z Config value were not updated
2025-07-23T22:44:53.317978254Z System config value updatedirectory set to string /nc-updater
2025-07-23T22:44:54.171862977Z System config value maintenance_window_start set to integer 100
2025-07-23T22:44:54.182934539Z Applying network settings...
2025-07-23T22:44:55.016250202Z System config value allow_local_remote_servers set to boolean true
2025-07-23T22:44:55.866555615Z System config value davstorage.request_timeout set to integer 3600
2025-07-23T22:44:56.714856516Z System config value trusted_domains => 1 set to string cloud.my-domain.com
2025-07-23T22:44:57.556132681Z System config value overwrite.cli.url set to string https://cloud.my-domain.com/
2025-07-23T22:44:58.414875272Z System config value documentation_url.server_logs set to string https://github.com/nextcloud/all-in-one/discussions/5425
2025-07-23T22:44:59.248375696Z System config value htaccess.RewriteBase set to string /
2025-07-23T22:45:00.116494358Z .htaccess has been updated
2025-07-23T22:45:00.984036241Z System config value dbpersistent set to boolean false
2025-07-23T22:45:01.824457257Z System config value auth.bruteforce.protection.enabled set to boolean true
2025-07-23T22:45:02.664485306Z System config value ratelimit.protection.enabled set to boolean true
2025-07-23T22:45:03.508534620Z System config value files_external_allow_create_new_local set to boolean false
2025-07-23T22:45:06.109796635Z notify_push is up-to-date or no updates could be found
2025-07-23T22:45:06.965272772Z System config value trusted_proxies => 0 set to string 127.0.0.1
2025-07-23T22:45:07.822949673Z System config value trusted_proxies => 1 set to string ::1
2025-07-23T22:45:08.673597166Z System config value trusted_proxies => 10 set to string fc12:c737:c747:c757::/64
2025-07-23T22:45:09.524007674Z Config value were not updated
2025-07-23T22:45:09.535777042Z + echo nextcloud-aio-collabora
2025-07-23T22:45:09.535951308Z + grep -q 'nextcloud-.*-collabora'
2025-07-23T22:45:09.537029285Z + COLLABORA_HOST=cloud.my-domain.com
2025-07-23T22:45:09.537038854Z + set +x
2025-07-23T22:45:11.227631403Z richdocuments is up-to-date or no updates could be found
2025-07-23T22:45:12.102629115Z Config value were not updated
2025-07-23T22:45:13.016730527Z Warning: No ipv4-address found for cloud.my-domain.com.
2025-07-23T22:45:13.848639631Z Config value were not updated
2025-07-23T22:45:13.860793890Z + '[' -z '' ']'
2025-07-23T22:45:13.860823647Z + TALK_HOST=cloud.my-domain.com
2025-07-23T22:45:13.860837052Z + HPB_PATH=/standalone-signaling/
2025-07-23T22:45:13.860839016Z + '[' -z '' ']'
2025-07-23T22:45:13.860840649Z + TURN_DOMAIN=cloud.my-domain.com
2025-07-23T22:45:13.860842252Z + set +x
2025-07-23T22:45:15.560913549Z spreed is up-to-date or no updates could be found
2025-07-23T22:45:18.927172113Z Config value recording_servers of app spreed deleted
2025-07-23T22:45:18.940024353Z Connection to nextcloud-aio-clamav (fc12:c737:c747:c757::a) 3310 port [tcp/*] succeeded!
2025-07-23T22:45:20.637671945Z files_antivirus is up-to-date or no updates could be found
2025-07-23T22:45:21.481863128Z Config value were not updated
2025-07-23T22:45:22.329129764Z Config value were not updated
2025-07-23T22:45:23.166016586Z Config value were not updated
2025-07-23T22:45:24.010642069Z Config value were not updated
2025-07-23T22:45:24.855500104Z Config value were not updated
2025-07-23T22:45:25.696518724Z Config value were not updated
2025-07-23T22:45:26.533470640Z System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
2025-07-23T22:45:27.372005908Z System config value enabledPreviewProviders => 23 set to string OC\Preview\ImaginaryPDF
2025-07-23T22:45:28.220006288Z System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
2025-07-23T22:45:29.069469851Z System config value preview_imaginary_key set to string 07ad0d3af7eef719e09c13a5602c87f32bf063b443103697
2025-07-23T22:45:29.082630949Z Connection to nextcloud-aio-fulltextsearch (fc12:c737:c747:c757::6) 9200 port [tcp/*] succeeded!
2025-07-23T22:45:30.778030275Z fulltextsearch is up-to-date or no updates could be found
2025-07-23T22:45:32.569403633Z fulltextsearch_elasticsearch is up-to-date or no updates could be found
2025-07-23T22:45:34.320295197Z files_fulltextsearch is up-to-date or no updates could be found
2025-07-23T22:45:35.159281322Z {
2025-07-23T22:45:35.159296811Z     "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
2025-07-23T22:45:35.159301029Z     "app_navigation": "0",
2025-07-23T22:45:35.159303835Z     "provider_indexed": "",
2025-07-23T22:45:35.159306820Z     "cron_err_reset": "1753202527",
2025-07-23T22:45:35.159309495Z     "tick_ttl": "1800",
2025-07-23T22:45:35.159312160Z     "collection_indexing_list": "50",
2025-07-23T22:45:35.159314795Z     "migration_24": "1",
2025-07-23T22:45:35.159317420Z     "collection_internal": "local",
2025-07-23T22:45:35.159320096Z     "collection_links": "[]"
2025-07-23T22:45:35.159322811Z }
2025-07-23T22:45:36.000754260Z {
2025-07-23T22:45:36.000774048Z     "elastic_host": "http:\/\/elastic:1f7c14608cbf357d71fa41d3035354d5360a6454a3f99339@nextcloud-aio-fulltextsearch:9200",
2025-07-23T22:45:36.000784808Z     "elastic_index": "nextcloud-aio",
2025-07-23T22:45:36.000786902Z     "fields_limit": "10000",
2025-07-23T22:45:36.000788565Z     "es_ver_below66": "0",
2025-07-23T22:45:36.000790209Z     "elastic_logger_enabled": "true",
2025-07-23T22:45:36.000791882Z     "analyzer_tokenizer": "standard",
2025-07-23T22:45:36.000793595Z     "allow_self_signed_cert": "false"
2025-07-23T22:45:36.000795348Z }
2025-07-23T22:45:36.837406607Z {
2025-07-23T22:45:36.837423569Z     "files_local": "1",
2025-07-23T22:45:36.837426935Z     "files_external": "0",
2025-07-23T22:45:36.837429530Z     "files_group_folders": "0",
2025-07-23T22:45:36.837431584Z     "files_encrypted": "0",
2025-07-23T22:45:36.837433608Z     "files_federated": "0",
2025-07-23T22:45:36.837435963Z     "files_size": "20",
2025-07-23T22:45:36.837438046Z     "files_pdf": "1",
2025-07-23T22:45:36.837440020Z     "files_office": "1",
2025-07-23T22:45:36.837442054Z     "files_image": "0",
2025-07-23T22:45:36.837443958Z     "files_audio": "0",
2025-07-23T22:45:36.837445861Z     "files_chunk_size": "2",
2025-07-23T22:45:36.837447845Z     "files_open_result_directly": "0"
2025-07-23T22:45:36.837449879Z }
2025-07-23T22:45:39.379966217Z whiteboard is up-to-date or no updates could be found
2025-07-23T22:45:40.219600203Z Config value were not updated
2025-07-23T22:45:41.068264964Z Config value were not updated
2025-07-23T22:45:41.090878097Z + '[' true = true ']'
2025-07-23T22:45:41.090895510Z + '[' 443 = 443 ']'
2025-07-23T22:45:41.091333336Z ++ dig nextcloud-aio-apache AAAA +short +search
2025-07-23T22:45:41.091403820Z ++ grep '^[0-9a-f:]\+$'
2025-07-23T22:45:41.091660454Z ++ ++ sorthead 
2025-07-23T22:45:41.091668168Z -n1
2025-07-23T22:45:41.099633045Z + IPv6_ADDRESS_APACHE=fc12:c737:c747:c757::4
2025-07-23T22:45:41.100097015Z ++ dig nextcloud-aio-mastercontainer AAAA +short +search
2025-07-23T22:45:41.100162188Z ++ grep '^[0-9a-f:]\+$'
2025-07-23T22:45:41.100398457Z ++ sort
2025-07-23T22:45:41.100405761Z ++ head -n1
2025-07-23T22:45:41.107974374Z + IPv6_ADDRESS_MASTERCONTAINER=fc12:c737:c747:c757::d
2025-07-23T22:45:41.107988241Z + sed -i 's|^;listen.allowed_clients|listen.allowed_clients|' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:45:41.111091022Z + sed -i 's|listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1,,fc12:c737:c747:c757::4,,fc12:c737:c747:c757::d|' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:45:41.113272609Z + sed -i '/^listen.allowed_clients/s/,,/,/g' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:45:41.115119357Z + sed -i '/^listen.allowed_clients/s/,$//' /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:45:41.116297696Z + grep listen.allowed_clients /usr/local/etc/php-fpm.d/www.conf
2025-07-23T22:45:41.117064322Z listen.allowed_clients = 127.0.0.1,::1,fc12:c737:c747:c757::4,fc12:c737:c747:c757::d
2025-07-23T22:45:41.117221631Z + set +x
2025-07-23T22:45:42.480406713Z Waiting for nextcloud-aio-apache to become available...
2025-07-23T22:45:42.605982459Z [24-Jul-2025 00:45:42] NOTICE: fpm is running, pid 314
2025-07-23T22:45:42.606000673Z [24-Jul-2025 00:45:42] NOTICE: ready to handle connections
2025-07-23T22:45:57.482993132Z Connection to nextcloud-aio-apache (fc12:c737:c747:c757::4) 443 port [tcp/https] succeeded!
2025-07-23T22:45:57.485045688Z Activating Collabora config...
2025-07-23T22:45:58.326445612Z ✓ Reset callback url autodetect
2025-07-23T22:45:58.326463566Z Checking configuration
2025-07-23T22:45:58.326467934Z 🛈 Configured WOPI URL: https://cloud.my-domain.com
2025-07-23T22:45:58.326471581Z 🛈 Configured public WOPI URL: https://cloud.my-domain.com
2025-07-23T22:45:58.326474998Z 🛈 Configured callback URL: 
2025-07-23T22:45:58.326478224Z 
2025-07-23T22:45:58.413397615Z ✓ Fetched /hosting/discovery endpoint
2025-07-23T22:45:58.414605429Z ✓ Valid mimetype response
2025-07-23T22:45:58.415875702Z ✓ Valid capabilities entry
2025-07-23T22:45:58.450633241Z ✓ Fetched /hosting/capabilities endpoint
2025-07-23T22:45:58.450664170Z ✓ Detected WOPI server: Collabora Online Development Edition 25.04.3.2
2025-07-23T22:45:58.451957972Z 
2025-07-23T22:45:58.451970366Z Collabora URL (used for Nextcloud to contact the Collabora server):
2025-07-23T22:45:58.451973993Z   https://cloud.my-domain.com
2025-07-23T22:45:58.451976908Z Collabora public URL (used in the browser to open Collabora):
2025-07-23T22:45:58.451979573Z   https://cloud.my-domain.com
2025-07-23T22:45:58.451982188Z Callback URL (used by Collabora to connect back to Nextcloud):
2025-07-23T22:45:58.451984873Z   autodetected (will use the same URL as your user for browsing Nextcloud)

Conclusion:

Nextcloud-Talk-Record-Server and Whiteboard are appearing yellow in the AIO-Interface.

Interestingly it is possible to create a new Whiteboard.

Nextcloud-Talk and normal File-operations seem to work very well.

I will investigate more and try to create a better solution to the problem and also search for why some services are not running right now.

Best regards!

John Schnee

You seem to be on the right track. I don’t currently have the mental bandwidth to dive into this, but your work so far seems worthy of sticking into a GitHub Issue (to track more fully integrating standalone IPv6 support within AIO). Would you mind creating an Issue for an enhancement that, at a minimum, contains a link to this very thread? You can do so here.

P.S. Even better if you feel up to submitting your changes as a PR outright. They’ll be more likely to get reviewed and tested by others.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.