omolko
Septembre 8, 2024, 9:11
1
Bonjour à tous ,
Depuis des mois, je n’accède plus aux journaux avec cette erreur
Échec de l’obtention des journaux de core_ssh, No systemd-journal-gatewayd Unix socket available
J’ai essayé un tas de trucs sans résultats. Si une bonne âme peut m’ aider
Ma configuration
System Information
version
core-2024.9.1
installation_type
Home Assistant Supervised
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.12.4
os_name
Linux
os_version
5.4.83-v7l+
arch
armv7l
timezone
Europe/Paris
config_dir
/config
Home Assistant Community Store
GitHub API
ok
GitHub Content
ok
GitHub Web
ok
HACS Data
ok
GitHub API Calls Remaining
4993
Installed Version
2.0.1
Stage
running
Available Repositories
1467
Downloaded Repositories
76
Home Assistant Cloud
logged_in
false
can_reach_cert_server
ok
can_reach_cloud_auth
ok
can_reach_cloud
ok
Home Assistant Supervisor
host_os
Raspbian GNU/Linux 10 (buster)
update_channel
stable
supervisor_version
supervisor-2024.08.0
agent_version
null
docker_version
20.10.2
disk_total
113.0 GB
disk_used
65.2 GB
healthy
true
supported
failed to load: Unsupported
host_connectivity
null
supervisor_connectivity
true
ntp_synchronized
true
virtualization
supervisor_api
ok
version_api
ok
installed_addons
Samba share (12.3.2), Duck DNS (1.18.0), File editor (5.8.0), Let’s Encrypt (5.1.4), CEC Scanner (3.0), VLC (0.3.0), Samba Backup (5.2.0), Zigbee2MQTT (1.40.1-1), Mosquitto broker (6.4.1), Terminal & SSH (9.14.0), MyElectricalData (0.13.2), MyElectricalData Dev (1.0.0rc14), Linky (1.5.0)
Dashboards
dashboards
3
resources
57
views
11
mode
storage
Recorder
oldest_recorder_run
1 septembre 2024 à 20:44
current_recorder_run
7 septembre 2024 à 19:54
estimated_db_size
746.64 MiB
database_engine
sqlite
database_version
3.45.3
Sonoff
version
3.7.3 (e240aaf)
cloud_online
1 / 2
local_online
0 / 0
___

Bonjour,
regarde c’est issue:
opened 11:58AM - 03 May 24 UTC
closed 09:44AM - 11 Jul 24 UTC
bug
### Describe the issue you are experiencing
after updating supervisor at latest… version all the logs of addons has following error:
"Impossibile ottenere i registri del componente aggiuntivo, No systemd-journal-gatewayd Unix socket available"
### What type of installation are you running?
Home Assistant Supervised
### Which operating system are you running on?
Other (e.g., Raspbian/Raspberry Pi OS/Fedora)
### Steps to reproduce the issue
1.
2.
3.
...
### Anything in the Supervisor logs that might be useful for us?
```txt
2024-05-03 12:45:01.906 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.1:5000 ssl:default [Connect call failed ('172.30.33.1', 5000)]
2024-05-03 12:45:10.484 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 12:45:13.809 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 12:45:14.855 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 12:45:28.934 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 12:45:44.295 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.1:5000 ssl:default [Connect call failed ('172.30.33.1', 5000)]
2024-05-03 12:45:46.580 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.1:5000 ssl:default [Connect call failed ('172.30.33.1', 5000)]
2024-05-03 12:47:17.651 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 12:50:31.108 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2024-05-03 12:50:31.494 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_vscode
2024-05-03 12:50:31.523 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2024-05-03 12:51:39.664 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Cannot proxy websocket message of unsupported type: 257
2024-05-03 12:51:39.669 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_vscode closed
2024-05-03 12:52:17.669 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 12:57:17.657 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 12:57:19.415 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-05-03 13:02:17.752 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:03:19.680 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-05-03 13:07:17.762 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:12:17.744 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:12:19.417 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-05-03 13:17:17.664 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:22:17.642 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:27:17.638 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:27:19.311 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-05-03 13:27:19.311 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-05-03 13:27:19.311 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-05-03 13:27:19.311 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-05-03 13:27:19.313 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-05-03 13:27:19.352 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-05-03 13:27:19.352 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-05-03 13:27:19.352 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-05-03 13:27:19.419 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-05-03 13:27:21.520 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-05-03 13:27:21.521 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-05-03 13:27:21.521 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-05-03 13:27:21.522 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-05-03 13:27:21.525 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-05-03 13:27:21.525 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-05-03 13:27:21.660 ERROR (MainThread) [supervisor.resolution.evaluations.container] Found image in unhealthy image list 'portainer/portainer-ce' on the host
2024-05-03 13:27:22.524 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-03 13:27:22.524 CRITICAL (MainThread) [supervisor.jobs] The following job conditions are ignored and will make the system unstable when they occur: {<JobCondition.HEALTHY: 'healthy'>}
2024-05-03 13:27:22.524 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-05-03 13:27:22.525 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-05-03 13:32:17.646 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:33:19.973 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-05-03 13:37:17.639 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:38:32.836 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_a0d7b954_nodered application
2024-05-03 13:38:35.548 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 13:38:43.117 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/amd64 with version 17.0.12
2024-05-03 13:42:17.639 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:42:19.421 INFO (MainThread) [supervisor.jobs] 'MountManager.reload' blocked from execution, mounting not supported on system
2024-05-03 13:47:17.644 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:47:30.141 INFO (SyncWorker_5) [supervisor.docker.manager] Restarting homeassistant
2024-05-03 13:47:30.748 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for f4f71350_ewelink_smart_home_slug closed
2024-05-03 13:47:30.753 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for f4f71350_ewelink_smart_home_slug closed
2024-05-03 13:47:57.416 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-05-03 13:48:18.607 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-05-03 13:48:18.723 ERROR (MainThread) [supervisor.resolution.evaluations.container] Found image in unhealthy image list 'portainer/portainer-ce' on the host
2024-05-03 13:48:18.864 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-05-03 13:48:18.925 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:48:22.516 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
2024-05-03 13:49:28.701 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to STARTING
2024-05-03 13:49:38.746 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
2024-05-03 13:49:38.749 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2024-05-03 13:49:56.149 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 13:51:30.898 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2024-05-03 13:51:31.089 INFO (MainThread) [supervisor.api.proxy] WebSocket access from f4f71350_ewelink_smart_home_slug
2024-05-03 13:51:31.100 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2024-05-03 13:53:19.282 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:54:43.037 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-03 13:54:44.056 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 13:55:53.900 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 13:55:53.900 ERROR (MainThread) [supervisor.api] Failed to get supervisor logs using advanced_logs API
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/api/__init__.py", line 404, in get_supervisor_logs
return await self._api_host.advanced_logs_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/host.py", line 207, in advanced_logs_handler
async with self.sys_host.logs.journald_logs(
File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/host/logs.py", line 143, in journald_logs
raise HostNotSupportedError(
supervisor.exceptions.HostNotSupportedError: No systemd-journal-gatewayd Unix socket available
2024-05-03 13:55:54.206 ERROR (MainThread) [supervisor.host.logs] No systemd-journal-gatewayd Unix socket available
2024-05-03 13:55:54.206 ERROR (MainThread) [supervisor.api] Failed to get supervisor logs using advanced_logs API
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/api/__init__.py", line 404, in get_supervisor_logs
return await self._api_host.advanced_logs_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/host.py", line 207, in advanced_logs_handler
async with self.sys_host.logs.journald_logs(
File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/host/logs.py", line 143, in journald_logs
raise HostNotSupportedError(
supervisor.exceptions.HostNotSupportedError: No systemd-journal-gatewayd Unix socket available
```
### System Health information
Non ci sono riparazioni disponibili al momento
### Supervisor diagnostics
_No response_
### Additional information
_No response_
Il donne ce lien:
omolko
Septembre 8, 2024, 9:52
3
oui merci j’ai fait ca mais lorsque je tape ce code la commande sudo n’est pas reconnu. Je n’ai ps réussi à installer HA supervised pour avoir les commandes sudo?
sudo apt-get install --reinstall systemd-journal-remote
La commande à taper est dans ton OS ( debian, RPI OS … ) , pas HA.
Citation
Si vous utilisez Home Assistant Supervised, exécutez la commande suivante sur l’hôte :
omolko
Septembre 8, 2024, 4:41
5
Il me demande d’installer java mais l’installation sur mon Mac tourne en boucle
Last login: Sun Sep 8 12:08:49 on ttys000
olivier@MBP-de-Olivier ~ % sudo apt install systemd-journal-remote -y
Password:
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
Ta HA installer sur un MAC ?
omolko:
arch armv7l
je te suis pas, tu as un HA supervised
Cette méthode d’installation a des exigences très strictes, par exemple, elle ne prend en charge que Debian (et Ubuntu, Armbian, Raspberry Pi OS ne sont pas pris en charge). Assurez-vous donc de bien comprendre les exigences de l’étape 1 ci-dessus.
d’après la doc, tu dois être sur un debian. C’est sur le débian qui faut taper la commande.
omolko
Septembre 8, 2024, 4:55
7
ok désolé mais je suis pas fort…
comme tu m’as dit de taper la commande dans mon os j’ai compris sur le terminal de mon Mac. HA est installé sur un raspberry mais je ne sais pas du coup ou taper la commande
Debian ca ne me dit rien du tout
Tu n’as pas choisi la méthode d’installation de HA la plus simple.
Je ne pourrais pas t’en dire plus, je suis nul en linux et encore plus sur une installation supervised.
En tout cas c’est commande dois être tapé dans l’os ou t’a installé ton HA supervised.
@Pulpy-Luke pourra surement mieux te conseiller que moi .
1 « J'aime »
ddfdom
Septembre 9, 2024, 6:02
9
Salut,
Comment as tu installes ton HA sur ton raspberry ?
1 « J'aime »
omolko
Septembre 9, 2024, 6:37
10
Bonjour,
c’est une vieille installation. En 2021 j’avais suivi le tuto avec balenaetcher et qq codes qu’il fallait taper pour lancer l’installation. par la suite je l’ai transféré sur un disque ssd mais les journaux ont marché pendant des années. Si je refais une install avec une sauvegarde complète ??
Bonjour,
J’avais le même problème, j’ai résolu mon soucis en réinstallant avec la commande apt install systemd-journal-remote --reinstall
.
Voir sujet Bug Report: Can't install homeassistant-supervised.deb - Without explaning the reason · Issue #288 · home-assistant/supervised-installer · GitHub
omolko
Septembre 10, 2024, 5:30
12
merci mais je ne sais pas ou saisir ce code. Sur le terminal de HA ou sur celui de mon Mac il ne connait pas la commande apt
Si HA est installé sur un RPI, c’est sur le RPI qu’il faut rentrer la commande, je ne vois pas ce que fais le mac dans l’installation…, systemd-journal-remote est un paquet spécifique à Linux.
2 « J'aime »
omolko:
Sur le terminal de HA
Sur le terminal du RPI, pas de HA. Ta un OS installer sur ton RPI, puis HA installer en supervised ( sans OS ).
C’est dans l’OS du RPI qui faut taper la commande.
omolko
Septembre 10, 2024, 5:45
15
désolé mais je ne me rappelles plus comment on y accède , j’ai du le faire une fois lors de l’installation de HA en 2020
Avec l’application Putty sur ton MAC.
tu mets l’ip du RPI , port 22 connection type SSH.
Tu fais open, et te sera demandé le user et paswword du SSH de ton RPI.
Puis tu tape la commande.
omolko
Septembre 11, 2024, 12:42
17
bon là je suis perdu
pi@raspberrypi:~ $ sudo apt install systemd-journal-remote -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libmicrohttpd12 libnss-systemd libpam-systemd libsystemd0 systemd
Suggested packages:
systemd-container
The following NEW packages will be installed:
libmicrohttpd12 systemd-journal-remote
The following packages will be upgraded:
libnss-systemd libpam-systemd libsystemd0 systemd
4 upgraded, 2 newly installed, 0 to remove and 134 not upgraded.
Need to get 4,183 kB of archives.
After this operation, 468 kB of additional disk space will be used.
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libnss-systemd armhf 241-7~deb10u8+rpi1
404 Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpam-systemd armhf 241-7~deb10u8+rpi1
404 Not Found [IP: 93.93.128.193 80]
Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf systemd armhf 241-7~deb10u8+rpi1
404 Not Found [IP: 93.93.128.193 80]
Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsystemd0 armhf 241-7~deb10u8+rpi1
404 Not Found [IP: 93.93.128.193 80]
Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf libmicrohttpd12 armhf 0.9.62-1
404 Not Found [IP: 93.93.128.193 80]
Err:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf systemd-journal-remote armhf 241-7~deb10u8+rpi1
404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/systemd/libnss-systemd_241-7~deb10u8+rpi1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/systemd/libpam-systemd_241-7~deb10u8+rpi1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/systemd/systemd_241-7~deb10u8+rpi1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/systemd/libsystemd0_241-7~deb10u8+rpi1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libm/libmicrohttpd/libmicrohttpd12_0.9.62-1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/systemd/systemd-journal-remote_241-7~deb10u8+rpi1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe ru
ddfdom
Septembre 11, 2024, 3:34
18
Faut faire un apt update
avant
omolko
Septembre 11, 2024, 8:46
19
merci j’ai fini par réinitialiser mon disque et repartir d’une sauvegarde. ça a permis de faire fonctionner les journaux à nouveau