Nextcloud Tailscale domain not responding

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • No known yet
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Tailscale 1.80.3`
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Tailscale

Summary of the issue you are facing:

I have just installed AIO on Ubuntu 24.04 following the Tailscale guide. When I try to access the Nextcloud instance via the Tailscale domain, it doesn’t return a response.

Steps to replicate it (hint: details matter!):

  1. Install the instance with Tailscale
  2. Set up the containers on Nextcloud (access via IP)
  3. Click the button to open the instance after the containers are deployed, or use the instance’s Tailscale domain

Log entries

Nextcloud

When I run docker logs nexcloud-aio-nextcloud on my server, I get the following error

Failed to fetch discovery endpoint from https:/nextcloud.tail.ts.net
cURL error 6: Could not resolve host: nextcloud.tail.ts.net (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud.tail.ts.net/hosting/discovery

Web Browser

Web server / Reverse Proxy

The output of docker logs containers-nextcloud-aio-caddy-1

{"level":"error","ts":1744901388.1021264,"logger":"tls.obtain","msg":"will retry","error":"[nextcloud.tail.ts.net] Obtain: [nextcloud.tail.ts.net] solving challenge: nextcloud.tail.ts.net: [nextcloud.tail.ts.net] authorization failed: HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: NXDOMAIN looking up A for nextcloud.tail.ts.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for nextcloud.tail.ts.net - check that a DNS record exists for this domain (ca=https://acme-staging-v02.api.letsencrypt.org/directory)","attempt":2,"retrying_in":120,"elapsed":66.929218572,"max_duration":2592000}
{"level":"info","ts":1744901501.1028893,"logger":"tls.obtain","msg":"releasing lock","identifier":"nextcloud.tail.ts.net"}

Configuration

Nextcloud

I don’t know where to find this.

Hi, please post this in this thread: Tailscale (and Caddy as a sidecar) Reverse Proxy · nextcloud/all-in-one · Discussion #5439 · GitHub

1 Like