mikesellt
(Tim Mikesell)
December 13, 2021, 6:40pm
1
When I try and restart HA after the 2021.12 update, I get an error:
“Failed to call service homeassistant/restart. function() argument ‘code’ must be code, not str”
I updated some HACS integrations, and I can’t restart HA due to the error code above. Is there another way to restart, or a way to fix this error?
As always, thanks for any assistance. This is a great community.
1 Like
mikesellt
(Tim Mikesell)
December 13, 2021, 7:19pm
2
I think I resolved this myself, but I’m a bit curious if it was a problem with the update, update process, or something else that isn’t fully resolved. I stopped and restarted the Home Assistant Docker container I’m running, and it seems to have cleared up the restart problem. If anyone has any useful info about this, let me know.
Whippie
December 14, 2021, 7:03am
3
For me the same. As a solution i restarted my virtual mashine on my synology drive. After that it works again
1 Like
zac99
(Zac99)
December 14, 2021, 7:30pm
4
Hi,
I have the same situation after updating to 2021.12.0 and 2021.12.1. I can’t restart HA, tried to stop and reset the device, but nothing helped me.
I also have issues with checking the configuration validation, just checks the configuration but never finishes…
Please for help, advice.
ThaNerd
(Turbo Tronix)
December 14, 2021, 11:57pm
5
Same here, there is some issue with the latest update. I get the same error as well and can’t get the validation to work.
petro
(Petro)
December 15, 2021, 1:52am
6
Update or remove Alexa media player
zac99
(Zac99)
December 15, 2021, 6:28am
7
Thanks, updating the Alexa media player solved the situation.
First I tried to remove the Alexa media player but I couldn’t and after updating the Alexa media player everything worked.
figarciab
(Felipe)
December 20, 2021, 9:36pm
8
Hi Zac, where can I update the Alexa Media Player? I can’t find the option. Thanks!
zac99
(Zac99)
December 22, 2021, 6:22am
9
Hi Felipe, you can find the Alexa media player update in HACS integration.
BernieV
(Bernd Vantyghem)
December 22, 2021, 7:06am
10
I had this too. Updated to the latest version (2012.12.4) solved this.
riotmode
(Philipp)
January 27, 2022, 8:36pm
11
had the same problem, i updated CORE & OS & Alexa Media Player (HACS) and rebooted HOST.
all is fine again
1 Like