Good afternoon everyone,
I’m really sorry I have to create a new topic, but I couldn’t find anything online about this.
when reloading scripts, pretty much all of my scripts are coming up in the log with this warning:
“WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/xxxx.”
I’m running Hassbian on a Raspberry pi 3 and I can’t seem to figure out what the issue may be.
I’d like to note that my setup tends to failing to boot every other day, forcing me to restore a backup.
I feel like the two issues may be related, but I don’t know how to solve it.
Thank you all for your help!
Power supply issues ?
SD Card on the way out ?
What version of HA are you running ?
Was the install running without issue at any point ? Did the problems start after a change ?
Thank you for your response.
Power supply is a repurposed iphone charger, are these too weak to handle a rpi3 running hassbian?
The SD card was upgraded to a Sandisk ultra 16gb last week, it did not solve the issues.
HA version 0.55.1, I’ve been pushing off installing the latest update because of all the issues I’ve been having.
As long as your power supply can deliver 2.5amps you’ll be fine.
Can you try emptying your scripts.yaml file restarting HA and post the result ?
Turns out, my power supply did not deliver 2.5A, I am now using one that does.
I’ve commented out all the scripts in scripts.yaml, here’s what the log showed when reloading scripts:
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashfunyuns.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashscotchbrite.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashmarseillais.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/1510279132362.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashbref.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/mainlightson.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/blinktest.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/bedtoglivoff.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/softbluelights.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashnaturevalley.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashdunkindonuts.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashsupergoop.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashfranzese.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/desklamptoggle.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashenergizer.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashpoptarts.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashhefty.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/blinksequence.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashmountaindew.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dash7thgeneration.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/sendspace.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashhershey.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashpepsi.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/bedroomtoggle.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashpringles.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashfunyuns.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashhefty.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/desklamptoggle.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashnaturevalley.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashpringles.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashmarseillais.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/sendspace.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashmountaindew.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashpepsi.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/blinktest.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashdunkindonuts.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/mainlightson.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashscotchbrite.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashenergizer.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashfranzese.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/bedroomtoggle.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashbref.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashsupergoop.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashhershey.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dash7thgeneration.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/bedtoglivoff.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/dashpoptarts.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/1510279132362.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/blinksequence.
2018-01-14 20:50:18 WARNING (MainThread) [homeassistant.core] Unable to remove unknown service script/softbluelights.
I haven’t inspected the whole thing, but some scripts show up there multiple times, even though at the moment, there is no script in my set up.
Maybe something in homeassistant.core got corrupted by the previous sd card, or the previous power supply?
Is there a command line that can rebuild homeassistant.core?
Your best bet might be to back up your yamls and rewrite the SD card, copy your yamls back across