spvzyl
(Espee)
February 28, 2022, 8:20am
1
My HA says it has 0.0GB left. It is installed on a Raspberry Pi with a 32GB SD Card.
I have tried deleting backups, but it does not have an effect.
My total backups size is under 1GB and my home_assistant_v2.db file is around 900MB.
Is there a way to get a log of all files which can show me what is taking up all the space?
I have searched through the forums, but haven’t found any solution.
Any help would be greatly appreciated.
BebeMischa
(Bebe Mischa)
February 28, 2022, 8:46am
2
And you really think that this is enough info for us to be able helping you?
spvzyl
(Espee)
February 28, 2022, 9:02am
3
I am very new to HA. If you can explain what info you need and where I can get it that would be great.
spvzyl
(Espee)
February 28, 2022, 9:19am
5
I have edited my post to be more clear.
zoogara
(Daryl)
February 28, 2022, 10:36am
6
Unfortunately there is no “supported” way to look at what is using the space on you SD card. I found (when I was using SD cards) that I had some older version Docker containers still about - possibly some failed updates left them orphaned.
Possibly one of the moderators can chime in with some real knowledge - but my suggestion would be to grab a backup, then re-image HA and restore.
spvzyl
(Espee)
February 28, 2022, 11:09am
7
I think I may have found the issue. Seems like it is my home-assistant.log file which was crazy big.
I am now following this post to try and clear it periodically:
Thank you.
I am only intrested in clearing the log, not delete the file (there is no use to delete it as long as the contents are emptied)
So this is the only entry to clear the logs? No other code in another yaml file?
(I see that clear_log.yaml with a command inside it)
That “service: shell_command.clear_log” is already embedded in HA?
# Empty the log file
empty_log:
alias: Clear log HA
sequence:
- service: shell_command.clear_log
edit:
I executed the script… no effect, the l…
Thanks for the replies.