I can’t create any subdomains anymore !
Unfortunately, I can’t figure what the error is either. It seems like the log go from “self-signed certificate” is ok directly to “error removing the subdomain”.
My YunoHost server
Hardware: Kimsufi KS1 (x86)
YunoHost version: 4.0.4
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain:
-DNS records managed by Gandi, not my server.
-Initial LE certificates ran through a script prior to Yunohost integrated them. I have switched to the “internal” methods a long time ago but I can’t guarantee I’ve not left anything behind. No issue with certificates or renewals, though.
-Yunohost-API disabled, I use the CLI for everything
-Every time I upgrade the yunohost-admin package, I have to manually remove a dead link ca.crt:
tools upgrade.log: ln: failed to create symbolic link '/usr/share/yunohost/admin/ca.crt': File exists
I suspect that’s related to the “old” way of installing certificates and I have no idea if that’s related to my old way of installing script, and it may or not be related to my recent issues, but note that I’ve been able to add and remove domains in the past (like ~1 year ago, give or take)
Description of my issue
When trying to add subdomain:
sudo yunohost domain add mastodon.domain.tld
(Note: in case I would have forgotten about a past add/remove mastodon that would have left things behind, I also tried with different random names, with the same result.)
The commnand generates the self-signed certificates, I can see them in
/etc/yunohost/certs/mastodon.chtisurel.net-history, 1 directory per attempt…
ca.pem, crt.pem, key.pem, openssl.cnf
I don’t really understand where it goes wrong. Based on the log, we generate the certificate, then fail to remove the domain. I don’t understand what’s happening in between or at that step.
Any insight on what’s going on or where I could get more detailed logs (couldn’t find any other than these linked) would be appreciated!
Thanks in advance!