How to repair hassio_cli?

How do I repair hassio_cli? I get the below error and when I look in portainer, hassio_cli is created, but when I try to start it, it says that it doesn’t exist.

20-04-09 16:18:36 WARNING (MainThread) [supervisor.tasks] Watchdog found a problem with cli plugin!
20-04-09 16:18:36 INFO (MainThread) [supervisor.cli] Start cli plugin
20-04-09 16:18:36 INFO (SyncWorker_5) [supervisor.docker.interface] Clean hassio_cli application
20-04-09 16:18:37 ERROR (SyncWorker_5) [supervisor.docker] Can't start hassio_cli: 400 Client Error: Bad Request ("OCI runtime create failed: container_linux.go:346: starting container process caused "exec: \"/init\": stat /init: no such file or directory": unknown")
20-04-09 16:18:37 ERROR (MainThread) [supervisor.cli] Can't start cli plugin
20-04-09 16:18:37 ERROR (MainThread) [supervisor.tasks] Watchdog cli reanimation fails!

I’ve tried to do a “ha su repair”, but the container with hassio_cli still seems corrupt. Any ideas?

Got help on Discord. Here is the solution:

 on terminal add-on: ha cli update --version 24 or ha cli update
2 Likes