Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

 

Screenshot from 2022-04-22 17-14-57.png

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.

  • 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

  • Author

Hi,

 

Is it possible to renew a domain using /root/.acme.sh/acme.sh script? 

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

  • 1 month later...
  • 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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.