Failed to start YunoHost Firewall [RESOLU]

Bonjour

Mon serveur YunoHost

YunoHost 4.3.6.2 (stable)

Matériel: / Autre carte ARM / …
Version de YunoHost: x.x.x
J’ai accès à mon serveur : En SSH | Par la webadmin |
Si oui, expliquer:

Description du problème

Jun 20 14:03:25 systemd[1]: Starting YunoHost Firewall...
Jun 20 14:03:27 yunohost[8205]: Traceback (most recent call last):
Jun 20 14:03:27 yunohost[8205]:   File "/usr/bin/yunohost", line 72, in <module>
Jun 20 14:03:27 yunohost[8205]:     parser=parser
Jun 20 14:03:27 yunohost[8205]:   File "/usr/lib/moulinette/yunohost/__init__.py", line 25, in cli
Jun 20 14:03:27 yunohost[8205]:     ret = moulinette.cli(args, output_as=output_as, timeout=timeout, top_parser=parser)
Jun 20 14:03:27 yunohost[8205]:   File "/usr/lib/python3/dist-packages/moulinette/__init__.py", line 131, in cli
Jun 20 14:03:27 yunohost[8205]:     args, output_as=output_as, timeout=timeout
Jun 20 14:03:27 yunohost[8205]:   File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 496, in run
Jun 20 14:03:27 yunohost[8205]:     ret = self.actionsmap.process(args, timeout=timeout)
Jun 20 14:03:27 yunohost[8205]:   File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 599, in process
Jun 20 14:03:27 yunohost[8205]:     return func(**arguments)
Jun 20 14:03:27 yunohost[8205]:   File "/usr/lib/moulinette/yunohost/firewall.py", line 229, in firewall_reload
Jun 20 14:03:27 yunohost[8205]:     if ssh_port not in firewall_list()["opened_ports"]:
Jun 20 14:03:27 yunohost[8205]:   File "/usr/lib/moulinette/yunohost/firewall.py", line 188, in firewall_list
Jun 20 14:03:27 yunohost[8205]:     f = firewall[i]
Jun 20 14:03:27 yunohost[8205]: TypeError: 'NoneType' object is not subscriptable
Jun 20 14:03:27 systemd[1]: yunohost-firewall.service: Main process exited, code=exited, status=1/FAILURE
Jun 20 14:03:27 systemd[1]: yunohost-firewall.service: Failed with result 'exit-code'.
Jun 20 14:03:27 systemd[1]: Failed to start YunoHost Firewall.Voici des messages d'erreurs

Merci
Daniel

J’ai aussi des erreurs quand je veux mettre à jour

 sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Err:1 http://deb.debian.org/debian buster InRelease
  Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease into data and signature failed
Err:2 http://deb.debian.org/debian buster-updates InRelease
  Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_buster-updates_InRelease into data and signature failed
Err:3 http://security.debian.org/debian-security buster/updates InRelease
  Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_buster_updates_InRelease into data and signature failed
Hit:4 http://nginx.org/packages/mainline/debian buster InRelease
Hit:5 http://forge.yunohost.org/debian buster InRelease
Err:4 http://nginx.org/packages/mainline/debian buster InRelease
  Splitting up /var/lib/apt/lists/nginx.org_packages_mainline_debian_dists_buster_InRelease into data and signature failed
Err:5 http://forge.yunohost.org/debian buster InRelease
  Splitting up /var/lib/apt/lists/forge.yunohost.org_debian_dists_buster_InRelease into data and signature failed
Reading package lists... Error!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster InRelease: Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster-updates InRelease: Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_buster-updates_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security buster/updates InRelease: Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_buster_updates_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://nginx.org/packages/mainline/debian buster InRelease: Splitting up /var/lib/apt/lists/nginx.org_packages_mainline_debian_dists_buster_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://forge.yunohost.org/debian buster InRelease: Splitting up /var/lib/apt/lists/forge.yunohost.org_debian_dists_buster_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease into data and signature failed
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Splitting up /var/lib/apt/lists/partial/deb.debian.org_debian_dists_buster-updates_InRelease into data and signature failed
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease  Splitting up /var/lib/apt/lists/partial/security.debian.org_debian-security_dists_buster_updates_InRelease into data and signature failed
W: Failed to fetch http://nginx.org/packages/mainline/debian/dists/buster/InRelease  Splitting up /var/lib/apt/lists/nginx.org_packages_mainline_debian_dists_buster_InRelease into data and signature failed
W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease  Splitting up /var/lib/apt/lists/forge.yunohost.org_debian_dists_buster_InRelease into data and signature failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Write error - write (28: No space left on device)
E: Write error - write (28: No space left on device)
E: The package lists or status file could not be parsed or opened.

Mais le systeme n’est pas plein !

sudo df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            466M     0  466M   0% /dev
tmpfs            97M   11M   87M  11% /run
/dev/mmcblk0p2   15G  3.9G  9.7G  29% /
tmpfs           484M   28K  484M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           484M     0  484M   0% /sys/fs/cgroup
tmpfs           484M  484M     0 100% /tmp
tmpfs           484M     0  484M   0% /var/tmp
/dev/sda1        55G  740M   52G   2% /ddur
/dev/mmcblk0p1  194M   55M  125M  31% /boot
tmpfs            97M     0   97M   0% /run/user/1007

merci

(modif par tituspijean: les blocs de code sont délimités par des accents graves ` [ALTGR+è sur clavier azerty] :wink: )

/tmp is full. You can try to see what’s in it. If it’s very old you can delete it (more than one day).

Merci
Mais après un reboot, /tmp est plein à 1%

Mais toujours la meme erreur

Failed to start YunoHost Firewall

Est-ce que sudo apt update donne le même message d’erreur ?
Sinon Firewall doesn't start
Est-ce que c’est le même problème ?

Quel est le contenu de /etc/yunohost/firewall.yml ?

cat /etc/yunohost/firewall.yml

merci de la réponse

cat /etc/yunohost/firewall.yml

retourne un contenu vide !
j’ai vérifié avec nano /etc/yunohost/firewall.yml
rien dans le fichier !

est-ce grave docteur ?

Tu devrais avoir quelques chose comme ceci (c’est bien le même soucis que celui pointé par @jarod5001 mais on a aucune idée de pourquoi ça arrive):

ipv4:
  TCP:
  - 22
  - 25
  - 53
  - 80
  - 443
  - 587
  - 993
  - 5222
  - 5269
  - 4190
  UDP:
  - 53
  - 5353
ipv6:
  TCP:
  - 22
  - 25
  - 53
  - 80
  - 443
  - 587
  - 993
  - 5222
  - 5269
  UDP:
  - 53
  - 5353
uPnP:
  TCP:
  - 22
  - 25
  - 80
  - 443
  - 587
  - 993
  - 5222
  - 5269
  - 4190
  - 53
  UDP:
  - 53
  enabled: false

Merci
j’ai renommé

/etc/yunohost/firewall.yml.old

en

/etc/yunohost/firewall.yml
et j'ai redémarré yunohost-firewall  
Ça remarche
Merci