Closed Phil1988 closed 4 years ago
@Phil1988 Many thanks for your report.
Did you follow the instructions to wait for compete service start via htop, restart the service again and access the web UI one time?
If so please paste the output of: journalctl -u home-assistant
Thanks for you reply @MichaIng !
Yes I did so. The update of python was days ago (but really needed a lot of time ;) ).
journalctl -u home-assistant
gives me
--Logs begin at Fri 2019-12-27 19:45:01 CET, end at Mon 2020-01-06 19:20:01 CET. --
Jan 02 18:36:35 DietPi systemd[1]: Stopping Home Assistant (DietPi)...
Jan 02 18:36:36 DietPi systemd[1]: Stopped Home Assistant (DietPi).
Jan 02 18:39:31 DietPi systemd[1]: Started Home Assistant (DietPi).
Jan 02 18:39:34 DietPi homeassistant-start.sh[8103]: pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
Jan 02 18:39:38 DietPi homeassistant-start.sh[8103]: 2020-01-02 18:39:38 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: in "/home/homeassistant/.homeassistant/configura
tion.yaml", line 14, column 11: Unable to read file /home/homeassistant/.homeassistant/frontend.yaml.
Jan 02 18:39:38 DietPi homeassistant-start.sh[8103]: 2020-01-02 18:39:38 INFO (MainThread) [homeassistant.core] Starting Home Assistant
Jan 02 18:39:38 DietPi homeassistant-start.sh[8103]: 2020-01-02 18:39:38 INFO (MainThread) [homeassistant.core] Timer:starting
Jan 02 18:40:14 DietPi systemd[1]: Stopping Home Assistant (DietPi)...
Jan 02 18:40:14 DietPi systemd[1]: Stopped Home Assistant (DietPi).
Jan 03 09:13:43 DietPi systemd[1]: Started Home Assistant (DietPi).
Jan 03 09:13:53 DietPi homeassistant-start.sh[10282]: pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
Jan 03 09:14:07 DietPi systemd[1]: Stopping Home Assistant (DietPi)...
Jan 03 09:14:07 DietPi systemd[1]: Stopped Home Assistant (DietPi).
Jan 03 09:18:20 DietPi systemd[1]: Started Home Assistant (DietPi).
Jan 03 09:18:24 DietPi homeassistant-start.sh[24954]: 2020-01-03 09:18:24 INFO (SyncWorker_0) [homeassistant.config] Upgrading configuration directory from 0.98.5 to 0.103.5
Jan 03 09:18:24 DietPi homeassistant-start.sh[24954]: 2020-01-03 09:18:24 ERROR (MainThread) [homeassistant.bootstrap] Error loading /mnt/dietpi_userdata/homeassistant/configuration.yaml: in "/mnt/dietpi_userdata/homeassistant/configur
ation.yaml", line 14, column 11: Unable to read file /mnt/dietpi_userdata/homeassistant/frontend.yaml.
Jan 03 09:18:24 DietPi homeassistant-start.sh[24954]: 2020-01-03 09:18:24 INFO (MainThread) [homeassistant.core] Starting Home Assistant
Jan 03 09:18:24 DietPi homeassistant-start.sh[24954]: 2020-01-03 09:18:24 INFO (MainThread) [homeassistant.core] Timer:starting
Jan 06 16:56:29 DietPi systemd[1]: Stopping Home Assistant (DietPi)...
Jan 06 16:56:29 DietPi systemd[1]: Stopped Home Assistant (DietPi).
Jan 06 16:56:29 DietPi systemd[1]: Started Home Assistant (DietPi).
Jan 06 16:56:30 DietPi homeassistant-start.sh[82406]: 2020-01-06 16:56:30 ERROR (MainThread) [homeassistant.bootstrap] Error loading /mnt/dietpi_userdata/homeassistant/configuration.yaml: in "/mnt/dietpi_userdata/homeassistant/configur
ation.yaml", line 14, column 11: Unable to read file /mnt/dietpi_userdata/homeassistant/frontend.yaml.
Jan 06 16:56:30 DietPi homeassistant-start.sh[82406]: 2020-01-06 16:56:30 INFO (MainThread) [homeassistant.core] Starting Home Assistant
Jan 06 16:56:30 DietPi homeassistant-start.sh[82406]: 2020-01-06 16:56:30 INFO (MainThread) [homeassistant.core] Timer:starting
Jan 06 17:04:35 DietPi systemd[1]: Stopping Home Assistant (DietPi)...
Jan 06 17:04:35 DietPi systemd[1]: Stopped Home Assistant (DietPi).
Jan 06 17:04:49 DietPi systemd[1]: Started Home Assistant (DietPi).
Jan 06 17:04:49 DietPi homeassistant-start.sh[83795]: 2020-01-06 17:04:49 ERROR (MainThread) [homeassistant.bootstrap] Error loading /mnt/dietpi_userdata/homeassistant/configuration.yaml: in "/mnt/dietpi_userdata/homeassistant/configur
ation.yaml", line 14, column 11: Unable to read file /mnt/dietpi_userdata/homeassistant/frontend.yaml.
Jan 06 17:04:49 DietPi homeassistant-start.sh[83795]: 2020-01-06 17:04:49 INFO (MainThread) [homeassistant.core] Starting Home Assistant
Jan 06 17:04:49 DietPi homeassistant-start.sh[83795]: 2020-01-06 17:04:49 INFO (MainThread) [homeassistant.core] Timer:starting
looks like there is (was) an issue with /home/homeassistant/.homeassistant/frontend.yaml. I have not removed it but I can see it is gone via WinSCP. I created a new frontend.yaml and uploaded it with correct rights and owners. This is a bit strange, as there must have been some kind of auto deleting. But I will have a close look at it and try to get the source of this problem.
now journalctl -u home-assistant
tells me:
Jan 06 19:34:14 DietPi homeassistant-start.sh[86184]: 2020-01-06 19:34:14 INFO (MainThread) [homeassistant.core] Starting Home Assistant
Jan 06 19:34:14 DietPi homeassistant-start.sh[86184]: 2020-01-06 19:34:14 INFO (MainThread) [homeassistant.core] Timer:starting
But its still not accessible via IP:8123
EDIT: OK... It looks like an backup failed and it used the last working backup, which looks like beeing done half way during the home assistant setup (not the script installation setup, but the work, that I did...).
So I will try to repair everything and will report back as soon as I have a solution/solved it/problems.
Meanwhile dont waste time MichaIng on this issue.
You helped me with the journalctl -u home-assistant
to find a startpoint of the problem :)
OK I will close this issue because dietpi was not the cause.
It was just a failed backup and then reconfigure home assistant. I Can also report back, that the python update did not cause any further problems with the system.
Sorry for posting here, thanks for your help and thank you for all the great work you put into this great project! I really appreciate it!
Hello,
I installed HA in middle of september 2019 and everything worked as I wanted. I am using a vitual machine x86_64.
It worked for a few weeks, then I lost attention and maintaining because of less time :)
Since 3+ weeks I received a beacon from my android smartphone, that HA ist not availible.
A few days ago I had time and took a look and saw that HA is not reachable anymore via IP:8123.
I saw a note at the commandline that a new python version is nessesary, so I started it with an installation of a "precreated Python 3.6"
Which ended in installing Phython 3.8.0.
I also updated dietpi and today updated from [ INFO ] DietPi-Update | Current version : v6.27.2 to [ INFO ] DietPi-Update | Latest version : v6.28.0
I also saw, that the installation and/or access notes have been changed here: https://dietpi.com/phpbb/viewtopic.php?p=10416#p10416
Now, I am completely lost, why HA stopped working and is not reachable any more. I even have no idea how I can access it or make it work again... or how do get the source of the issues.
The updates itself did run without any problems and restarted everything without any issues:
The only issue is, that HA is not accessable ;) I hope you can help me, helping you, to help me :D