Title:
Nextcloud 31.0.13:1 fails with “get-ssl-certificate: unknown hostname” although hostname is registered
Hello,
I’m hoping someone from engineering can help diagnose what appears to be an inconsistency between the SSL subsystem and the package binding database.
Environment
-
StartOS 0.4.0.1
-
Nextcloud 31.0.13:1 (Legacy)
-
~1.5 TB of production data stored in Nextcloud
Because of the amount of data, I’m trying to avoid uninstalling the package.
Problem
Nextcloud will not start.
The server logs consistently report:
get-ssl-certificate
unknown hostname: 153.66.101.236
The failure occurs before Nextcloud finishes starting.
What I’ve verified
WAN IP is detected correctly
The server reports:
153.66.101.236
Manual certificate generation succeeds
start-cli net ssl generate-certificate 153.66.101.236
This succeeds.
The package host is registered
start-cli package host nextcloud address main list --format json
returns:
[
{
"address":"nextcloud.twitchy-toga.local",
"public":null,
"private":["enp2s0"]
}
]
The HTTPS binding contains the public IP
Running:
start-cli package host nextcloud binding main list --format json
shows that the UI binding includes:
-
nextcloud.twitchy-toga.local
-
twitchy-toga.local
-
LAN addresses
-
Tor address
-
153.66.101.236 (ssl=true, public=true)
Why I’m confused
The binding database clearly contains the public IP, but during startup get-ssl-certificate reports:
unknown hostname: 153.66.101.236
It appears the binding database recognizes the hostname while the SSL lookup rejects it.
Additional information
I also verified:
-
start-cli net ssl generate-certificate 153.66.101.236succeeds. -
start-cli net vhost dump-tablecontains the Nextcloud virtual host. -
The package script references interface
"main"for the network pointers.
Questions
-
Is this a known issue with StartOS 0.4.0.1 or the legacy Nextcloud package (31.0.13:1)?
-
Is there a safe way to repair the package registration or SSL host database?
-
Is
start-cli package rebuild nextclouda non-destructive operation that preserves the existing data volume?
I’m trying to avoid risking approximately 1.5 TB of Nextcloud data.
Thank you.
I also recommend attaching (rather than pasting) these outputs if the forum allows files:
-
start-cli server logs(showing theunknown hostnameerror) -
start-cli package host nextcloud address main list --format json -
start-cli package host nextcloud binding main list --format json -
start-cli net vhost dump-table
This keeps the post concise while still giving the engineers the detailed diagnostics if they need them.