Closed Nume1977 closed 1 year ago
I was able to bypass this problem by disabling the virtual host on the Nextcloud config tab, and then manually requesting the LetsEncript certificate.
After the new certificate is installed i re-enabled the virtual host.
Thank you for reporting, I missed this one.
I will try to reproduce the issue and search for a fix.
I've tried to reproduce the error but I correctly requested and renewed the certificate with Nextcloud virtualhost enabled. Please verify the virtualhost used for Nextcloud is not the main FQDN of the machine.
I've tried to reproduce the error but I correctly requested and renewed the certificate with Nextcloud virtualhost enabled. Please verify the virtualhost used for Nextcloud is not the main FQDN of the machine.
The main FQDN is myserver.com, Nextcloud is using cloud.myserver.com.
From what i could understand the "http://cloud.myserver.com/.well-known/acme-challenge/" is not redirecting to the correct place, it seems to send the request to the login page.
I could try to uninstall / reinstall Nextcloud from the control panel and see if the problem persists.
Can someone confirm i will not loose the database / files if i do this?
From what i could understand the "http://cloud.myserver.com/.well-known/acme-challenge/" is not redirecting to the correct place, it seems to send the request to the login page.
That's correct: this is your problem but I'm not able to reproduce it with standard configuration.
Maybe you have extra httpd config?
Can someone confirm i will not loose the database / files if i do this?
Data are preserved, but please execute a backup first. Still I do not think the reinstall will solve your problem.
Please open a new thread inside https://community.nethserver.org/ and let's see if anyone else have the same problem. I'm closing this issue for now.
Using: Nextcloud 25.0.2 / v1.21.0 Virtual Domain for nextcloud is active, and uses: "cloud.mydomain.com"
Before the update to 1.21.0, SSL renewals worked fine.
I have tracked the failed acme-challange to the "cloud.mydomain.com", all others domains/subdomains renew ok, only Nextcloud fails.
The failed subdomain on the Letsencrypt log: