500 error on keyhelp panel only
-
- Posts: 15
- Joined: Tue 19. Jan 2021, 09:32
500 error on keyhelp panel only
All websites are loading just fine.
What I have tried and still didn't resolve the issue:
- using KeyHelp toolbox and choosing Rewrite KeyHelp configuration
- using KeyHelp toolbox and choosing all maintenance tasks
- checked all logs in /var/log/apache2/
- checked all /var/log/php* fpm logs
Is there a way to reinstall keyhelp without losing any data?
Thanks
Re: 500 error on keyhelp panel only
please have a look into /var/log/keyhelp/php-error.log.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 15
- Joined: Tue 19. Jan 2021, 09:32
Re: 500 error on keyhelp panel only
thanks for the quick reply, in /var/log/keyhelp/php-error.log I see:
anywhere else I can check?[12-Sep-2025 08:16:07 UTC] PHP Warning: file_put_contents(/etc/php/8.2/fpm/keyhelp_pool/website1.conf): Failed to open stream: No such file or directory in /home/keyhelp/www/keyhelp/core/Webserver/PhpFpm/PhpFpmPoolConfig.php on line 252
[12-Sep-2025 08:16:07 UTC] PHP Warning: file_put_contents(/etc/php/8.2/fpm/keyhelp_pool/website2.conf): Failed to open stream: No such file or directory in /home/keyhelp/www/keyhelp/core/Webserver/PhpFpm/PhpFpmPoolConfig.php on line 252
[12-Sep-2025 08:16:07 UTC] PHP Warning: file_put_contents(/etc/php/8.2/fpm/keyhelp_pool/website3.conf): Failed to open stream: No such file or directory in /home/keyhelp/www/keyhelp/core/Webserver/PhpFpm/PhpFpmPoolConfig.php on line 252
thanks
some more information
Code: Select all
● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php8.2-fpm.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-09-12 12:34:03 BST; 2min 13s ago
Docs: man:php-fpm8.2(8)
Process: 58773 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 82 (code=exited, status=0/SUCCESS)
Process: 59099 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 58771 (php-fpm8.2)
Status: "Processes active: 0, idle: 1, Requests: 72, slow: 0, Traffic: 0.80req/sec"
Tasks: 2 (limit: 57814)
Memory: 9.6M (peak: 13.3M)
CPU: 336ms
CGroup: /system.slice/php8.2-fpm.service
├─58771 "php-fpm: master process (/etc/php/8.2/fpm/php-fpm.conf)"
└─59340 "php-fpm: pool keyhelp"
Sep 12 12:34:03 server1.xxxxxxxx.net systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Sep 12 12:34:03 server1.xxxxxxxx.net php-fpm8.2[58771]: [12-Sep-2025 12:34:03] WARNING: Nothing matches the include pattern '/etc/php/8.2/fpm/keyhelp_pool/*.conf' from />
Sep 12 12:34:03 server1.xxxxxxxx.net systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Sep 12 12:34:28 server1.xxxxxxxx.net systemd[1]: Reloading php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Sep 12 12:34:28 server1.xxxxxxxx.net systemd[1]: Reloaded php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Sep 12 12:34:28 server1.xxxxxxxx.net php-fpm8.2[58771]: [12-Sep-2025 12:34:28] WARNING: Nothing matches the include pattern '/etc/php/8.2/fpm/keyhelp_pool/*.conf' from />
Sep 12 12:34:28 server1.xxxxxxxx.net php-fpm8.2[58771]: [12-Sep-2025 12:34:28] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
Sep 12 12:34:42 server1.xxxxxxxx.net systemd[1]: Reloading php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Sep 12 12:34:42 server1.xxxxxxxx.net systemd[1]: Reloaded php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Sep 12 12:34:42 server1.xxxxxxxx.net php-fpm8.2[58771]: [12-Sep-2025 12:34:42] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
-
- Posts: 15
- Joined: Tue 19. Jan 2021, 09:32
Re: 500 error on keyhelp panel only
php -v
PHP 8.2.29 (cli) (built: Jul 3 2025 13:08:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.29, Copyright (c) Zend Technologies
with the ionCube PHP Loader v14.4.1, Copyright (c) 2002-2025, by ionCube Ltd.
with Zend OPcache v8.2.29, Copyright (c), by Zend Technologies
Re: 500 error on keyhelp panel only
If you are already on Ubuntu 24, this is not the correct PHP Version for your operating system. On Ubuntu 24 there should be PHP 8.3.6curiousclumsy wrote: ↑Fri 12. Sep 2025, 13:50 just to add that my php cli is 8.2, not sure that makes any difference
php -v
PHP 8.2.29 (cli) (built: Jul 3 2025 13:08:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.29, Copyright (c) Zend Technologies
with the ionCube PHP Loader v14.4.1, Copyright (c) 2002-2025, by ionCube Ltd.
with Zend OPcache v8.2.29, Copyright (c), by Zend Technologies
I assume that all steps in the upgrade guide have been followed completely (https://www.keyweb.de/en/keyhelp/develo ... -ubuntu-24).
Uninstall all PHP versions, than install the correct one again.
Code: Select all
apt-get install -y php php-curl php-gd imagemagick php-imagick php-mail-mime php-net-sieve php-pspell php-net-socket php-auth-sasl php-intl php-net-smtp php-zip php-bcmath php-gmp php-soap php-mbstring php-mysql php-readline php-redis
(cross reference viewtopic.php?t=14120)
Or send me the SSH login credentials to your server via PM and i'll have a look.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 15
- Joined: Tue 19. Jan 2021, 09:32
Re: 500 error on keyhelp panel only
Code: Select all
root@server1:/etc# which php8.1
root@server1:/etc# which php8.2
root@server1:/etc# which php8.3
/usr/bin/php8.3
root@server1:/etc# which php8.4
Is there any other log I can look at?
Many thanks
PS: thanks for the ssh offer, unfortunately our IT team has blocked the ssh port from being accessed from outside our network.
Re: 500 error on keyhelp panel only
I do not see the package php-fpm in Alexander's list.
Install this package, too.
Then it should work.
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 15
- Joined: Tue 19. Jan 2021, 09:32
Re: 500 error on keyhelp panel only
Still no luck, sorry about that.
Is there a log for apache perhaps?
I might have to format and start from scratch.
Thanks!
root@server1:/etc# sudo apt-get install php php-cli php-fpm php-curl php-gd imagemagick php-imagick php-mail-mime php-net-sieve php-pspell php-net-socket php-auth-sasl php-intl php-net-smtp php-zip php-bcmath php-gmp php-soap php-mbstring php-mysql php-readline php-redis php-fpm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
php is already the newest version (2:8.3+93ubuntu2).
php-cli is already the newest version (2:8.3+93ubuntu2).
php-fpm is already the newest version (2:8.3+93ubuntu2).
php-curl is already the newest version (2:8.3+93ubuntu2).
php-gd is already the newest version (2:8.3+93ubuntu2).
imagemagick is already the newest version (8:6.9.12.98+dfsg1-5.2build2).
php-imagick is already the newest version (3.7.0-4ubuntu3).
php-mail-mime is already the newest version (1.10.11-1).
php-net-sieve is already the newest version (1.4.6-1).
php-pspell is already the newest version (2:8.3+93ubuntu2).
php-net-socket is already the newest version (1.2.2-2).
php-auth-sasl is already the newest version (1.2.0-1).
php-intl is already the newest version (2:8.3+93ubuntu2).
php-net-smtp is already the newest version (1.11.1-1).
php-zip is already the newest version (2:8.3+93ubuntu2).
php-bcmath is already the newest version (2:8.3+93ubuntu2).
php-gmp is already the newest version (2:8.3+93ubuntu2).
php-soap is already the newest version (2:8.3+93ubuntu2).
php-mbstring is already the newest version (2:8.3+93ubuntu2).
php-mysql is already the newest version (2:8.3+93ubuntu2).
php-readline is already the newest version (2:8.3+93ubuntu2).
php-redis is already the newest version (5.3.7+4.3.0-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-
- Posts: 15
- Joined: Tue 19. Jan 2021, 09:32
Re: 500 error on keyhelp panel only
Code: Select all
[Fri Sep 12 00:00:01.231084 2025] [ssl:error] [pid 696239:tid 140615250999168] AH02604: Unable to configure certificate webmail:443:0 for stapling
[Fri Sep 12 00:00:01.237883 2025] [mpm_event:notice] [pid 696239:tid 140615250999168] AH00489: Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Fri Sep 12 00:00:01.237919 2025] [core:notice] [pid 696239:tid 140615250999168] AH00094: Command line: '/usr/sbin/apache2'
Re: 500 error on keyhelp panel only
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************