Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script [SOLVED]
Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
After finished all the process, and using KeyHelp script from https://www.keyhelp.de/en/news/upgrade- ... ubuntu-22/, all domains shows as Processing State (see attachment).
So, some domais does not work ("Service Unavailable -The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.").
Any ideas? Thanks in advance.
EDIT1: also, for what I can see, there is no user domains PHP-FPM Running, only from KeyHelp:
/run/php$ ls
keyhelp_keyhelp.socket php8.1-fpm.pid
When should be something like keyhelp_proyectopuravida.socket and keyhelp_viajeres .socket ("proyectopuravida" and "viajeres" are the domain users) and there is not there.
EDIT2: also, I found this folder empty:
puravida@server:/etc/php/8.1/fpm/keyhelp_pool$ pwd
/etc/php/8.1/fpm/keyhelp_pool
So, some domais does not work ("Service Unavailable -The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.").
Any ideas? Thanks in advance.
EDIT1: also, for what I can see, there is no user domains PHP-FPM Running, only from KeyHelp:
/run/php$ ls
keyhelp_keyhelp.socket php8.1-fpm.pid
When should be something like keyhelp_proyectopuravida.socket and keyhelp_viajeres .socket ("proyectopuravida" and "viajeres" are the domain users) and there is not there.
EDIT2: also, I found this folder empty:
puravida@server:/etc/php/8.1/fpm/keyhelp_pool$ pwd
/etc/php/8.1/fpm/keyhelp_pool
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Hello,
did you start the update script for a second time after the reboot. Did it run without any errors?
did you start the update script for a second time after the reboot. Did it run without any errors?
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Hi, yes I did it and no errors at all. Is there a way to fix this?
EDIT: This whats happens, for example, If I try to change PHP interpreter in any domain:
/var/log/keyhelp/php-error.log:
[25-Aug-2023 11:55:01 Etc/UTC] PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php:330
Stack trace:
#0 /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php(330): trim()
#1 /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php(240): PhpFpmPoolConfig->generate()
#2 /home/keyhelp/www/keyhelp/core/pending/Apache.php(1132): PhpFpmPoolConfig->save()
#3 /home/keyhelp/www/keyhelp/core/pending/Apache.php(806): Apache->applyUserConfigs()
#4 /home/keyhelp/www/keyhelp/cronjob/jobs/update.php(2091): Apache->applyAllConfigChanges()
#5 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(443): unknown()
#6 {main}
thrown in /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php on line 330
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Hallo,
you can provide me with the logins via PM, so I can have a look
you can provide me with the logins via PM, so I can have a look
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Sure. Thanks.
EDIT: another error I am facing is is a Devocot permission problems with the file /etc/ssl/keyhelp/mail-ca.crt, So I had to disable the line 4 (ssl_ca = </etc/ssl/keyhelp/mail-ca.crt), to make it work again:
Aug 25 10:42:05 server postfix/pipe[405430]: 6EDB11A2029B: to=<puravida@server.proyectopuravida.org>, relay=dovecot, delay=0.08, delays=0.05/0/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.keyhelp.d/10-ssl.conf line 4: ssl_ca: Can't open file /etc/ssl/keyhelp/mail-ca.crt: Permission denied )
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script [SOLVED]
Hello,
problem solved.
Cause: wrong setting of date.timezone in the "Additional PHP" settings of the user
php_admin_value must not be used here!
problem solved.
Cause: wrong setting of date.timezone in the "Additional PHP" settings of the user
Code: Select all
php_admin_value[date.timezone] =
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Damn, that option were added by the other Admin of the server. Where I should add that in any case?Florian wrote: ↑Fri 25. Aug 2023, 17:07 Hello,
problem solved.
Cause: wrong setting of date.timezone in the "Additional PHP" settings of the user
php_admin_value must not be used here!Code: Select all
php_admin_value[date.timezone] =
Thanks a lot!!!
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Hallo,
I corrected it already. Use the syntax of the php.ini here:
I corrected it already. Use the syntax of the php.ini here:
Code: Select all
date.timezone = America/Argentina/Buenos_Aires
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Problems after upgrade Ubuntu 20.04 -> 22.04 using KeyHelp PHP script
Again, thanks a lot! I should restrict this kind of modifications.Florian wrote: ↑Fri 25. Aug 2023, 17:15 Hallo,
I corrected it already. Use the syntax of the php.ini here:
Code: Select all
date.timezone = America/Argentina/Buenos_Aires