Jump to content
Froxlor Forum

negrusti

Members
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by negrusti

  1. 23 minutes ago, d00p said:

    This has been included in the tasks job, as re-creation of vhosts is required after certificate issue/renew

    I remember a time where there was no "reload" for php-fpm...might has changed. But as this is a setting, you are free to adjust as needed.

    kill -USR2 [php-fpm PID] is there for more than 7 years AFAIK 

  2. 5 minutes ago, d00p said:

    well, of course it loops then, because there is still a task to be done (getting the certificate). A correct DNS is your job as an admin, because cannot "guess" whether this is intended or by accident and "should I skip this now? Or keep trying?"

    As I understand obtaining the certificate is the job of a separate task. Why should it rebuild the whole config if the certificate issuance failed?

  3. 5 minutes ago, d00p said:

    And where would that be please? Don't see anything that fits the behaviour described here

     

    Please paste your /etc/cron.d/froxlor file

    */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null
    */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --letsencrypt 1> /dev/null

    other task types are disabled

  4. It might be related to this:

    Could not get Let's Encrypt certificate for <redacted domain>: [Wed Jan 15 15:50:04 UTC 2020] Creating domain key [Wed Jan 15 15:50:06 UTC 2020] The domain key is here: /root/.acme.sh/<redacted domain>/<redacted domain>.key [Wed Jan 15 15:50:06 UTC 2020] Multi domain='DNS:<redacted domain>,DNS:www.<redacted domain>' [Wed Jan 15 15:50:06 UTC 2020] Getting domain auth token for each domain [Wed Jan 15 15:50:10 UTC 2020] Getting webroot for domain='<redacted domain>' [Wed Jan 15 15:50:10 UTC 2020] Getting webroot for domain='www.<redacted domain>' [Wed Jan 15 15:50:10 UTC 2020] <redacted domain> is already verified, skip http-01. [Wed Jan 15 15:50:10 UTC 2020] Verifying: www.<redacted domain>

    And that happened because www. wasn't pointed to the server.
    However this should not create reconfiguration loop.

  5. Rebuilding webserver-configuration happens every 5 minutes for hours, causing nginx and php-fpm reloads.
    Confirmed by checking the timestamps of the conf files for nginx and php-fpm.
    Froxlor Installed version:    0.10.10 (DB: 201912100), this installation has been upgraded multiple times.
    How do I debug this?
    Nothing relevant in System log.

    Thanks!

×
×
  • Create New...