Keyhelp - Upgrade Ubuntu 22.04 auf 24.04.1  [GELÖST]

Haben Sie einen Bug entdeckt? Teilen Sie es uns mit.
Post Reply
Blackmoon
Posts: 379
Joined: Sat 1. Dec 2018, 16:42

Keyhelp - Upgrade Ubuntu 22.04 auf 24.04.1

Post by Blackmoon »

Hallo zusammen,
Ich bin sicher, dass die Ursache des Problems bei KeyHelp liegt
Ja


Server-Betriebssystem + Version
Ubuntu erver 24.04.1 LTS


Eingesetzte Server-Virtualisierung-Technologie
KVM


KeyHelp-Version + Build-Nummer
24.2 (Build 3326)


Problembeschreibung / Fehlermeldungen
Die Aktualisierung meines Servers habe ich an Hand folgendes Artikels durchgeführt: Link. Konkret geht es um das Upgrade von Ubuntu Server22.04 auf Ubuntu Server 22.04.

Nach dem erfolgreichen Update mit Hilfe des Skripts habe ich festgestellt, dass meine PHP FPM Prozess nicht laufen bzw. fehlen.

Beim Aufruf einer WordPress Instanz erscheint im Browser folgender Fehler:
2024-09-21 15_12_28.png
2024-09-21 15_12_28.png (7.52 KiB) Viewed 4429 times
Im Logfile der Domain finde ich folgende Einträge:

Code: Select all

[Sat Sep 21 15:12:26.491992 2024] [proxy:error] [pid 1418:tid 132057464309440] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/keyhelp_ccvv.socket (keyhelp_ccvv.socket:8000) failed
[Sat Sep 21 15:12:26.492077 2024] [proxy_fcgi:error] [pid 1418:tid 132057464309440] [remote 2a02:8070:e381:8981:f578:8409:4def:9e6:61855] AH01079: failed to make connection to backend: httpd-UDS
[Sat Sep 21 15:13:38.459934 2024] [proxy:error] [pid 1417:tid 132056531076800] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/keyhelp_ccvv.socket (keyhelp_ccvv.socket:8000) failed
[Sat Sep 21 15:13:38.460049 2024] [proxy_fcgi:error] [pid 1417:tid 132056531076800] [client 66.249.66.1:38281] AH01079: failed to make connection to backend: httpd-UDS

Erwartetes Ergebnis
So sieht die Ausgabe vor dem Upgrade von Ubuntu aus:
2024-09-21 14_46_51.png
2024-09-21 14_46_51.png (6.83 KiB) Viewed 4429 times
Tatsächliches Ergebnis
So sieht die Ausgabe nach dem Upgrade von Ubuntu aus:
2024-09-21 15_08_48.png
2024-09-21 15_08_48.png (6.22 KiB) Viewed 4429 times
Schritte zur Reproduktion
Gute Frage... auf meiner VM kann ich das Verhalten mehrfach reproduzieren.

Zusätzliche Informationen
Ich finde gerade nicht das Verzeichnis, in dem das Logfile des Updates gespeichert wurde. :?

Jemand eine Idee, was hier schief gelaufen ist bzw. das selbe Problem gehabt?


Grüße,
Dani
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: Keyhelp - Upgrade Ubuntu 22.04 auf 24.04.1

Post by Alexander »

Existieren die Pool-Dateien der Clients in diesem Ordner?

Code: Select all

/etc/php/8.3/fpm/keyhelp_pool/
Was sagt

Code: Select all

/var/log/php8.3-fpm.log

Schau mal ob ein neu schreiben aller Konfigurationen weiterhilft:

Code: Select all

keyhelp-toolbox -> 1) Benutzer-Konfigurationsdateien neu schreiben
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Blackmoon
Posts: 379
Joined: Sat 1. Dec 2018, 16:42

Re: Keyhelp - Upgrade Ubuntu 22.04 auf 24.04.1

Post by Blackmoon »

Existieren die Pool-Dateien der Clients in diesem Ordner?
Nicht wirklich:

Code: Select all

ll /etc/php/8.3/fpm/keyhelp_pool/
total 20
drwxr-xr-x 2 root root 4096 Sep 21 14:27 ./
drwxr-xr-x 5 root root 4096 Sep 21 14:01 ../
-rw-r--r-- 1 root root 1629 Sep 21 14:27 apnk.conf
-rw-r--r-- 1 root root 1973 Sep 21 14:20 ccvv.conf
-rw-r--r-- 1 root root 1601 Sep 21 14:22 vcfa.conf
/var/log/php8.3-fpm.log
Das Log ist überschaubar:

Code: Select all

cat /var/log/php8.3-fpm.log
[21-Sep-2024 13:57:18] NOTICE: fpm is running, pid 78699
[21-Sep-2024 13:57:18] NOTICE: ready to handle connections
[21-Sep-2024 13:57:18] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 13:59:03] NOTICE: Terminating ...
[21-Sep-2024 13:59:03] NOTICE: exiting, bye-bye!
[21-Sep-2024 13:59:03] NOTICE: fpm is running, pid 91517
[21-Sep-2024 13:59:03] NOTICE: ready to handle connections
[21-Sep-2024 13:59:03] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:00:04] NOTICE: Terminating ...
[21-Sep-2024 14:00:04] NOTICE: exiting, bye-bye!
[21-Sep-2024 14:00:22] NOTICE: fpm is running, pid 740
[21-Sep-2024 14:00:22] NOTICE: ready to handle connections
[21-Sep-2024 14:00:22] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:01:20] NOTICE: Terminating ...
[21-Sep-2024 14:01:20] NOTICE: exiting, bye-bye!
[21-Sep-2024 14:01:20] NOTICE: fpm is running, pid 5633
[21-Sep-2024 14:01:20] NOTICE: ready to handle connections
[21-Sep-2024 14:01:20] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:01:33] NOTICE: Terminating ...
[21-Sep-2024 14:01:33] NOTICE: exiting, bye-bye!
[21-Sep-2024 14:01:33] NOTICE: fpm is running, pid 6876
[21-Sep-2024 14:01:33] NOTICE: ready to handle connections
[21-Sep-2024 14:01:33] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:02:33] NOTICE: Terminating ...
[21-Sep-2024 14:02:33] NOTICE: exiting, bye-bye!
[21-Sep-2024 14:02:49] NOTICE: fpm is running, pid 704
[21-Sep-2024 14:02:49] NOTICE: ready to handle connections
[21-Sep-2024 14:02:49] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:05:03] NOTICE: configuration file /etc/php/8.3/fpm/php-fpm.conf test is successful
[21-Sep-2024 14:05:03] NOTICE: Reloading in progress ...
[21-Sep-2024 14:05:03] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.3", {"/usr/sbin/php-fpm8.3", "--nodaemonize", "--fpm-config", "/etc/php/8.3/fpm/php-fpm.conf"})
[21-Sep-2024 14:05:03] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
[21-Sep-2024 14:05:03] NOTICE: fpm is running, pid 704
[21-Sep-2024 14:05:03] NOTICE: ready to handle connections
[21-Sep-2024 14:05:03] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:19:02] NOTICE: configuration file /etc/php/8.3/fpm/php-fpm.conf test is successful
[21-Sep-2024 14:19:02] NOTICE: Reloading in progress ...
[21-Sep-2024 14:19:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.3", {"/usr/sbin/php-fpm8.3", "--nodaemonize", "--fpm-config", "/etc/php/8.3/fpm/php-fpm.conf"})
[21-Sep-2024 14:19:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
[21-Sep-2024 14:19:02] NOTICE: using inherited socket fd=9, "/run/php/keyhelp_vcfa.socket"
[21-Sep-2024 14:19:02] NOTICE: fpm is running, pid 704
[21-Sep-2024 14:19:02] NOTICE: ready to handle connections
[21-Sep-2024 14:19:02] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:20:01] NOTICE: configuration file /etc/php/8.3/fpm/php-fpm.conf test is successful
[21-Sep-2024 14:20:01] NOTICE: Reloading in progress ...
[21-Sep-2024 14:20:01] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.3", {"/usr/sbin/php-fpm8.3", "--nodaemonize", "--fpm-config", "/etc/php/8.3/fpm/php-fpm.conf"})
[21-Sep-2024 14:20:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
[21-Sep-2024 14:20:02] NOTICE: using inherited socket fd=9, "/run/php/keyhelp_vcfa.socket"
[21-Sep-2024 14:20:02] NOTICE: using inherited socket fd=10, "/run/php/keyhelp_ccvv.socket"
[21-Sep-2024 14:20:02] NOTICE: fpm is running, pid 704
[21-Sep-2024 14:20:02] NOTICE: ready to handle connections
[21-Sep-2024 14:20:02] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:21:02] NOTICE: configuration file /etc/php/8.3/fpm/php-fpm.conf test is successful
[21-Sep-2024 14:21:02] NOTICE: Reloading in progress ...
[21-Sep-2024 14:21:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.3", {"/usr/sbin/php-fpm8.3", "--nodaemonize", "--fpm-config", "/etc/php/8.3/fpm/php-fpm.conf"})
[21-Sep-2024 14:21:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
[21-Sep-2024 14:21:02] NOTICE: using inherited socket fd=9, "/run/php/keyhelp_vcfa.socket"
[21-Sep-2024 14:21:02] NOTICE: using inherited socket fd=10, "/run/php/keyhelp_ccvv.socket"
[21-Sep-2024 14:21:02] NOTICE: fpm is running, pid 704
[21-Sep-2024 14:21:02] NOTICE: ready to handle connections
[21-Sep-2024 14:21:02] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:22:02] NOTICE: configuration file /etc/php/8.3/fpm/php-fpm.conf test is successful
[21-Sep-2024 14:22:02] NOTICE: Reloading in progress ...
[21-Sep-2024 14:22:02] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.3", {"/usr/sbin/php-fpm8.3", "--nodaemonize", "--fpm-config", "/etc/php/8.3/fpm/php-fpm.conf"})
[21-Sep-2024 14:22:02] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
[21-Sep-2024 14:22:02] NOTICE: using inherited socket fd=9, "/run/php/keyhelp_vcfa.socket"
[21-Sep-2024 14:22:02] NOTICE: using inherited socket fd=10, "/run/php/keyhelp_ccvv.socket"
[21-Sep-2024 14:22:02] NOTICE: fpm is running, pid 704
[21-Sep-2024 14:22:02] NOTICE: ready to handle connections
[21-Sep-2024 14:22:02] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:24:40] NOTICE: Terminating ...
[21-Sep-2024 14:24:40] NOTICE: exiting, bye-bye!
[21-Sep-2024 14:25:08] NOTICE: fpm is running, pid 706
[21-Sep-2024 14:25:08] NOTICE: ready to handle connections
[21-Sep-2024 14:25:08] NOTICE: systemd monitor interval set to 10000ms
[21-Sep-2024 14:27:02] NOTICE: configuration file /etc/php/8.3/fpm/php-fpm.conf test is successful
[21-Sep-2024 14:27:03] NOTICE: Reloading in progress ...
[21-Sep-2024 14:27:03] NOTICE: reloading: execvp("/usr/sbin/php-fpm8.3", {"/usr/sbin/php-fpm8.3", "--nodaemonize", "--fpm-config", "/etc/php/8.3/fpm/php-fpm.conf"})
[21-Sep-2024 14:27:03] NOTICE: using inherited socket fd=8, "/run/php/keyhelp_keyhelp.socket"
[21-Sep-2024 14:27:03] NOTICE: using inherited socket fd=9, "/run/php/keyhelp_ccvv.socket"
[21-Sep-2024 14:27:03] NOTICE: using inherited socket fd=10, "/run/php/keyhelp_vcfa.socket"
[21-Sep-2024 14:27:03] NOTICE: fpm is running, pid 706
[21-Sep-2024 14:27:03] NOTICE: ready to handle connections
[21-Sep-2024 14:27:03] NOTICE: systemd monitor interval set to 10000ms
[23-Sep-2024 20:26:08] NOTICE: fpm is running, pid 867
[23-Sep-2024 20:26:08] NOTICE: ready to handle connections
[23-Sep-2024 20:26:08] NOTICE: systemd monitor interval set to 10000ms
Schau mal ob ein neu schreiben aller Konfigurationen weiterhilft:
Nach der Ausführung sehe ich die entsprechenden FPM Files im Verzeichnis /etc/php/8.3/fpm/keyhelp_pool/:

Code: Select all

 ll /etc/php/8.3/fpm/keyhelp_pool/
total 52
drwxr-xr-x 2 root root 4096 Sep 23 20:29 ./
drwxr-xr-x 5 root root 4096 Sep 21 14:01 ../
-rw-r--r-- 1 root root 1629 Sep 23 20:29 ahlm.conf
-rw-r--r-- 1 root root 1629 Sep 23 20:29 apnk.conf
-rw-r--r-- 1 root root 1973 Sep 23 20:29 ccvv.conf
-rw-r--r-- 1 root root 1629 Sep 23 20:29 djth.conf
-rw-r--r-- 1 root root 1629 Sep 23 20:29 epvm.conf
-rw-r--r-- 1 root root 1620 Sep 23 20:29 idkc.conf
-rw-r--r-- 1 root root 1608 Sep 23 20:29 kxmf.conf
-rw-r--r-- 1 root root 1629 Sep 23 20:29 vaon.conf
-rw-r--r-- 1 root root 1601 Sep 23 20:29 vcfa.conf
-rw-r--r-- 1 root root 1918 Sep 23 20:29 wihn.conf
-rw-r--r-- 1 root root 1629 Sep 23 20:29 zaco.conf
Ich bin nun zwiegespalten. Ich hätte erwartet, dass das Migrationsskript auf einem Fehler läuft. So ist für mich die Frage, ob es noch vermeidlich weitere Probleme/Fehler gibt. Wie siehst du das?
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: Keyhelp - Upgrade Ubuntu 22.04 auf 24.04.1  [GELÖST]

Post by Alexander »

Ich bin nun zwiegespalten. Ich hätte erwartet, dass das Migrationsskript auf einem Fehler läuft. So ist für mich die Frage, ob es noch vermeidlich weitere Probleme/Fehler gibt. Wie siehst du das?
Ich hab nochmal geschaut, im Upgrade-Script fehlte ein Teil, der das Neu-Schreiben der Benutzerkonfigurationen durchführen sollte.
Das ergänze ich nun schnellstmöglich.

Bis das Upgrade-Script angepasst ist (spätestens morgen) reicht für alle, die in das selbe Problem laufen das aus:

Code: Select all

keyhelp-toolbox -> 1) Benutzer-Konfigurationsdateien neu schreiben
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Blackmoon
Posts: 379
Joined: Sat 1. Dec 2018, 16:42

Re: Keyhelp - Upgrade Ubuntu 22.04 auf 24.04.1

Post by Blackmoon »

Ich hab nochmal geschaut, im Upgrade-Script fehlte ein Teil, der das Neu-Schreiben der Benutzerkonfigurationen durchführen sollte.
Okay. In dem Fall mache ich mich nochmals ans Update. Dankeschön!
Post Reply