-
Posts
21 -
Joined
-
Last visited
-
Days Won
1
Posts posted by negrusti
-
-
15 minutes ago, d00p said:
so it does...see the files with suffix .frx.bak
no such files in /etc/nginx/ after that command was run. nginx.conf was overwritten by default nginx version of that file
-
Is there a way to set auto-upgrade to 1.x versions only? Not loving the new UI/UX at all and want to keep the auto-uprade functional
-
bin/froxlor-cli froxlor:config-services --apply='{"http":"nginx","dns":"x","smtp":"x","mail":"x","ftp":"x","distro":"focal","system":[]}'
This command at the very least must create backups of configuration files before overwriting them...
-
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
-
Considering the default PHP configuration command
service phpX.X-fpm restart
which is executed after config rebuild,
this leads to site outages every 5 minutes on a busy server.
Changing restart to reload mitigates the risk of customers forgetting to set site alias to none, as happened in my case. -
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?
-
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
-
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. -
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!
Maintenance Release froxlor 2.0.24 - New UI/UX, quick and easy webinstaller, command line tool & more
in Announcements
Posted
re. UI my main complaint is there is way too much white space (yes I know it is good for conventional sites). What used to be a concise view is now several pages of scrolling. Previous UI was awesome BTW and one of the main reasons I chose Froxlor some years ago. Are there any plans of refining that?