Not able to start SSH service


#1

Home Assistant
0.87.1

SSH server 5.2

Not able to start SSH service from web interface:
https://192.168.1.101:8123/lovelace/default_view

Below is the error message from the System log:

19-03-13 04:22:10 ERROR (SyncWorker_0) [hassio.docker] Can’t create container from addon_core_ssh: 409 Client Error: Conflict (“Conflict. The container name “/addon_core_ssh” is already in use by container “2f74735538b99a824b2fdd67f3e3a103c329de5283399a1706650fb9be396025”. You have to remove (or rename) that container to be able to reuse that name.”)

Please advise what should I do?


#2

Sounds like it is already running.


#3

but not able to login with Putty


#4

Can I suggest a reboot? something is wrong there.


#5

did multiple reboot/restart already, but it didn’t help.


#6

Did you try port 2222? PuTTY defaults to port 22.


#7

tried, but connection refused


#8

Try deleting the addon, then in Portainer, look for the Image and delete it as well… Then try adding the addon back again.


#9

Got the same error:

19-03-15 02:43:01 ERROR (SyncWorker_13) [hassio.docker] Can’t create container from addon_core_ssh: 409 Client Error: Conflict (“Conflict. The container name “/addon_core_ssh” is already in use by container “2f74735538b99a824b2fdd67f3e3a103c329de5283399a1706650fb9be396025”. You have to remove (or rename) that container to be able to reuse that name.”)

Can’t seem to find "The container name “/addon_core_ssh” " in Portainer


#10

is your portainer showing all other hassio addons and hassio itself or are they hidden?


#11

yes, this is the one I saw for SSH:
homeassistant/armv7-addon-ssh:5.2, but didn’t anything like “/addon_core_ssh”


#12

A container is created and run from an image. homeassistant/armv7-addon-ssh is the image and it runs as addon_core_ssh container.


#13

got it. Just upgraded from 0.87.1 to 0.89.2, but still can’t start SSH:
19-03-16 17:02:20 ERROR (SyncWorker_18) [hassio.docker] Can’t create container from addon_core_ssh: 409 Client Error: Conflict (“Conflict. The container name “/addon_core_ssh” is already in use by container “2f74735538b99a824b2fdd67f3e3a103c329de5283399a1706650fb9be396025”. You have to remove (or rename) that container to be able to reuse that name.”)


#14

Try uninstalling it completely. Then a full reboot to clean off the old one. If that doesn’t work you have to get a little more manual.


#15

completely uninstalled SSH, full rebooted, reinstalled SSH, but still refused to start with the same error:
19-03-16 17:31:14 ERROR (SyncWorker_2) [hassio.docker] Can’t create container from addon_core_ssh: 409 Client Error: Conflict (“Conflict. The container name “/addon_core_ssh” is already in use by container “2f74735538b99a824b2fdd67f3e3a103c329de5283399a1706650fb9be396025”. You have to remove (or rename) that container to be able to reuse that name.”)

Please provide the steps to fix it manually. Thanks in advance!