Ssh & web terminal ne se lance pas

Mon problème

Je n’arrive plus à lancer ssh, le voyant reste toujours rouge. J’ai pourtant l’impression que les logs sont bon. J’ai réinstallé un backup mais cela n’a rien solutionné.

Mes logs

cont-init: info: running /etc/cont-init.d/mosquitto.sh
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/mysql.sh
cont-init: info: /etc/cont-init.d/mysql.sh exited 0
cont-init: info: running /etc/cont-init.d/ssh.sh
[15:53:33] WARNING: 
[15:53:33] WARNING: Logging in with a SSH password is security wise, a bad idea!
[15:53:33] WARNING: Please, consider using a public/private key pair.
[15:53:33] WARNING: What is this? https://kb.iu.edu/d/aews
[15:53:33] WARNING: 
cont-init: info: /etc/cont-init.d/ssh.sh exited 0
cont-init: info: running /etc/cont-init.d/user.sh
[15:53:37] NOTICE: Session sharing has been disabled!
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
(1/17) Installing binutils (2.38-r3)
(2/17) Installing libmagic (5.41-r0)
(3/17) Installing file (5.41-r0)
(4/17) Installing libatomic (11.2.1_git20220219-r2)
(5/17) Installing gmp (6.2.1-r2)
(6/17) Installing isl22 (0.22-r0)
(7/17) Installing mpfr4 (4.1.0-r0)
(8/17) Installing mpc1 (1.2.1-r0)
(9/17) Installing gcc (11.2.1_git20220219-r2)
(10/17) Installing musl-dev (1.2.3-r0)
(11/17) Installing libc-dev (0.7.2-r3)
(12/17) Installing g++ (11.2.1_git20220219-r2)
(13/17) Installing make (4.3-r0)
(14/17) Installing fortify-headers (1.1-r1)
(15/17) Installing patch (2.7.6-r7)
(16/17) Installing build-base (0.5-r3)
(17/17) Installing gcc-zsh-completion (5.8.1-r4)
Executing busybox-1.35.0-r15.trigger
OK: 471 MiB in 204 packages
(1/1) Installing py3-wheel (0.37.1-r0)
Executing busybox-1.35.0-r15.trigger
OK: 472 MiB in 205 packages
Looking in links: https://wheels.home-assistant.io/musllinux/
Collecting catt
  Downloading catt-0.12.9-py3-none-any.whl (26 kB)
Collecting yt-dlp>=2022.6.22.1
  Downloading yt_dlp-2022.9.1-py2.py3-none-any.whl (2.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 303.5 kB/s eta 0:00:00
Collecting requests>=2.23.0
  Downloading requests-2.28.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 203.3 kB/s eta 0:00:00
Collecting click>=7.1.2
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 301.4 kB/s eta 0:00:00
Collecting pychromecast<13,>=12.1.4
  Downloading PyChromecast-12.1.4-py2.py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 kB 338.3 kB/s eta 0:00:00
Collecting ifaddr>=0.1.7
  Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting casttube>=0.2.0
  Downloading casttube-0.2.1-py3-none-any.whl (6.5 kB)
Collecting zeroconf>=0.25.1
  Downloading zeroconf-0.39.1-py3-none-any.whl (106 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.3/106.3 kB 264.8 kB/s eta 0:00:00
Collecting protobuf<4,>=3.19.1
  Downloading protobuf-3.20.2-py2.py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.1/162.1 kB 385.1 kB/s eta 0:00:00
Collecting charset-normalizer<3,>=2
  Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 324.0 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 315.6 kB/s eta 0:00:00
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 359.3 kB/s eta 0:00:00
Collecting brotli
  Downloading https://wheels.home-assistant.io/musllinux/Brotli-1.0.9-cp310-cp310-musllinux_1_2_aarch64.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 643.8 kB/s eta 0:00:00
Collecting websockets
  Downloading https://wheels.home-assistant.io/musllinux/websockets-10.3-cp310-cp310-musllinux_1_2_aarch64.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.8/97.8 kB 832.4 kB/s eta 0:00:00
Collecting mutagen
  Downloading mutagen-1.45.1-py3-none-any.whl (218 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 218.7/218.7 kB 393.0 kB/s eta 0:00:00
Collecting pycryptodomex
  Downloading https://wheels.home-assistant.io/musllinux/pycryptodomex-3.15.0-cp35-abi3-musllinux_1_2_aarch64.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 586.4 kB/s eta 0:00:00
Collecting async-timeout>=4.0.1
  Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Installing collected packages: ifaddr, brotli, websockets, urllib3, pycryptodomex, protobuf, mutagen, idna, click, charset-normalizer, certifi, async-timeout, zeroconf, yt-dlp, requests, casttube, pychromecast, catt
Successfully installed async-timeout-4.0.2 brotli-1.0.9 casttube-0.2.1 catt-0.12.9 certifi-2022.9.24 charset-normalizer-2.1.1 click-8.1.3 idna-3.4 ifaddr-0.2.0 mutagen-1.45.1 protobuf-3.20.2 pychromecast-12.1.4 pycryptodomex-3.15.0 requests-2.28.1 urllib3-1.26.12 websockets-10.3 yt-dlp-2022.9.1 zeroconf-0.39.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
cont-init: info: /etc/cont-init.d/user.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sshd (no readiness notification)
services-up: info: copying legacy longrun ttyd (no readiness notification)
s6-rc: info: service legacy-services successfully started
[15:57:42] INFO: Starting the ttyd daemon...
[15:57:42] INFO: Starting the SSH daemon...
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.

Ma configuration


System Information

version core-2022.9.7
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.5
os_name Linux
os_version 5.15.61-v8
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4847
Installed Version 1.27.1
Stage running
Available Repositories 1135
Downloaded Repositories 22
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 Home Assistant OS 9.0
update_channel stable
supervisor_version supervisor-2022.09.1
agent_version 1.3.0
docker_version 20.10.17
disk_total 109.3 GB
disk_used 12.1 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Samba share (10.0.0), File editor (5.4.1), Duck DNS (1.15.0), motionEye (0.18.0), Let’s Encrypt (4.12.7), ESPHome (2022.3.1), Home Assistant Google Drive Backup (0.108.4), Studio Code Server (5.4.0), SSH & Web Terminal (12.0.2)
Dashboards
dashboards 1
resources 9
views 11
mode storage
Recorder
oldest_recorder_run 16 septembre 2022 à 07:41
current_recorder_run 27 septembre 2022 à 17:13
estimated_db_size 644.61 MiB
database_engine sqlite
database_version 3.38.5
Sonoff
version 3.2.0 (38856d1)
cloud_online 0 / 1
local_online 0 / 0
___

Hello

Un petit bonjour pour commencé est sympa et merci !!! penses y la prochaine fois :grinning:

Celui ci fonctionné avant de faire quoi que ce soi ?
Quand tu lance une backup ancienne , est ce que ssh / web terminal fonctionné ?

1 « J'aime »

Bonjour, essaye ca. Ca fonctionner pour moi et d’autres utilisateurs.

Il y a l’air d’avoir un problème avec la restauration d’un backup avec les modules.

2 « J'aime »

Oui tu a raison, en voulant aller a l’essentiel j’en oublie mes bonnes manières :face_with_peeking_eye:
Mon backup n’a pas réussit à relancer ssh/web terminal.
Je viens de tester la méthode de @WarC0zes et cela fonctionne!!!
Un grand merci à vous!!

Merci beaucoup, cela à fonctionné!!
J’ai débranché physiquement mon raspi, vidé mon cache et cela refonctionne!!
Merci encore!!

1 « J'aime »

Hello

Pas de souci, mais la prochaine fois une fessé , hein !! :rofl: :rofl: :rofl: :rofl:
Bonne continuation

Je m’en doutais :wink:
Content que c’est fonctionner pour toi.