Page 1 of 1

Zugang zum Panel deaktiviert

Posted: Wed 17. Jul 2019, 18:55
by DerZara
Hallo,

Ich habe seit paar Stunden folgende Meldung:

Die Administrationsoberfläche ist aufgrund von Wartungsarbeiten vorübergehend nicht erreichbar.

Bitte versuchen Sie es in ein paar Minuten noch einmal.

Wieso? Habe nichts Aktiviert an Wartungsmodus ect.

Re: Zugang zum Panel deaktiviert

Posted: Wed 17. Jul 2019, 21:07
by Alexander
Hallo,

Der Panelupdate-Prozess wurde gestartet, da automatische Panel Updates auf dem Server aktiviert sind. Dieser warten aktuell vermutlich darauf, das alle anderen noch laufenden Jobs abgearbeitet werden. Vermutlich blockiert aktuell noch ein Backup-Lauf, oder Virenscan.

Aufschluss darüber gibt der panelupdate.log unter /var/log/keyhelp/cronjob

Re: Zugang zum Panel deaktiviert

Posted: Wed 17. Jul 2019, 21:33
by DerZara
Alexander wrote: Wed 17. Jul 2019, 21:07 Hallo,

Der Panelupdate-Prozess wurde gestartet, da automatische Panel Updates auf dem Server aktiviert sind. Dieser warten aktuell vermutlich darauf, das alle anderen noch laufenden Jobs abgearbeitet werden. Vermutlich blockiert aktuell noch ein Backup-Lauf, oder Virenscan.

Aufschluss darüber gibt der panelupdate.log unter /var/log/keyhelp/cronjob
[17-Jul-2019 02:00:07] DEBUG --> now waiting for 505 seconds until conntecting to update server!
[17-Jul-2019 02:08:32] DEBUG --> maintenance log okay
[17-Jul-2019 02:08:32] DEBUG --> trying to connect to updateserver
[17-Jul-2019 02:08:32] DEBUG --> set correct tmp-directories mount for update
[17-Jul-2019 02:08:52] INFO --> new version detected - starting update process from "19.1" to "19.2"
[17-Jul-2019 02:08:52] INFO --> first update step: "19.2" | total steps to reach latest version: 1
[17-Jul-2019 02:08:52] DEBUG --> create folder for panelupdate "/home/keyhelp/www/keyhelp_tmp/"
[17-Jul-2019 02:08:52] DEBUG --> start download of "https://install.keyhelp.de/files/releas ... hp7.tar.gz"
[17-Jul-2019 02:08:54] DEBUG --> file saved to "/home/keyhelp/www/keyhelp_tmp/19.2.tar.gz"
[17-Jul-2019 02:08:54] DEBUG --> checksum check successful
[17-Jul-2019 02:08:54] DEBUG --> lock panel
[17-Jul-2019 02:08:54] DEBUG --> log out all users
[17-Jul-2019 02:08:54] DEBUG --> run --force-update one last time before new files and db structure may change things
[17-Jul-2019 02:08:57] DEBUG --> checking running maintenance intervals ...
[17-Jul-2019 02:08:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:08:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:09:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:09:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:09:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:09:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:10:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:10:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:10:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:10:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:11:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:11:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:11:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:11:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:12:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:12:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:12:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:12:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:13:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:13:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:13:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:13:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:14:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:14:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:14:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:14:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:15:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:15:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:15:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:15:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:16:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:16:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:16:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:16:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:17:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:17:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:17:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:17:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:18:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:18:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:18:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:18:57] DEBUG --> sleeping till next check...
[17-Jul-2019 02:19:27] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:19:27] DEBUG --> sleeping till next check...
[17-Jul-2019 02:19:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:19:57] DEBUG --> sleeping till next check...


Das geht endlos so weiter mit:
[17-Jul-2019 02:19:57] DEBUG --> cronjob "repo-update" still running
[17-Jul-2019 02:19:57] DEBUG --> sleeping till next check...

Re: Zugang zum Panel deaktiviert

Posted: Wed 17. Jul 2019, 22:07
by Alexander
Hast du Probleme mit IPv6 auf deinem Server?

Was sagt das Protokoll repo-update.log, im selben Ordner wie das oben genannte?

Es gibt die Möglichkeit den Job zu killen. Die entsprechende Prozess ID liegt in /home/keyhelp/www/keyhelp/cronjobs/lockfiles/. Das würde ich aber erst in letzter Instanz versuchen, erstmal die beiden genannten Punkte in diesem Beitrag beachten.

Re: Zugang zum Panel deaktiviert

Posted: Thu 18. Jul 2019, 11:31
by mills
Hallo und Guten Morgen!

Ich habe seit heute Nacht dasselbe Problem und dieselbe Ausgabe im panelupdate.log wie DerZara.
Und hier noch die Ausgabe der repo-update.log:

Code: Select all

====
[30-Jun-2019 05:00:01] DEBUG --> starting repo update
[30-Jun-2019 05:00:01] DEBUG --> step: uninstall php versions
[30-Jun-2019 05:00:01] DEBUG --> no tasks found
[30-Jun-2019 05:00:01] DEBUG --> step: update php versions
[30-Jun-2019 05:00:07] DEBUG --> no tasks found, everything is up to date
[30-Jun-2019 05:00:07] DEBUG --> step: install new php versions
[30-Jun-2019 05:00:07] DEBUG --> no tasks found
====
[01-Jul-2019 05:00:02] DEBUG --> starting repo update
[01-Jul-2019 05:00:02] DEBUG --> step: uninstall php versions
[01-Jul-2019 05:00:02] DEBUG --> no tasks found
[01-Jul-2019 05:00:02] DEBUG --> step: update php versions
Nach erstem Juli tut sich da aber nichts mehr, wie ich gerade sehe.

Schöne Grüße
Andi

Re: Zugang zum Panel deaktiviert

Posted: Thu 18. Jul 2019, 11:52
by Alexander
Hallo,

@mills
Nach erstem Juli tut sich da aber nichts mehr, wie ich gerade sehe.
Das heißt, seit dem letzten Eintrag vom 01.Jul steht in deinem Log kein weiterer Eintrag? Und trotzdem blockiert laut panelupdate.log "repo-update"?
Falls ja, dann mal wie in meinem letzten Beitrag beschrieben, den Job killen.

---

Alternative könnt ihr mir auch die Zugangsdaten per PM schicken, dann kann ich mal fix schauen.

Re: Zugang zum Panel deaktiviert

Posted: Thu 18. Jul 2019, 13:01
by mills
Hallo!

Danke für Deine rasche Antwort!
Hab jetzt gekuckt, aber die in den Lockfiles angegebenen PIDs gibts nicht. Bekomme ein "No such process", wenn ich kille.

Sehr merkwürdig... ich meld mich mal kurz per PM.
Danke einstweilen!
Andi

Re: Zugang zum Panel deaktiviert

Posted: Thu 18. Jul 2019, 14:05
by Alexander
mills Server läuft nun wieder.

Ein Aufruf des Befehls:

Code: Select all

php /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php --force-panelupdate
hatte genügt, da die beiden Prozess-IDs in den Dateien:

Code: Select all

/home/keyhelp/www/keyhelp/cronjob/lockfiles/repo-update.lock
/home/keyhelp/www/keyhelp/cronjob/lockfiles/panelupdate.lock
nicht mehr liefen (ggf. Reboot?!).

Andernfalls hätte man zuerst die Prozesse killen müssen und dann den Befehl ausführen müssen.


In kommenden Updates wird es dann eine automatisierte Lösung für solche Fälle geben, so das sich KeyHelp in so einem Fall wieder selbst reparieren kann.

Re: Zugang zum Panel deaktiviert

Posted: Thu 18. Jul 2019, 14:10
by mills
Hallo Alexander!

Herzlichen Dank für die prompte Hilfestellung!
Läuft wieder perfekt.

Sg
Andi

Re: Zugang zum Panel deaktiviert

Posted: Thu 18. Jul 2019, 14:50
by DerZara
Danke :)

Habe die Prozesse gekillt und dann php /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php --force-panelupdate ausgeführt.

Nun läuft das wieder :)

Re: Zugang zum Panel deaktiviert

Posted: Wed 6. Nov 2019, 13:06
by DerZara
Hallo,

Ich habe wieder das Problem,
Diesmal Existiert keine PIDs und der Befehl: php /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php --force-panelupdate
funktioniert auch nicht bekomme folgende Meldung:

root@pokego:~# php /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php --force-panelupdate
[06-Nov-2019 13:01:25] INFO --> connect db ... success
[06-Nov-2019 13:01:25] INFO --> forced to run "panelupdate.php"
[06-Nov-2019 13:01:25] INFO --> panel update in progress, only forced jobs allowed
[06-Nov-2019 13:01:25] INFO --> it is time for: panelupdate.php
[06-Nov-2019 13:01:25] INFO --> >>> trying to run "panelupdate"
[06-Nov-2019 13:01:25] INFO --> <<< process already running

Das sind die Logs:

Panelupdate.log

[06-Nov-2019 12:59:41] INFO --> cronjob "repo-update" still running
[06-Nov-2019 12:59:41] INFO --> sleeping till next check...
[06-Nov-2019 13:00:11] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:00:11] INFO --> sleeping till next check...
[06-Nov-2019 13:00:41] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:00:41] INFO --> sleeping till next check...
[06-Nov-2019 13:01:11] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:01:11] INFO --> sleeping till next check...
[06-Nov-2019 13:01:41] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:01:41] INFO --> sleeping till next check...
[06-Nov-2019 13:02:11] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:02:11] INFO --> sleeping till next check...
[06-Nov-2019 13:02:41] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:02:41] INFO --> sleeping till next check...
[06-Nov-2019 13:03:11] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:03:11] INFO --> sleeping till next check...
[06-Nov-2019 13:03:41] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:03:41] INFO --> sleeping till next check...
[06-Nov-2019 13:04:11] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:04:11] INFO --> sleeping till next check...
[06-Nov-2019 13:04:41] INFO --> cronjob "repo-update" still running
[06-Nov-2019 13:04:41] INFO --> sleeping till next check...


Und hier die von repo-update.log

[28-Oct-2019 05:00:07] INFO --> starting repo update
[28-Oct-2019 05:00:07] INFO --> step: uninstall php versions
[28-Oct-2019 05:00:07] INFO --> no tasks found
[28-Oct-2019 05:00:07] INFO --> step: update php versions
[28-Oct-2019 05:00:18] INFO --> no tasks found, everything is up to date
[28-Oct-2019 05:00:18] INFO --> step: install new php versions
[28-Oct-2019 05:00:18] INFO --> no tasks found
====
[29-Oct-2019 05:00:02] INFO --> starting repo update
[29-Oct-2019 05:00:02] INFO --> step: uninstall php versions
[29-Oct-2019 05:00:02] INFO --> no tasks found
[29-Oct-2019 05:00:02] INFO --> step: update php versions
[29-Oct-2019 05:00:42] INFO --> no tasks found, everything is up to date
[29-Oct-2019 05:00:42] INFO --> step: install new php versions
[29-Oct-2019 05:00:42] INFO --> no tasks found
====
[30-Oct-2019 05:00:07] INFO --> starting repo update
[30-Oct-2019 05:00:07] INFO --> step: uninstall php versions
[30-Oct-2019 05:00:07] INFO --> no tasks found
[30-Oct-2019 05:00:07] INFO --> step: update php versions
[30-Oct-2019 05:02:13] INFO --> no tasks found, everything is up to date
[30-Oct-2019 05:02:13] INFO --> step: install new php versions
[30-Oct-2019 05:02:13] INFO --> no tasks found
====
[31-Oct-2019 05:00:01] INFO --> starting repo update
[31-Oct-2019 05:00:01] INFO --> step: uninstall php versions
[31-Oct-2019 05:00:01] INFO --> no tasks found
[31-Oct-2019 05:00:01] INFO --> step: update php versions

Wie kann ich diese Updates nun beenden bzw erfolgreich Ausführen lassen?

Re: Zugang zum Panel deaktiviert

Posted: Wed 6. Nov 2019, 13:21
by Alexander
Hallo,

die lock-files liegen nun hier:

Code: Select all

/home/keyhelp/.lock/
Einmal überprüfen, ob der dazugehörige Dienst tatsächlich noch läuft (Prozess-ID - siehe Inhalt der entsprechenden Datei im .lock Verzeichnis).

Ist das wirklich der absolut letze Eintrag in repo-update.log?

Code: Select all

[31-Oct-2019 05:00:01] INFO --> step: update php versions
Dann hängt dieser Prozess scheinbar tatsächlich. In dem Fall die repo-prozess ID einmal killen.

Was sagt /var/log/keyhelp/php-error.log?

Re: Zugang zum Panel deaktiviert

Posted: Wed 6. Nov 2019, 13:44
by DerZara
Die php-error sagt:

[04-Nov-2019 12:33:15 Europe/Berlin] PHP Warning: Division by zero in /home/keyhelp/www/keyhelp/core/pending/Server.php on line 260
[04-Nov-2019 12:34:53 Europe/Berlin] PHP Warning: Division by zero in /home/keyhelp/www/keyhelp/core/pending/Server.php on line 260
[04-Nov-2019 19:23:47 Europe/Berlin] PHP Warning: Division by zero in /home/keyhelp/www/keyhelp/core/pending/Server.php on line 260
[05-Nov-2019 13:34:26 Europe/Berlin] PHP Notice: A session had already been started - ignoring session_start() in /home/keyhelp/www/keyhelp/core/pending/Session.php on line 51
[05-Nov-2019 13:34:27 Europe/Berlin] PHP Warning: Division by zero in /home/keyhelp/www/keyhelp/core/pending/Server.php on line 260

Habe die Prozesse gekillt aber keine Lösung :D

Re: Zugang zum Panel deaktiviert

Posted: Wed 6. Nov 2019, 13:48
by DerZara
Befehl: php /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php --force-panelupdate
Ausgeführt, nun funktioniert das Panel wieder.

Re: Zugang zum Panel deaktiviert

Posted: Wed 6. Nov 2019, 13:56
by Alexander
Super, wollte dich gerade noch mit Fragen löchern.

... Ich machs aber nun trotzdem, um noch diverse Sachen abzuklären, würde mich über eine Antwort freuen.

Welches OS hast du?
Was befindet sich in dem .lock Ordner für Dateien?
Was ergibt der Befehl "ps aux | grep '/home/keyhelp/'"?


Hat zwar nichts mit deinem Problem zu tun, aber wenn du es einmal erwähnst:
[04-Nov-2019 19:23:47 Europe/Berlin] PHP Warning: Division by zero in /home/keyhelp/www/keyhelp/core/pending/Server.php on line 260
Was erzeugt die Ausgabe von "free -b"