April 22, 20223 yr Hi, We have noticed letsencrypt crons getting failed with the below message. Current froxlor version is 0.10.34.1 (DB: 202112310). I have replaced actual domain with domain.com. [error] Could not find certificate-folder '/root/.acme.sh/domain.com/' [error] Could not get Let's Encrypt certificate for domain.com: I have tried disabling SSL and letsencrypt for the website and rerun the crons. After than I have re enabled it once again and manually triggered the cron. Meanwhile the debug also has the same information. Can you let me know why this error is ? And is there a permanent solution for the same? /usr/bin/php7.3 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --debug --force Is it something related to froxlor setting of SSL forced redirect? is it affecting the renewal? SSL redirect: This option creates redirects for non-ssl vhosts so that all requests are redirected to the SSL-vhost.
April 22, 20223 yr The renewals are done via acme.sh's own cronjob, froxlor just checks whether the files in /root/.acme.sh/ are newer than the ones known to it (database). The error you are facing has nothing to do with "failed renew" but rather a domain that is not known to acme.sh (for whatever reason). Delete any occurences in /root/.acme.sh/ if exist and edit the domain, unset let's encrypt, save, edit again, re-enable let's encrypt.
April 22, 20223 yr Author Hi @d00p I have already tried this method. After enabling it again running it I am getting the below message. [error] Could not find certificate-folder '/root/.acme.sh/domain.com/' [error] Could not get Let's Encrypt certificate for domain.com: I have tired the below command and tried it again then returned back with the old error. /root/.acme.sh/acme.sh --remove -d domain.com
April 22, 20223 yr that is actually what happens, as said, acme.sh has its own cronjob for renewing certificates. Froxlor's justs compares the files from the fs to the ones in its database and updates accordingly
June 13, 20223 yr Author Thx @d00p for the clue. I could see when ever the issue happens the script file "/root/.acme.sh/acme.sh" is corrupted or blank for some reason. Fetched the latest script and issue is solved. This is the third time i face the issue. And applied this solution all the time.
Create an account or sign in to comment