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

Trying to figure out what's going on with this one...

Was running an older version that I guess had some issues with Let's Encrypt renewals, and back then to "fix" it the easiest option was to nuke existing certs and let the panel/ACME.sh recreate them. After nuking the cert for the panel itself, froxlor seems to no longer be able to create a config for the "Enable Let's Encrypt for the froxlor vhost" option.

I've toggled it on and off, but that hasn't done anything.

Here's a debug run of the cron job:

[root@php8 /usr/local/www]# /usr/local/bin/php -q /usr/local/www/froxlor/bin/froxlor-cli froxlor:cron 'tasks' --debug --force
Checking froxlor file permissions...OK
Running "tasks" job (forced) (debug)
[information] TasksCron: Searching for tasks to do
[information] Running Let's Encrypt cronjob prior to regenerating webserver config files
[information] Checking for LetsEncrypt client upgrades before renewing certificates:
[Sun Sep 10 19:02:01 EDT 2023] Already uptodate!
[Sun Sep 10 19:02:01 EDT 2023] Upgrade success!
[Sun Sep 10 19:02:01 EDT 2023] Installing cron job
59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Sun Sep 10 19:02:01 EDT 2023] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory
[error] Could not find file 'example1.com.cer' in '/root/.acme.sh/example1.com/'
[error] Could not find file 'ca.cer' in '/root/.acme.sh/example1.com/'
[error] Could not find file 'fullchain.cer' in '/root/.acme.sh/example1.com/'
[error] Could not find file 'example1.com.csr' in '/root/.acme.sh/example1.com/'
[error] Could not get Let's Encrypt certificate for sprickman.com:

[information] Updated Let's Encrypt certificate for example2.com
[information] Let's Encrypt certificates have been updated
[information] apache::createIpPort: creating ip/port settings for  10.10.10.10:80
[debug] 216.220.96.55:80 :: inserted vhostcontainer
[information] apache::createIpPort: creating ip/port settings for  10.10.10.10:443
[debug] 216.220.96.55:443 :: inserted vhostcontainer
[information] apache::createVirtualHosts: creating vhost container for domain 4, customer example2
[information] apache::createVirtualHosts: creating vhost container for domain 5, customer example3
[information] apache::createVirtualHosts: creating vhost container for domain 2, customer example1
[information] apache::createVirtualHosts: creating vhost container for domain 6, customer example3
[information] apache::createVirtualHosts: creating vhost container for domain 1, customer example1
[information] apache::writeConfigs: rebuilding /usr/local/etc/apache24/froxlor-diropts/
[information] apache::writeConfigs: rebuilding /usr/local/etc/apache24/froxlor-htpasswd/
[information] apache::writeConfigs: rebuilding /usr/local/etc/apache24/froxlor-vhosts/
[information] Froxlor\Cron\Http\ApacheFcgi::reload: running service php-fpm restart
[10-Sep-2023 19:02:01] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful

[10-Sep-2023 19:02:01] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful

[information] Froxlor\Cron\Http\ApacheFcgi::reload: reloading Froxlor\Cron\Http\ApacheFcgi
Syntax OK
Syntax OK
[notice] Checking system's last guid
[root@php8 /usr/local/www]#

Removing and adding an SSL cert for a test user/domain works fine. No changes to the froxlor panel vhost after this though.

I'm digging around in the db, but not yet seeing anything obvious there to recreate this.

after removing the certiticate from froxlor try also removing it from acme.sh itself (for a fresh restart):

/root/.acme.sh/acme.sh --remove -d [domain]

 

  • Author

Didn't get a chance to try that, I instead pulled an old db backup and grabbed the "domain_ssl_settings" table and inserted the old froxlor vhost entry from there. That seems to have fixed things.

Perhaps that cert shouldn't have a "delete" option next to it if there's no (simple) path to recovery?

  • Author

Did you want any other info or no?

No, all good. The delete option for let's encrypt certificates will be removed (they are removed when deactivated)

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.