- Nextcloud Server version (e.g., 29.x.x):
Nextcloud AIO v10.15.0
- Operating system and version (e.g., Ubuntu 24.04):
Debian 12 bookworm
On changing router and ISP
- 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:
This error occurs when I now haved moved house, and started up the same server (RPi 5) with the Nc AIO installation that worked before moving, but with a new router (with ports 8443 and 80 open).
The ISP has assured me that the mobile broadband connection are allowing port forwarding on their end, but I don’t have the skills to tell where the error occur. The endpoint is according to the Nextcloud log
Failed to fetch discovery endpoint from https://.org
2025-05-28T21:43:31.519541045Z cURL error 28: Connection timed out after 5002 milliseconds (see libcurl - Error Codes) for https://.org/hosting/discovery
Thankful for any help on how to solve this.
Regards
Andreas
Steps to replicate it (hint: details matter!):
- Get a new home
- Get a Teltonika RUT555 and a mobile ISP
- Start your server
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
2025-05-28T21:42:30.068077035Z Connection to nextcloud-aio-database (172.18.0.3) 5432 port [tcp/postgresql] succeeded!
2025-05-28T21:42:32.123813881Z now
2025-05-28T21:42:32.123865030Z -------------------------------
2025-05-28T21:42:32.123872881Z 2025-05-28 23:42:32.122648+02
2025-05-28T21:42:32.123876307Z (1 row)
2025-05-28T21:42:32.123879141Z
2025-05-28T21:42:32.140792768Z + '[' -f /dev-dri-group-was-added ']'
2025-05-28T21:42:32.141402991Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2025-05-28T21:42:32.142843956Z + '[' -n /dev/dri ']'
2025-05-28T21:42:32.143725030Z ++ find /dev/dri -maxdepth 1 -mindepth 1 -name renderD128
2025-05-28T21:42:32.143919808Z + '[' -n /dev/dri/renderD128 ']'
2025-05-28T21:42:32.144572142Z ++ stat -c %g /dev/dri/renderD128
2025-05-28T21:42:32.151088890Z + GID=105
2025-05-28T21:42:32.152372706Z + groupadd -g 105 render2
2025-05-28T21:42:32.164178680Z ++ getent group 105
2025-05-28T21:42:32.164479088Z ++ cut -d: -f1
2025-05-28T21:42:32.169756000Z + GROUP=render2
2025-05-28T21:42:32.169795000Z + usermod -aG render2 www-data
2025-05-28T21:42:32.183101995Z + touch /dev-dri-group-was-added
2025-05-28T21:42:32.188578315Z + set +x
2025-05-28T21:42:32.217237732Z Enabling Imagick...
2025-05-28T21:42:35.077818384Z WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/main: No such file or directory
2025-05-28T21:42:35.077859199Z WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.21/community: No such file or directory
2025-05-28T21:42:35.176308334Z Connection to nextcloud-aio-redis (172.18.0.5) 6379 port [tcp/redis] succeeded!
2025-05-28T21:42:38.502769936Z Applying one-click-instance settings...
2025-05-28T21:42:39.103901714Z System config value one-click-instance set to boolean true
2025-05-28T21:42:39.750146392Z System config value one-click-instance.user-limit set to integer 100
2025-05-28T21:42:40.414930628Z System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
2025-05-28T21:42:40.951240697Z support already enabled
2025-05-28T21:42:40.963520062Z Adjusting log files...
2025-05-28T21:42:41.591874414Z System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
2025-05-28T21:42:42.398304564Z System config value logfile set to string /var/www/html/data/nextcloud.log
2025-05-28T21:42:43.025529364Z Config value were not updated
2025-05-28T21:42:43.703759369Z System config value updatedirectory set to string /nc-updater
2025-05-28T21:42:44.407861236Z System config value maintenance_window_start set to integer 100
2025-05-28T21:42:44.417357802Z Applying network settings...
2025-05-28T21:42:45.098946963Z System config value allow_local_remote_servers set to boolean true
2025-05-28T21:42:45.747751185Z System config value davstorage.request_timeout set to integer 3600
2025-05-28T21:42:46.318236456Z System config value trusted_domains => 1 set to string vikholmcloud.zapto.org
2025-05-28T21:42:46.965504792Z System config value overwrite.cli.url set to string https://vikholmcloud.zapto.org/
2025-05-28T21:42:47.658997699Z System config value documentation_url.server_logs set to string https://github.com/nextcloud/all-in-one/discussions/5425
2025-05-28T21:42:48.255227837Z System config value htaccess.RewriteBase set to string /
2025-05-28T21:42:48.866082716Z .htaccess has been updated
2025-05-28T21:42:49.396832344Z System config value dbpersistent set to boolean false
2025-05-28T21:42:49.919759445Z System config value auth.bruteforce.protection.enabled set to boolean true
2025-05-28T21:42:50.571806560Z System config value ratelimit.protection.enabled set to boolean true
2025-05-28T21:42:51.216245631Z System config value files_external_allow_create_new_local set to boolean true
2025-05-28T21:42:55.502219041Z notify_push is up-to-date or no updates could be found
2025-05-28T21:42:56.224744422Z System config value trusted_proxies => 0 set to string 127.0.0.1
2025-05-28T21:42:56.919576201Z System config value trusted_proxies => 1 set to string ::1
2025-05-28T21:42:57.625475403Z System config value trusted_proxies => 10 set to string 172.18.0.0/16
2025-05-28T21:42:58.160259876Z Config value were not updated
2025-05-28T21:42:58.171264556Z + echo nextcloud-aio-collabora
2025-05-28T21:42:58.171307370Z + grep -q 'nextcloud-.*-collabora'
2025-05-28T21:42:58.172076649Z + COLLABORA_HOST=vikholmcloud.zapto.org
2025-05-28T21:42:58.172089612Z + set +x
2025-05-28T21:42:59.333063502Z richdocuments is up-to-date or no updates could be found
2025-05-28T21:42:59.968300429Z Config value were not updated
2025-05-28T21:43:00.635200877Z No ipv6-address found for vikholmcloud.zapto.org.
2025-05-28T21:43:01.270957772Z Config value were not updated
2025-05-28T21:43:01.912536417Z System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
2025-05-28T21:43:02.516129447Z System config value enabledPreviewProviders => 23 set to string OC\Preview\ImaginaryPDF
2025-05-28T21:43:03.247443570Z System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
2025-05-28T21:43:03.789499644Z System config value preview_imaginary_key set to string 0e2c7b612ba6645ce6931cb968fcc43e9365273b1b9dd29b
2025-05-28T21:43:03.803005697Z Connection to nextcloud-aio-fulltextsearch (172.18.0.6) 9200 port [tcp/*] succeeded!
2025-05-28T21:43:04.656921247Z fulltextsearch is up-to-date or no updates could be found
2025-05-28T21:43:05.532893661Z fulltextsearch_elasticsearch is up-to-date or no updates could be found
2025-05-28T21:43:06.391761373Z files_fulltextsearch is up-to-date or no updates could be found
2025-05-28T21:43:06.796775573Z {
2025-05-28T21:43:06.796814906Z "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
2025-05-28T21:43:06.796818943Z "app_navigation": "1",
2025-05-28T21:43:06.796821554Z "provider_indexed": "",
2025-05-28T21:43:06.796824054Z "cron_err_reset": "1748447553",
2025-05-28T21:43:06.796826517Z "tick_ttl": "1800",
2025-05-28T21:43:06.796829036Z "collection_indexing_list": "50",
2025-05-28T21:43:06.796831591Z "migration_24": "1",
2025-05-28T21:43:06.796834313Z "collection_internal": "local",
2025-05-28T21:43:06.796836980Z "collection_links": "[]"
2025-05-28T21:43:06.796839517Z }
2025-05-28T21:43:07.219854128Z {
2025-05-28T21:43:07.219886054Z "elastic_host": "http:\/\/elastic:6e49f19fda3d9a2d440002a55938025e479e72d031ad7a3e@nextcloud-aio-fulltextsearch:9200",
2025-05-28T21:43:07.219890109Z "elastic_index": "nextcloud-aio",
2025-05-28T21:43:07.219892720Z "fields_limit": "10000",
2025-05-28T21:43:07.219895294Z "es_ver_below66": "0",
2025-05-28T21:43:07.219897831Z "elastic_logger_enabled": "true",
2025-05-28T21:43:07.219900331Z "analyzer_tokenizer": "standard",
2025-05-28T21:43:07.219902702Z "allow_self_signed_cert": "false"
2025-05-28T21:43:07.219905109Z }
2025-05-28T21:43:07.640665829Z {
2025-05-28T21:43:07.640719441Z "files_local": "1",
2025-05-28T21:43:07.640724181Z "files_external": "0",
2025-05-28T21:43:07.640727737Z "files_group_folders": "0",
2025-05-28T21:43:07.640730367Z "files_encrypted": "0",
2025-05-28T21:43:07.640732718Z "files_federated": "0",
2025-05-28T21:43:07.640735144Z "files_size": "20",
2025-05-28T21:43:07.640737626Z "files_pdf": "1",
2025-05-28T21:43:07.640740126Z "files_office": "1",
2025-05-28T21:43:07.640742348Z "files_image": "0",
2025-05-28T21:43:07.640744755Z "files_audio": "0",
2025-05-28T21:43:07.640747052Z "files_chunk_size": "2",
2025-05-28T21:43:07.640749533Z "files_open_result_directly": "1"
2025-05-28T21:43:07.640752237Z }
2025-05-28T21:43:08.915665658Z whiteboard is up-to-date or no updates could be found
2025-05-28T21:43:09.328521225Z Config value were not updated
2025-05-28T21:43:09.734930007Z Config value were not updated
2025-05-28T21:43:09.764278209Z + '[' true = true ']'
2025-05-28T21:43:09.764328412Z + '[' 443 = 443 ']'
2025-05-28T21:43:09.765478099Z ++ dig nextcloud-aio-apache A +short +search
2025-05-28T21:43:09.765512451Z ++ grep '^[0-9.]\+$'
2025-05-28T21:43:09.765519858Z ++ sort
2025-05-28T21:43:09.765524247Z ++ head -n1
2025-05-28T21:43:09.784260696Z + IPv4_ADDRESS_APACHE=172.18.0.11
2025-05-28T21:43:09.785189215Z ++ dig nextcloud-aio-apache AAAA +short +search
2025-05-28T21:43:09.785215197Z ++ grep '^[0-9a-f:]\+$'
2025-05-28T21:43:09.785218567Z ++ sort
2025-05-28T21:43:09.785514493Z ++ head -n1
2025-05-28T21:43:09.804332405Z + IPv6_ADDRESS_APACHE=
2025-05-28T21:43:09.805540147Z ++ dig nextcloud-aio-mastercontainer A +short +search
2025-05-28T21:43:09.805579721Z ++ grep '^[0-9.]\+$'
2025-05-28T21:43:09.805585314Z ++ sort
2025-05-28T21:43:09.805588054Z ++ head -n1
2025-05-28T21:43:09.824325558Z + IPv4_ADDRESS_MASTERCONTAINER=172.18.0.4
2025-05-28T21:43:09.825247559Z ++ dig nextcloud-aio-mastercontainer AAAA +short +search
2025-05-28T21:43:09.825267374Z ++ grep '^[0-9a-f:]\+$'
2025-05-28T21:43:09.825270726Z ++ sort
2025-05-28T21:43:09.825544708Z ++ head -n1
2025-05-28T21:43:09.844360934Z + IPv6_ADDRESS_MASTERCONTAINER=
2025-05-28T21:43:09.844434545Z + sed -i 's|^;listen.allowed_clients|listen.allowed_clients|' /usr/local/etc/php-fpm.d/www.conf
2025-05-28T21:43:09.847044752Z + sed -i 's|listen.allowed_clients.*|listen.allowed_clients = 127.0.0.1,::1,172.18.0.11,,172.18.0.4,|' /usr/local/etc/php-fpm.d/www.conf
2025-05-28T21:43:09.848785884Z + sed -i '/^listen.allowed_clients/s/,,/,/g' /usr/local/etc/php-fpm.d/www.conf
2025-05-28T21:43:09.850177034Z + sed -i '/^listen.allowed_clients/s/,$//' /usr/local/etc/php-fpm.d/www.conf
2025-05-28T21:43:09.851547276Z + grep listen.allowed_clients /usr/local/etc/php-fpm.d/www.conf
2025-05-28T21:43:09.852219314Z listen.allowed_clients = 127.0.0.1,::1,172.18.0.11,172.18.0.4
2025-05-28T21:43:09.852324869Z + set +x
2025-05-28T21:43:11.046998969Z Waiting for nextcloud-aio-apache to become available...
2025-05-28T21:43:11.169570636Z [28-May-2025 23:43:11] NOTICE: fpm is running, pid 305
2025-05-28T21:43:11.169606043Z [28-May-2025 23:43:11] NOTICE: ready to handle connections
2025-05-28T21:43:26.049936149Z Connection to nextcloud-aio-apache (172.18.0.11) 443 port [tcp/https] succeeded!
2025-05-28T21:43:26.052927042Z Activating Collabora config...
2025-05-28T21:43:26.492353534Z ✓ Reset callback url autodetect
2025-05-28T21:43:26.492387294Z Checking configuration
2025-05-28T21:43:26.492391275Z 🛈 Configured WOPI URL: https://<mydomain>.org
2025-05-28T21:43:26.492398145Z 🛈 Configured public WOPI URL: https://<mydomain>.org
2025-05-28T21:43:26.492401368Z 🛈 Configured callback URL:
2025-05-28T21:43:26.492417571Z
2025-05-28T21:43:31.519476267Z Failed to fetch discovery endpoint from https://<mydomain>.org
2025-05-28T21:43:31.519541045Z cURL error 28: Connection timed out after 5002 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://vikholmcloud.zapto.org/hosting/discovery
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
2025-05-28T21:42:35.322885795Z Waiting for Nextcloud to start...
2025-05-28T21:42:40.333480267Z Waiting for Nextcloud to start...
2025-05-28T21:42:45.339886254Z Waiting for Nextcloud to start...
2025-05-28T21:42:50.351307673Z Waiting for Nextcloud to start...
2025-05-28T21:42:55.356841953Z Waiting for Nextcloud to start...
2025-05-28T21:43:00.358908079Z Waiting for Nextcloud to start...
2025-05-28T21:43:05.360977719Z Waiting for Nextcloud to start...
2025-05-28T21:43:10.362681944Z Waiting for Nextcloud to start...
2025-05-28T21:43:15.364813922Z Connection to nextcloud-aio-nextcloud (172.18.0.8) 9000 port [tcp/*] succeeded!
2025-05-28T21:43:16.636841469Z [Wed May 28 23:43:16.635960 2025] [mpm_event:notice] [pid 55:tid 55] AH00489: Apache/2.4.63 (Unix) configured -- resuming normal operations
2025-05-28T21:43:16.637357211Z [Wed May 28 23:43:16.636061 2025] [core:notice] [pid 55:tid 55] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
2025-05-28T21:43:16.665515764Z {"level":"info","ts":1748468596.664986,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
2025-05-28T21:43:16.665562838Z {"level":"info","ts":1748468596.6651425,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":15306802790,"previous":9223372036854775807}
2025-05-28T21:43:16.665574912Z {"level":"info","ts":1748468596.665178,"msg":"using config from file","file":"/tmp/Caddyfile"}
2025-05-28T21:43:16.668639453Z {"level":"info","ts":1748468596.6684368,"msg":"adapted config to JSON","adapter":"caddyfile"}
2025-05-28T21:43:16.675447869Z {"level":"info","ts":1748468596.67515,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."}
2025-05-28T21:43:16.676044888Z {"level":"info","ts":1748468596.6758807,"msg":"serving initial configuration"}
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
{
"system": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"overwritehost": "<mydomain>.org",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"<mydomain>.org"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "30.0.11.1",
"overwrite.cli.url": "https:<mydomain.org>\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"loglevel": "2",
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": "10485760",
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"0": "OC\\Preview\\Imaginary",
"1": "OC\\Preview\\ImaginaryPDF",
"2": "OC\\Preview\\Image",
"3": "OC\\Preview\\Movie",
"4": "OC\\Preview\\ImaginaryPDF",
"5": "OC\\Preview\\ImaginaryPDF",
"6": "OC\\Preview\\HEIC",
"7": "OC\\Preview\\ImaginaryPDF",
"8": "OC\\Preview\\ImaginaryPDF",
"9": "OC\\Preview\\TIFF",
"23": "OC\\Preview\\ImaginaryPDF"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": "30",
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"updatedirectory": "\/nc-updater",
"davstorage.request_timeout": 3600,
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"files_external_allow_create_new_local": true,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"allow_local_remote_servers": true,
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"appsallowlist": false,
"data-fingerprint": "###",
"maintenance_window_start": 100,
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"memories.db.triggers.fcu": true,
"memories.gis_type": 2,
"memories.vod.vaapi": true,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"app_install_overwrite": [
"maps",
"integration_openstreetmap",
"apporder"
],
"memories.video_default_quality": "-1",
"memories.vod.disable": false,
"memories.exiftool_no_local": true,
"DOMAIN": "<mydomain>.org"
}
}