After installing and starting all docker containers, cant go to initial log in page - Windows 10

  • Issue : Nextcloud AIO Windows 10. Installed everything good but cant login

  • Docker compose :

services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - 8080:8080
    environment:
      APACHE_PORT: 11000
      APACHE_IP_BINDING: 127.0.0.1
      NEXTCLOUD_DATADIR: /run/desktop/mnt/host/f/backup/nextcloud_data
      SKIP_DOMAIN_VALIDATION: true

  caddy:
    image: caddy:alpine
    restart: always
    container_name: caddy
    volumes:
      - caddy_certs:/certs
      - caddy_config:/config
      - caddy_data:/data
      - caddy_sites:/srv
    network_mode: "host"
    configs:
      - source: Caddyfile
        target: /etc/caddy/Caddyfile
configs:
  Caddyfile:
    content: |
      # Adjust cloud.example.com to your domain below
      https://nextcloud.local:443 {
        tls internal
        reverse_proxy localhost:11000
      }

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
  caddy_certs:
  caddy_config:
  caddy_data:
  caddy_sites:
  • docker logs nextcloud-aio-apache :
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Connection to nextcloud-aio-nextcloud (172.19.0.8) 9000 port [tcp/*] succeeded!
/usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
[Mon Nov 10 23:43:12.254443 2025] [mpm_event:notice] [pid 183:tid 183] AH00489: Apache/2.4.65 (Unix) configured -- resuming normal operations
[Mon Nov 10 23:43:12.254792 2025] [core:notice] [pid 183:tid 183] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"info","ts":1762798392.3204784,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
{"level":"info","ts":1762798392.3208942,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":5531347353,"previous":9223372036854775807}
{"level":"info","ts":1762798392.3209732,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1762798392.3334758,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1762798392.3481944,"msg":"serving initial configuration"}
  • Typing nextcloud.local in chrome/any browser says :
This site can’t be reached

nextcloud.local refused to connect.

Try:

Checking the connection

Checking the proxy and the firewall

ERR_CONNECTION_REFUSED
  • If, localhost:11000 is typed in chrome, it redirects to nextcloud.local/login and same webpage is shown as above.
  • I have also added to my c:\windows\system32\drivers\etc\hosts file :
# Manually by Aanzil
127.0.0.1 nextcloud.local
192.168.1.8 nextcloud.local
  • nextcloud-aio-nextcloud logs :
2025-11-10 23:38:18.986 | Connection to nextcloud-aio-database (172.19.0.5) 5432 port [tcp/postgresql] succeeded!
2025-11-10 23:38:18.987 | + '[' -f /dev-dri-group-was-added ']'
2025-11-10 23:38:18.988 | ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2025-11-10 23:38:18.995 | + '[' -n '' ']'
2025-11-10 23:38:19.154 | Enabling Imagick...
2025-11-10 23:38:33.356 | Initializing Nextcloud 31.0.10.2 ...
2025-11-10 23:39:10.661 | Initializing finished
2025-11-10 23:39:10.661 | New Nextcloud instance.
2025-11-10 23:39:10.673 | Installing with pgsql database
2025-11-10 23:39:10.673 | Starting Nextcloud installation...
2025-11-10 23:40:23.356 | Nextcloud was successfully installed
2025-11-10 23:40:24.641 |  - Repair MySQL collation
2025-11-10 23:40:24.641 |      - Not a mysql database -> nothing to do
2025-11-10 23:40:24.641 |  - Clean tags and favorites
2025-11-10 23:40:24.641 |      - 0 tags of deleted users have been removed.
2025-11-10 23:40:24.653 |      - 0 tags for delete files have been removed.
2025-11-10 23:40:24.659 |      - 0 tag entries for deleted tags have been removed.
2025-11-10 23:38:18.995 | + set +x
2025-11-10 23:38:32.078 | WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.22/main: No such file or directory
2025-11-10 23:38:32.078 | WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.22/community: No such file or directory
2025-11-10 23:38:32.392 | Connection to nextcloud-aio-redis (172.19.0.6) 6379 port [tcp/redis] succeeded!
2025-11-10 23:40:24.660 |      - 0 tags with no entries have been removed.
2025-11-10 23:40:24.660 |  - Repair invalid shares
2025-11-10 23:40:24.663 |  - Move .step file of updater to backup location
2025-11-10 23:40:24.673 |  - Add move avatar background job
2025-11-10 23:40:24.673 |      - Add background job
2025-11-10 23:40:24.699 |  - Add preview cleanup background jobs
2025-11-10 23:40:24.743 |  - Migrate oauth2_clients table to nextcloud schema
2025-11-10 23:40:25.849 |      - Update the oauth2_access_tokens table schema.
2025-11-10 23:40:25.849 |      - Update the oauth2_clients table schema.
2025-11-10 23:40:27.611 |      - Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
2025-11-10 23:40:27.616 |  - Repair language codes
2025-11-10 23:40:27.616 |  - Add log rotate job
2025-11-10 23:40:27.630 |  - Clear frontend caches
2025-11-10 23:40:27.631 |      - Image cache cleared
2025-11-10 23:40:27.848 |      - JS cache cleared
2025-11-10 23:40:27.848 |  - Clear every generated avatar
2025-11-10 23:40:27.848 |  - Add preview background cleanup job
2025-11-10 23:40:27.873 |  - Queue a one-time job to cleanup old backups of the updater
2025-11-10 23:40:27.881 |  - Cleanup invalid photocache files for carddav
2025-11-10 23:40:27.881 |  - Add background job to cleanup login flow v2 tokens
2025-11-10 23:40:27.885 |  - Remove potentially over exposing share links
2025-11-10 23:40:27.885 |      - No need to remove link shares.
2025-11-10 23:40:27.885 |  - Clear access cache of projects
2025-11-10 23:40:27.885 |  - Reset generated avatar flag
2025-11-10 23:40:27.885 |  - Keep legacy encryption enabled
2025-11-10 23:40:27.885 |  - Check encryption key format
2025-11-10 23:40:27.885 |  - Remove old dashboard app config data
2025-11-10 23:40:27.885 |  - Add job to cleanup the bruteforce entries
2025-11-10 23:40:27.891 |  - Queue a one-time job to check for user uploaded certificates
2025-11-10 23:40:27.891 |  - Repair DAV shares
2025-11-10 23:40:27.891 |  - Add background job to set the lookup server share state for users
2025-11-10 23:40:27.896 |  - Add token cleanup job
2025-11-10 23:40:27.901 |  - Clean up abandoned apps
2025-11-10 23:40:27.903 |  - Add possibly missing system config
2025-11-10 23:40:27.903 |  - Add AI tasks cleanup jobs
2025-11-10 23:40:27.927 |  - Queue a job to generate metadata
2025-11-10 23:40:27.932 |  - migrate lazy config values
2025-11-10 23:40:27.935 |  - Cache logo dimension to fix size in emails on Outlook
2025-11-10 23:40:27.935 |      - Theming is not used to provide a logo
2025-11-10 23:40:27.935 |  - Remove legacy ".ocdata" file
2025-11-10 23:40:27.944 |  - Add cleanup-deleted-users background job
2025-11-10 23:40:27.950 |  - Validate account properties and store phone numbers in a known format for search
2025-11-10 23:40:27.954 |      - Queued background to validate account properties.
2025-11-10 23:40:27.954 |  - AppAPI Daemons configuration GPU params update
2025-11-10 23:40:27.959 |      - Daemons configuration GPU params updated: 0
2025-11-10 23:40:27.959 |  - Upgrading Circles App
2025-11-10 23:40:27.985 |  - Fix component of birthday calendars
2025-11-10 23:40:27.988 |      - 0 birthday calendars updated.
2025-11-10 23:40:27.988 |  - Regenerating birthday calendars to use new icons and fix old birthday events without year
2025-11-10 23:40:27.988 |      - Adding background jobs to regenerate birthday calendar
2025-11-10 23:40:27.992 |  - Fix broken values of calendar objects
2025-11-10 23:40:28.003 |     0 [>---------------------------]
2025-11-10 23:40:28.003 |  - Registering building of calendar search index as background job
2025-11-10 23:40:28.004 |      - Add background job
2025-11-10 23:40:28.012 |  - Register building of social profile search index as background job
2025-11-10 23:40:28.016 |  - Registering background jobs to update cache for webcal calendars
2025-11-10 23:40:28.018 |      - Added 0 background jobs to update webcal calendars
2025-11-10 23:40:28.018 |  - Registering building of calendar reminder index as background job
2025-11-10 23:40:28.019 |      - Add background job
2025-11-10 23:40:28.031 |  - Register a background job to update rooms and resources
2025-11-10 23:40:28.034 |  - Queue jobs to clean up orphan event and contact data
2025-11-10 23:40:28.065 |  - Remove activity entries of private events
2025-11-10 23:40:28.097 |      - Removed 0 activity entries
2025-11-10 23:40:28.097 |  - Clean up old calendar subscriptions from deleted users that were not cleaned-up
2025-11-10 23:40:28.098 |     0 [->--------------------------]
2025-11-10 23:40:28.098 |      - 0 calendar subscriptions without an user have been cleaned up
2025-11-10 23:40:28.098 |  - Fix the share type of guest shares when migrating from ownCloud
2025-11-10 23:40:28.098 |  - Copy the share password into the dedicated column
2025-11-10 23:40:28.098 |  - Set existing shares as accepted
2025-11-10 23:40:28.098 |  - Update OAuth token expiration times
2025-11-10 23:40:28.099 |  - init metadata
2025-11-10 23:40:28.100 |  - Switches from default updater server to the customer one if a valid subscription is available
2025-11-10 23:40:28.103 |  - Migrate some config values to lazy loading
2025-11-10 23:40:28.103 |  - Send an admin notification if monthly report is disabled
2025-11-10 23:40:28.108 |  - Force-reset all Text document sessions
2025-11-10 23:40:28.108 |  - Initialize migration of background images from dashboard to theming app
2025-11-10 23:40:28.112 |  - Add background job to check for backup codes
2025-11-10 23:40:28.120 |  - Populating added database structures for workflows
2025-11-10 23:40:29.586 | System config value updatechecker set to boolean false
2025-11-10 23:40:30.497 | Config value 'notify_groups' for app 'updatenotification' is now set to '[]', stored as mixed in fast cache
2025-11-10 23:40:30.526 | Applying default settings...
2025-11-10 23:40:31.403 | System config value loglevel set to integer 2
2025-11-10 23:40:32.336 | System config value log_type set to string file
2025-11-10 23:40:34.418 | System config value logfile set to string /var/www/html/data/nextcloud.log
2025-11-10 23:40:36.664 | System config value log_rotate_size set to integer 10485760
2025-11-10 23:40:38.325 | admin_audit 1.21.0 enabled
2025-11-10 23:40:39.912 | Config value 'logfile' for app 'admin_audit' is now set to '/var/www/html/data/audit.log', stored as mixed in fast cache
2025-11-10 23:40:41.214 | System config value log.condition => apps => 0 set to string admin_audit
2025-11-10 23:40:41.260 | Applying preview settings...
2025-11-10 23:40:42.241 | System config value preview_max_x set to integer 2048
2025-11-10 23:40:43.946 | System config value preview_max_y set to integer 2048
2025-11-10 23:40:45.361 | System config value jpeg_quality set to integer 60
2025-11-10 23:40:46.872 | Config value 'jpeg_quality' for app 'preview' is now set to '60', stored as mixed in fast cache
2025-11-10 23:40:47.720 | System config value enabledPreviewProviders deleted
2025-11-10 23:40:48.589 | System config value enabledPreviewProviders => 1 set to string OC\Preview\Image
2025-11-10 23:40:49.349 | System config value enabledPreviewProviders => 2 set to string OC\Preview\MarkDown
2025-11-10 23:40:50.120 | System config value enabledPreviewProviders => 3 set to string OC\Preview\MP3
2025-11-10 23:40:51.116 | System config value enabledPreviewProviders => 4 set to string OC\Preview\TXT
2025-11-10 23:40:51.902 | System config value enabledPreviewProviders => 5 set to string OC\Preview\OpenDocument
2025-11-10 23:40:53.110 | System config value enabledPreviewProviders => 6 set to string OC\Preview\Movie
2025-11-10 23:40:54.042 | System config value enabledPreviewProviders => 7 set to string OC\Preview\Krita
2025-11-10 23:40:54.861 | System config value enable_previews set to boolean true
2025-11-10 23:40:54.897 | Applying other settings...
2025-11-10 23:40:56.909 | Adding additional fs_storage_path_prefix index to the oc_filecache table, this can take some time...
2025-11-10 23:40:57.341 | oc_filecache table updated successfully.
2025-11-10 23:40:58.275 | System config value upgrade.disable-web set to boolean true
2025-11-10 23:40:59.292 | System config value mail_smtpmode set to string smtp
2025-11-10 23:41:00.158 | System config value trashbin_retention_obligation set to string auto, 30
2025-11-10 23:41:01.164 | System config value versions_retention_obligation set to string auto, 30
2025-11-10 23:41:02.862 | System config value activity_expire_days set to integer 30
2025-11-10 23:41:04.888 | System config value simpleSignUpLink.shown set to boolean false
2025-11-10 23:41:06.031 | System config value share_folder set to string /Shared
2025-11-10 23:41:23.673 | deck 1.15.3 installed
2025-11-10 23:41:23.691 | deck enabled
2025-11-10 23:41:26.788 | twofactor_totp 13.0.0-dev.0 enabled
2025-11-10 23:41:30.869 | tasks 0.17.1 installed
2025-11-10 23:41:30.877 | tasks enabled
2025-11-10 23:41:42.800 | calendar 5.5.8 installed
2025-11-10 23:41:42.811 | calendar enabled
2025-11-10 23:41:48.016 | contacts 7.3.6 installed
2025-11-10 23:41:48.024 | contacts enabled
2025-11-10 23:41:55.872 | notes 4.12.3 installed
2025-11-10 23:41:55.897 | notes enabled
2025-11-10 23:41:59.916 | Applying one-click-instance settings...
2025-11-10 23:42:00.700 | System config value one-click-instance set to boolean true
2025-11-10 23:42:01.526 | System config value one-click-instance.user-limit set to integer 100
2025-11-10 23:42:02.449 | System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
2025-11-10 23:42:04.449 | support already enabled
2025-11-10 23:42:04.489 | Adjusting log files...
2025-11-10 23:42:05.949 | System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
2025-11-10 23:42:07.847 | System config value logfile set to string /var/www/html/data/nextcloud.log
2025-11-10 23:42:08.794 | Config value were not updated
2025-11-10 23:42:09.591 | System config value updatedirectory set to string /nc-updater
2025-11-10 23:42:10.427 | System config value maintenance_window_start set to integer 100
2025-11-10 23:42:10.456 | Applying network settings...
2025-11-10 23:42:11.355 | System config value allow_local_remote_servers set to boolean true
2025-11-10 23:42:12.797 | System config value davstorage.request_timeout set to integer 3600
2025-11-10 23:42:14.906 | System config value trusted_domains => 1 set to string nextcloud.local
2025-11-10 23:42:16.765 | System config value overwrite.cli.url set to string https://nextcloud.local/
2025-11-10 23:42:18.525 | System config value documentation_url.server_logs set to string https://github.com/nextcloud/all-in-one/discussions/5425
2025-11-10 23:42:19.708 | System config value htaccess.RewriteBase set to string /
2025-11-10 23:42:20.715 | .htaccess has been updated
2025-11-10 23:42:22.358 | System config value dbpersistent set to boolean false
2025-11-10 23:42:24.014 | System config value auth.bruteforce.protection.enabled set to boolean true
2025-11-10 23:42:25.049 | System config value ratelimit.protection.enabled set to boolean true
2025-11-10 23:42:26.457 | System config value files_external_allow_create_new_local set to boolean false
2025-11-10 23:42:28.459 | nextcloud-aio 0.8.0 enabled
2025-11-10 23:42:38.943 | notify_push 1.2.1 installed
2025-11-10 23:42:38.950 | notify_push enabled
2025-11-10 23:42:40.100 | System config value trusted_proxies => 0 set to string 127.0.0.1
2025-11-10 23:42:41.483 | System config value trusted_proxies => 1 set to string ::1
2025-11-10 23:42:42.827 | System config value trusted_proxies => 10 set to string 172.19.0.0/16
2025-11-10 23:42:44.320 | Config value 'base_endpoint' for app 'notify_push' is now set to 'https://nextcloud.local/push', stored as mixed in fast cache
2025-11-10 23:42:46.669 | System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
2025-11-10 23:42:48.979 | System config value enabledPreviewProviders => 23 set to string OC\Preview\ImaginaryPDF
2025-11-10 23:42:49.976 | System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
2025-11-10 23:42:50.911 | System config value preview_imaginary_key set to string a8412bc5295fb58d40a116cba69e2e258f7b799cb92e58f6
2025-11-10 23:42:52.749 | app_api 5.0.2 disabled
2025-11-10 23:43:01.058 | whiteboard 1.4.1 installed
2025-11-10 23:43:01.076 | whiteboard enabled
2025-11-10 23:43:02.556 | Config value 'collabBackendUrl' for app 'whiteboard' is now set to 'https://nextcloud.local/whiteboard', stored as mixed in fast cache
2025-11-10 23:43:04.025 | Config value 'jwt_secret_key' for app 'whiteboard' is now set to '0e360519be73f099a06fc79be6fbd8c5e9d8673a871470bd', stored as mixed in fast cache
2025-11-10 23:43:06.331 | Waiting for nextcloud-aio-apache to become available...
2025-11-10 23:43:04.213 | + '[' true = true ']'
2025-11-10 23:43:04.213 | + '[' 11000 = 443 ']'
2025-11-10 23:43:04.213 | + set +x
2025-11-10 23:43:05.048 | /usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
2025-11-10 23:43:05.048 |   import pkg_resources
2025-11-10 23:43:06.767 | [10-Nov-2025 23:43:06] NOTICE: fpm is running, pid 415
2025-11-10 23:43:06.767 | [10-Nov-2025 23:43:06] NOTICE: ready to handle connections
2025-11-10 23:43:21.338 | Connection to nextcloud-aio-apache (172.19.0.9) 11000 port [tcp/*] succeeded!

I request all of you to please suggest me a solution, have been at this since two days. Please ask for any support from me. I am glad to answer.

I could imagine localhost is pointing to caddy itself..

https://nextcloud.local is bad idea as you can’t have valid public TLS certs for such address and you must inject your self-signed certs everywhere.. check you containers with docker inspect (or equivalent command in windows docker) and try with real IPs to verify if the problem is related to dns and IP or another issue

@wwe, thanks for your reply.
I can re-install it too. if that domain

is really a bad idea. Can you suggest me exact steps, like any other domain ? If you are not suggesting that a proper resinstall would solve the problem, what exactly should I look into ?

In the video I attached, the youtuber actually uses “family.cloud” as the caddy reverse proxy.

Please suggest the changes required. Or guide me how to debug exactly. It would be much better if you give me commands to execute and I will paste the output here.

Sorry, I am very new to this. Your patience and help is much appreciated

I changed this to family.cloud

Now, this is the result in terminal :

PS C:\Users\Aanzil> ping family.cloud

Reply from 192.168.1.8: bytes=32 time<1ms TTL=128
Reply from 192.168.1.8: bytes=32 time<1ms TTL=128
Reply from 192.168.1.8: bytes=32 time<1ms TTL=128
Reply from 192.168.1.8: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.8:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

But, still same result as earlier.

Note : I every time run the following script to properly reset my docker :

docker stop nextcloud-aio-mastercontainer
docker stop nextcloud-aio-domaincheck
docker ps --format '{{.Names}}'
docker stop nextcloud-aio-nextcloud
docker ps --filter "status=exited"
docker container prune
docker network rm nextcloud-aio
docker volume ls --filter "dangling=true"
docker volume prune --filter all=1
docker volume rm nextcloud_aio_backupdir
docker volume rm nextcloud_aio_nextcloud_datadir
docker volume ls --format '{{.Name}}'

along with emptying the space in :

F:\backup\nextcloud_data

But I could see some files are generated there :

this is same as .local - there is no valid TLS cert for this domain. Familiarize yourself with TLS certificates and use valid public domain.

sounds like firewall issue.. but might be related to TLS as well - as long caddy doesn’t have a cert for it likely it will refuse the connection. look at the logs..

I suspect you you only want one or the other of these; these are essentially in conflict.

I suggest following:

And possibly exploring other ways to do an AIO local-only deployment (if that is indeed what you’re trying to do; your use of nextcloud.local / an unregistered domain suggests you are, but your mention of a domain like “family.cloud” suggests maybe that you are not trying to do a local only install but maybe just haven’t registered a domain and set up DNS yet?).

Is there any particular reason you’re trying to use an external reverse proxy? I only ask because it’s unnecessary unless you’re running other services and/or some local-only scenarios..

2 Likes