Home assistant fatal error Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
sfh1975
Posts: 14
Joined: Sun Nov 03, 2019 12:22 pm

Home assistant fatal error

Post by sfh1975 »

Hi all, tried installing and reinstalling many times but didn't work.
Can someone please help? Attaching the log here.
Thanks.
Attachments
log.txt
(2.28 KiB) Downloaded 10 times
User avatar
MichaIng
Site Admin
Posts: 3088
Joined: Sat Nov 18, 2017 6:21 pm

Re: Home assistant fatal error

Post by MichaIng »

Many thanks for your report.

/mnt/dietpi_userdata/homeassistant is missing, but this directory is actually created during install. Can you run and paste the output of:

Code: Select all

ls -l /mnt/dietpi_userdata
sfh1975
Posts: 14
Joined: Sun Nov 03, 2019 12:22 pm

Re: Home assistant fatal error

Post by sfh1975 »

Thanks. Its this:

Code: Select all

root@DietPi:~# ls -l /mnt/dietpi_userdata/homeassistant/
total 0
lrwxrwxrwx 1 homeassistant homeassistant 14 Jun 20 21:32 homeassistant -> /homeassistant
root@DietPi:~#
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: Home assistant fatal error

Post by Joulinar »

Hi,

you have a link from /mnt/dietpi_userdata/homeassistant/ to /homeassistant. This is basically incorrect. There shouldn't be any link. Did you created the link yourself? I would recommend to remove the link and perform the installation again.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
sfh1975
Posts: 14
Joined: Sun Nov 03, 2019 12:22 pm

Re: Home assistant fatal error

Post by sfh1975 »

Joulinar wrote: Mon Jun 21, 2021 10:37 am Hi,

you have a link from /mnt/dietpi_userdata/homeassistant/ to /homeassistant. This is basically incorrect. There shouldn't be any link. Did you created the link yourself? I would recommend to remove the link and perform the installation again.
Thanks. No idea, I must have done it while trying to fix it using another forum post.
Anyway, now I have uninstalled, deleted any leftover folders and then reinstalled it. Now
I can see that there is one directory /home/homeassistant

Code: Select all

root@DietPi:/mnt/dietpi_userdata# ls -l homeassistant/
total 0
and there is /mnt/dietpi_userdata/homeassistant

Code: Select all

root@DietPi:/mnt/dietpi_userdata/homeassistant# ls -l
total 0
However, I am still getting the weird error that there is no directory in userdata (please check the log I am attaching).
Any ideas?

Thanks.
Attachments
log.txt
(1.34 KiB) Downloaded 6 times
User avatar
MichaIng
Site Admin
Posts: 3088
Joined: Sat Nov 18, 2017 6:21 pm

Re: Home assistant fatal error

Post by MichaIng »

Can you please check the parent directory:

Code: Select all

ls -al /mnt/dietpi_userdata
sfh1975
Posts: 14
Joined: Sun Nov 03, 2019 12:22 pm

Re: Home assistant fatal error

Post by sfh1975 »

MichaIng wrote: Mon Jun 21, 2021 1:02 pm Can you please check the parent directory:

Code: Select all

ls -al /mnt/dietpi_userdata
Yes sure. Here it is. Thanks.

Code: Select all

root@DietPi:/mnt# root@DietPi:/mnt# ls -al /mnt/dietpi_userdata
total 60
drwxrwx--- 15 dietpi        dietpi        4096 Jun 21 19:55 .
drwxr-xrwx 11 root          dietpi        4096 May  2 00:22 ..
drwxrwx---  4 dietpi        dietpi        4096 Mar  8 00:12 deluge
drwxrwxr-x  8 dietpi        dietpi        4096 Jun 21 20:12 downloads
drwxr-xr-x  2 homeassistant homeassistant 4096 Jun 21 19:55 homeassistant
drwxr-x---  9 jellyfin      jellyfin      4096 Mar 18 00:06 jellyfin
drwxrwx---  2 dietpi        dietpi        4096 Mar  8 00:13 lost+found
drwxrwxr-x  2 dietpi        dietpi        4096 Mar  8 00:35 Music
drwxrwx---  3 dietpi        dietpi        4096 Mar  8 00:13 mysql
drwxrwx---  4 dietpi        dietpi        4096 Mar  8 00:13 nzbget
drwxrwxr-x  2 dietpi        dietpi        4096 Mar  8 00:11 Pictures
drwxrwx---  7 dietpi        dietpi        4096 Jun 21 20:28 radarr
drwxrwx---  6 sonarr        dietpi        4096 Jun 21 20:14 sonarr
drwxrwx---  6 dietpi        dietpi        4096 Mar  8 00:35 ubooquity
drwxrwxr-x  2 dietpi        dietpi        4096 Mar  8 00:11 Video
root@DietPi:/mnt#
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: Home assistant fatal error

Post by Joulinar »

you could try to remove HomeAssistent

Code: Select all

dietpi-software uninstall 157
and perform a new install

Code: Select all

dietpi-software install 157
Pls share the whole installation log afterwards

As well pls share the device you are running as well as your DietPi version
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
sfh1975
Posts: 14
Joined: Sun Nov 03, 2019 12:22 pm

Re: Home assistant fatal error

Post by sfh1975 »

Joulinar wrote: Mon Jun 21, 2021 1:09 pm you could try to remove HomeAssistent

Code: Select all

dietpi-software uninstall 157
and perform a new install

Code: Select all

dietpi-software install 157
Pls share the whole installation log afterwards

As well pls share the device you are running as well as your DietPi version
Yes thanks. But can you please let me know where to find the installation log?
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: Home assistant fatal error

Post by Joulinar »

simply copy the output from your SSH terminal
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply