"Conflict. The container name "/homeassistant" is already in use by container

Hi all,

I have just started about a week ago with Hass.io and was making some progress. However, Unfortunately I am not able to reach Hass.io with the webinterface anymore.
SSH to the IP is fine, but I can;t get it to start.
Could someone help me out?

SSH of command hassio ha start returns the following:
core-ssh:~# hassio ha start

"result": "error",
"message": null

the log returns this:
core-ssh:~# hassio ha logs

Error decoding json unexpected end of JSON input: core-ssh:~#

Info the following:

core-ssh:~# hassio ha info
{
“result”: “ok”,
“data”: {
“version”: “0.62.0”,
“last_version”: “0.62.0”,
“image”: “homeassistant/raspberrypi3-homeassistant”,
“custom”: false,
“boot”: true,
“port”: 8123,
“ssl”: false,
“watchdog”: true
}
}

What could be wrong??

the log of the suporvisor gives a lot of information. Could somebody help out with this?

core-ssh:~# hassio s logs

Error decoding json invalid character 's' looking for beginning of value: starti                                                     ng version 3.2.4
18-01-28 17:17:08 INFO (MainThread) [__main__] Initialize Hassio setup
18-01-28 17:17:08 INFO (MainThread) [__main__] Setup HassIO
18-01-28 17:17:08 INFO (SyncWorker_0) [hassio.docker.supervisor] Attach to super                                                     visor homeassistant/armhf-hassio-supervisor with version 0.84
18-01-28 17:17:08 INFO (MainThread) [hassio.misc.host_control] Send 'info' to Ho                                                     stControl.
18-01-28 17:17:09 INFO (MainThread) [hassio.misc.host_control] Receive from Host                                                     Control: { "type": "resinos", "version": "1.1", "last_version": "1.1", "hostname                                                     ": "hassio", "features": ["shutdown", "reboot", "update", "hostname"], "os": "GN                                                     U/Linux" }.
18-01-28 17:17:09 INFO (SyncWorker_1) [hassio.docker.interface] Attach to image                                                      homeassistant/raspberrypi3-homeassistant with version 0.62.0
18-01-28 17:17:09 WARNING (MainThread) [hassio.addons.data] Can't read /data/add                                                     ons/git/53caca22/base_debian/config.json: required key not provided @ data['boot                                                     ']. Got None
required key not provided @ data['startup']. Got None
18-01-28 17:17:09 WARNING (MainThread) [hassio.addons.data] Can't read repositor                                                     y information from /data/addons/git/4748a9fd/repository.json
18-01-28 17:17:09 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/                                                     git/4748a9fd repository
18-01-28 17:17:09 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/                                                     core repository
18-01-28 17:17:09 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/                                                     git/53caca22 repository
18-01-28 17:17:09 WARNING (MainThread) [hassio.addons.data] Can't read /data/add                                                     ons/git/53caca22/base_debian/config.json: required key not provided @ data['boot                                                     ']. Got None
required key not provided @ data['startup']. Got None
18-01-28 17:17:09 WARNING (MainThread) [hassio.addons.data] Can't read repositor                                                     y information from /data/addons/git/4748a9fd/repository.json
18-01-28 17:17:09 INFO (MainThread) [hassio.addons] Load addons: 34 all - 34 new                                                      - 0 remove
18-01-28 17:17:09 INFO (SyncWorker_3) [hassio.docker.interface] Attach to image                                                      homeassistant/armhf-addon-samba with version 3.0
18-01-28 17:17:09 INFO (SyncWorker_0) [hassio.docker.interface] Attach to image                                                      homeassistant/armhf-addon-configurator with version 0.2.4
18-01-28 17:17:09 INFO (SyncWorker_8) [hassio.docker.interface] Attach to image                                                      homeassistant/armhf-addon-ssh with version 3.0
18-01-28 17:17:09 INFO (MainThread) [hassio.updater] Fetch update data from http                                                     s://raw.githubusercontent.com/home-assistant/hassio/master/version.json
18-01-28 17:17:10 INFO (MainThread) [hassio.snapshots] Found 0 snapshot files
18-01-28 17:17:10 INFO (MainThread) [hassio.addons] Startup initialize run 0 add                                                     ons
18-01-28 17:17:10 INFO (MainThread) [__main__] Run HassIO
18-01-28 17:17:10 INFO (MainThread) [hassio.misc.dns] Start DNS port forwarding                                                      for host add-ons
18-01-28 17:17:10 INFO (MainThread) [hassio.core] Ignore Hass.io auto updates on                                                      beta mode
18-01-28 17:17:10 INFO (MainThread) [hassio.core] Start API on 172.30.32.2
18-01-28 17:17:10 INFO (MainThread) [hassio.addons] Startup system run 0 addons
18-01-28 17:17:10 INFO (MainThread) [hassio.addons] Startup services run 2 addon                                                     s
18-01-28 17:17:10 INFO (SyncWorker_5) [hassio.docker.interface] Clean homeassist                                                     ant/armhf-addon-samba docker application
18-01-28 17:17:10 INFO (SyncWorker_1) [hassio.docker.interface] Clean homeassist                                                     ant/armhf-addon-ssh docker application
18-01-28 17:17:25 INFO (SyncWorker_5) [hassio.docker.addon] Start docker addon h                                                     omeassistant/armhf-addon-samba with version 3.0
18-01-28 17:17:26 INFO (SyncWorker_1) [hassio.docker.addon] Start docker addon h                                                     omeassistant/armhf-addon-ssh with version 3.0
18-01-28 17:17:31 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:17:34 ERROR (SyncWorker_2) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:17:34 INFO (MainThread) [hassio.addons] Startup application run 1 ad                                                     dons
18-01-28 17:17:34 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassist                                                     ant/armhf-addon-configurator docker application
18-01-28 17:17:39 INFO (SyncWorker_6) [hassio.docker.addon] Start docker addon h                                                     omeassistant/armhf-addon-configurator with version 0.2.4
18-01-28 17:17:44 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
18-01-28 17:17:44 INFO (MainThread) [hassio.core] Hass.io is up and running
18-01-28 17:17:59 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:17:59 INFO (SyncWorker_3) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:18:00 ERROR (SyncWorker_3) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:18:14 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:18:14 INFO (SyncWorker_9) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:18:14 ERROR (SyncWorker_9) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:18:29 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:18:29 INFO (SyncWorker_1) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:18:29 ERROR (SyncWorker_1) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:18:44 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:18:44 INFO (SyncWorker_12) [hassio.docker.interface] Clean homeassis                                                     tant/raspberrypi3-homeassistant docker application
18-01-28 17:18:44 ERROR (SyncWorker_12) [hassio.docker] Can't create container f                                                     rom homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/h                                                     omeassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e                                                     9b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container t                                                     o be able to reuse that name.")
18-01-28 17:18:59 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:18:59 INFO (SyncWorker_7) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:18:59 ERROR (SyncWorker_7) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:19:14 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:19:14 INFO (SyncWorker_15) [hassio.docker.interface] Clean homeassis                                                     tant/raspberrypi3-homeassistant docker application
18-01-28 17:19:14 ERROR (SyncWorker_15) [hassio.docker] Can't create container f                                                     rom homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/h                                                     omeassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e                                                     9b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container t                                                     o be able to reuse that name.")
18-01-28 17:19:29 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:19:29 INFO (SyncWorker_0) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:19:29 ERROR (SyncWorker_0) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:19:44 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:19:44 INFO (SyncWorker_18) [hassio.docker.interface] Clean homeassis                                                     tant/raspberrypi3-homeassistant docker application
18-01-28 17:19:44 ERROR (SyncWorker_18) [hassio.docker] Can't create container f                                                     rom homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/h                                                     omeassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e                                                     9b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container t                                                     o be able to reuse that name.")
18-01-28 17:19:59 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:19:59 INFO (SyncWorker_10) [hassio.docker.interface] Clean homeassis                                                     tant/raspberrypi3-homeassistant docker application
18-01-28 17:19:59 ERROR (SyncWorker_10) [hassio.docker] Can't create container f                                                     rom homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/h                                                     omeassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e                                                     9b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container t                                                     o be able to reuse that name.")
18-01-28 17:20:14 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:20:14 INFO (SyncWorker_11) [hassio.docker.interface] Clean homeassis                                                     tant/raspberrypi3-homeassistant docker application
18-01-28 17:20:14 ERROR (SyncWorker_11) [hassio.docker] Can't create container f                                                     rom homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/h                                                     omeassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e                                                     9b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container t                                                     o be able to reuse that name.")
18-01-28 17:20:29 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:20:29 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:20:29 ERROR (SyncWorker_6) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")
18-01-28 17:20:44 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:20:44 INFO (SyncWorker_14) [hassio.docker.interface] Clean homeassis                                                     tant/raspberrypi3-homeassistant docker application
18-01-28 17:20:44 ERROR (SyncWorker_14) [hassio.docker] Can't create container f                                                     rom homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/h                                                     omeassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e                                                     9b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container t                                                     o be able to reuse that name.")
18-01-28 17:20:59 WARNING (MainThread) [hassio.tasks] Watchdog found a problem w                                                     ith Home-Assistant docker!
18-01-28 17:20:59 INFO (SyncWorker_3) [hassio.docker.interface] Clean homeassist                                                     ant/raspberrypi3-homeassistant docker application
18-01-28 17:20:59 ERROR (SyncWorker_3) [hassio.docker] Can't create container fr                                                     om homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/ho                                                     meassistant" is already in use by container "c9910f8be39b8d6bde9bfae9262979c36e9                                                     b9c84cae2072dc0f24098bd49ae0a". You have to remove (or rename) that container to                                                      be able to reuse that name.")

Sorry, I don’t have a solution for you, but I just ran into the same problem today. Maybe we can figure out the recurring problem in our situation. I’ve been running Hass.io and Home Assistant 0.60.1 for a month without problems. Haven’t made a change to the config in over a week, and my Pi was rebooted yesterday, so the config files should be fine. HA was running just fine today until I kept shutting off/on the power in the house while installing some Z-Wave switches. Maybe SD card became corrupted, but that wouldn’t explain why I’m able to SSH in.

I’m able to SSH in, and access SMB shares through the Hass.io add-on, so those seem to be up and running. I can’t access the web interface. The home-assistant.log doesn’t show any errors, but hasn’t been updated since 3:20PM (it is 5:45PM at time of this writing). I’ve tried hard reset with the USB cable, through CLI ('hassio host reboot), but same errors in the hassio supervisor logs.

The hassio supervisor logs show a number of errors though, that look similar to your errors. If I can’t find a solution, I will try to restore Home Assistant from a backup and a new SD card.

18-01-31 23:24:33 INFO (SyncWorker_15) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:24:35 ERROR (SyncWorker_15) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:24:46 INFO (SyncWorker_5) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:24:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:24:48 INFO (SyncWorker_7) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:24:48 ERROR (SyncWorker_7) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:24:51 INFO (SyncWorker_0) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:24:53 ERROR (SyncWorker_0) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:25:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:25:03 INFO (SyncWorker_18) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:25:03 ERROR (SyncWorker_18) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:25:18 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
18-01-31 23:25:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:25:18 INFO (SyncWorker_3) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:25:18 ERROR (SyncWorker_3) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:25:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:25:33 INFO (SyncWorker_12) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:25:33 ERROR (SyncWorker_12) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:25:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:25:48 INFO (SyncWorker_14) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:25:48 ERROR (SyncWorker_14) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:26:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:26:03 INFO (SyncWorker_8) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:26:03 ERROR (SyncWorker_8) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:26:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:26:18 INFO (SyncWorker_0) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:26:18 ERROR (SyncWorker_0) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:26:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:26:33 INFO (SyncWorker_18) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:26:34 ERROR (SyncWorker_18) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:26:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:26:48 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:26:49 ERROR (SyncWorker_2) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:27:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:27:03 INFO (SyncWorker_9) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:27:03 ERROR (SyncWorker_9) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:27:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:27:18 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:27:18 ERROR (SyncWorker_6) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:27:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:27:33 INFO (SyncWorker_15) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:27:34 ERROR (SyncWorker_15) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:27:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:27:48 INFO (SyncWorker_1) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:27:49 ERROR (SyncWorker_1) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:28:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:28:03 INFO (SyncWorker_16) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:28:04 ERROR (SyncWorker_16) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:28:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:28:18 INFO (SyncWorker_14) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:28:19 ERROR (SyncWorker_14) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:28:21 INFO (MainThread) [hassio.updater] Fetch update data from https://raw.githubusercontent.com/home-assistant/hassio/master/version.json
18-01-31 23:28:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:28:33 INFO (SyncWorker_5) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:28:34 ERROR (SyncWorker_5) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:28:38 WARNING (SyncWorker_8) [hassio.docker.interface] Can't grap logs from homeassistant/raspberrypi3-homeassistant: 500 Server Error: Internal Server Error ("can not get logs from container which is dead or marked for removal")
18-01-31 23:28:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:28:48 INFO (SyncWorker_0) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:28:49 ERROR (SyncWorker_0) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:29:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:29:03 INFO (SyncWorker_18) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:29:04 ERROR (SyncWorker_18) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:29:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:29:18 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:29:19 ERROR (SyncWorker_2) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:29:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:29:33 INFO (SyncWorker_9) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:29:35 ERROR (SyncWorker_9) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:29:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:29:48 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:29:51 ERROR (SyncWorker_6) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:30:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:30:03 INFO (SyncWorker_15) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:30:04 ERROR (SyncWorker_15) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:30:18 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!
18-01-31 23:30:18 INFO (SyncWorker_8) [hassio.docker.interface] Restart homeassistant/raspberrypi3-homeassistant
18-01-31 23:30:18 WARNING (SyncWorker_8) [hassio.docker.interface] Can't restart homeassistant/raspberrypi3-homeassistant: 500 Server Error: Internal Server Error ("Cannot restart container 023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a: Container is marked for removal and cannot be started.")
18-01-31 23:30:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:30:18 INFO (SyncWorker_0) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:30:19 ERROR (SyncWorker_0) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:30:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:30:33 INFO (SyncWorker_18) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:30:34 ERROR (SyncWorker_18) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:30:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:30:48 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:30:49 ERROR (SyncWorker_2) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:31:03 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:31:03 INFO (SyncWorker_9) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:31:04 ERROR (SyncWorker_9) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:31:18 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:31:18 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:31:19 ERROR (SyncWorker_6) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:31:33 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:31:33 INFO (SyncWorker_15) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:31:34 ERROR (SyncWorker_15) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:31:48 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant docker!
18-01-31 23:31:48 INFO (SyncWorker_1) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:31:49 ERROR (SyncWorker_1) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")
18-01-31 23:32:03 INFO (SyncWorker_7) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-01-31 23:32:03 ERROR (SyncWorker_7) [hassio.docker] Can't create container from homeassistant: 409 Client Error: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "023c03924ce2254efad8be01d788f9bebb89b4c719c01a966d2ffe42da223b0a". You have to remove (or rename) that container to be able to reuse that name.")

I never figured out the issue and ended up doing a fresh install of HA 0.62.1 on the RPi 3. Works great so far with all my previous components added in. I wish I knew what caused this issue though.

Today I am having the same problem showing up.
Is there someone who has an idea of what is causing this issue and how this can be resolved?

Thanks!

I’ve experienced this several times. In my experience it was fixed by checking the yaml in configuration.yaml, even an un-required whitespace can cause this error. Go over your config and check every line.
Cheers

Same for me when trying to update from 2022.10.5 using “ha core update --version=2022.11.5”.

Nothing new:

Pretty helpless currently, trying stuff noted in the GitHub issue, finger’s crossed…


Update: Nothing helped.

  • Even ha su repair timed out with Post "http://supervisor/supervisor/repair": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
  • Also ha host reboot gave Post "http://supervisor/host/reboot": context deadline exceeded (Client.Timeout exceeded while awaiting headers) so I really had to shutdown the host the hard way (power cable - pull, wait, plug) for the first time in more than 2 years.

Lesson learned: Dear Supervisor, if you’re screwed, everything is screwed.

I have the same issue every time I upgrade the core. Message is:

23-08-12 12:34:57 ERROR (SyncWorker_1) [supervisor.docker.manager] Can't create container from homeassistant: 409 Client Error for http+docker://localhost/v1.42/containers/create?name=homeassistant: Conflict ("Conflict. The container name "/homeassistant" is already in use by container "bbae19bd41713c1be4e1d99c02c5a986b77ff183abea5b06d4a80da69ce5d290". You have to remove (or rename) that container to be able to reuse that name.")
23-08-12 12:34:57 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]

The only sequence which works for me via ssh on 22222 is:

ha core stop
ha core update
ha host reboot
ha core update
ha core start

I am on the most recent supervisor (2023.8.1). I have no idea why this is happening. It is a bit annoying, as I cannot really issue these commands from my mobile phone. I am running HAOS.

2 Likes

Solution for me is posted here: ✔️🏃Run On Startup.d - #71 by Elarion245