Version de YunoHost:
yunohost
3.7.0.11 (stable)
yunohost-admin
3.7.0.3 (stable)
moulinette
3.7.0.2 (stable)
ssowat
3.7.0.3 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non Si oui, expliquer:
Description du problème
Bonsoir @ tous,
Suite à mise à jour système plus d’accès à aucune applications au travers de l’interface web “erreur 502 Bad Gateway” PHP éteint dans Services de l’interface administrateur et impossible à démarrer la version PHP est 7.0 se qui ne semble pas juste
Voici des messages d’erreurs:
Could not start the service 'php7.0-fpm’
Recent service logs:-- Logs begin at Sat 2020-03-28 00:34:55 CET, end at Sat 2020-03-28 01:35:41 CET. – Mar 28 00:35:17 didiercl.me systemd[1]: Starting The PHP 7.0 FastCGI Process Manager… – Subject: Unit php7.0-fpm.service has begun start-up – Defined-By: systemd – Support: https://www.debian.org/support
**-- ** – Unit php7.0-fpm.service has begun starting up. Mar 28 00:35:20 didiercl.me systemd[1]: Stopped The PHP 7.0 FastCGI Process Manager. – Subject: Unit php7.0-fpm.service has finished shutting down – Defined-By: systemd – Support: https://www.debian.org/support
**-- ** – Unit php7.0-fpm.service has finished shutting down. Mar 28 00:35:20 didiercl.me systemd[1]: Starting The PHP 7.0 FastCGI Process Manager… – Subject: Unit php7.0-fpm.service has begun start-up – Defined-By: systemd – Support: https://www.debian.org/support
Voilà ou j’en suis quelqu’un à une idée?
Bonne nuit en cette période de confinement.
Bon courage à tous.
root@didiercl:/home/admin# journalctl -u php7.0-fp
– No entries –
Désolé erreur de saisie de ma part voici le bon résultat:
– Logs begin at Sat 2020-03-28 01:12:54 CET, end at Sat 2020-03-28 03:18:08 CET. –
mars 28 01:27:16 didiercl.me systemd[1]: Starting The PHP 7.0 FastCGI Process Manager…
mars 28 01:27:17 didiercl.me php-fpm7.0[12542]: [28-Mar-2020 01:27:17] WARNING: [pool didiercl.me_site] ‘request_slowlog_timeout’ is not supported on your system
mars 28 01:27:18 didiercl.me php-fpm7.0[12542]: [28-Mar-2020 01:27:18] ERROR: [pool piratebox_admin] cannot get gid for group ‘admins’
mars 28 01:27:18 didiercl.me php-fpm7.0[12542]: [28-Mar-2020 01:27:18] ERROR: FPM initialization failed
mars 28 01:27:18 didiercl.me systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
mars 28 01:27:18 didiercl.me systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
mars 28 01:27:18 didiercl.me systemd[1]: php7.0-fpm.service: Unit entered failed state.
mars 28 01:27:18 didiercl.me systemd[1]: php7.0-fpm.service: Failed with result ‘exit-code’.
mars 28 01:35:40 didiercl.me systemd[1]: Starting The PHP 7.0 FastCGI Process Manager…
mars 28 01:35:41 didiercl.me php-fpm7.0[13493]: [28-Mar-2020 01:35:41] WARNING: [pool didiercl.me_site] ‘request_slowlog_timeout’ is not supported on your system
mars 28 01:35:41 didiercl.me php-fpm7.0[13493]: [28-Mar-2020 01:35:41] ERROR: [pool piratebox_admin] cannot get gid for group ‘admins’
mars 28 01:35:41 didiercl.me php-fpm7.0[13493]: [28-Mar-2020 01:35:41] ERROR: FPM initialization failed
mars 28 01:35:41 didiercl.me systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
mars 28 01:35:41 didiercl.me systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
mars 28 01:35:41 didiercl.me systemd[1]: php7.0-fpm.service: Unit entered failed state.
mars 28 01:35:41 didiercl.me systemd[1]: php7.0-fpm.service: Failed with result ‘exit-code’.
Mouarf ben c’est piratebox qui pose probleme (plus maintenue / cassée depuis un bon moment …)
Si tu veux garder l’app installée, tu peux editer la conf avec nano /etc/php/7.0/fpm/pool.d/piratebox.conf (pas sur du nom exact, ptete c’est piratebox_admin.conf ? Tu peux trouver en faisant ls /etc/php/7.0/fpm/pool.d)
Ensuite tu trouves la ligne avec group = admins et je pense que remplacer ‘admins’ par ‘www-data’ devrait faire le taf.
Tu sauvegardes en faisant Ctrl + X (puis Y + entrée pour valider)
Et redemarrer php-fpm avec : systemctl restart php7.0-fpm
Ta solution est la bonne PHP à démarrer et le système à redémarrer sauf Searx qui ne donne ce message dans firefox “Internal Server Error” et Backup qui ne fonctionne plus avec ces indications en retour:
Yunohost encountered an internal error:/
Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:
Action
GET /backup/archives
{"with_info":""}
Traceback
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 439, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 527, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/backup.py", line 2289, in backup_list
d[a] = backup_info(a, human_readable=human_readable)
File "/usr/lib/moulinette/yunohost/backup.py", line 2329, in backup_info
if "info.json" in tar.getnames():
Aujourd’hui j’ai trouvé la solution c’est une sauvegarde qui bloquait le processus je l’ai supprimer en ssh dans le dossier archives et tout est rentré dans l’ordre.