The ShipIt Journal, now in free PDF format Here are my takeaways from various topics discussed in the podcast episodes. I’ll keep an eye on this and see if I have to set a limit to the log size.In the podcast series, Seth Godin’s Startup School, Seth Godin gave a guided tour to a group of highly-motivated early-stage entrepreneurs on some of the questions they will have to dig deep and ask themselves while they build up their business. Now the biggest folder in the system is the backups folder, which is already under control Then connecting from PuTTY with this key, I was finally able to use the journalctl vacuum to remove old logs. To do that, I had to create an auth key from PuTTY, put it in a USB drive and load it into HA. It seems that as I’m running HAOS, some commands are limited from the web SSH, so I had to connect to SSH as root. Maybe the command is not even installed? Do you know what else can I try? I tried accessing the terminal from “SSH & Web Terminal” and “Terminal & SSH” add-ons, and with PuTTY with the latest add-on. I read somewhere that I would need root access to use this command. When I try to access from PuTTY it says “-bash: journalctl: command not found”. I read the guide, and its solution is based on the journalctl command, which as I mentioned before, when I try to use it, it shows “command not found” error. Anyway, that part is solved with the command I posted first, this is not the issue. “du -shc *” seems to show the size of the folders but without counting the subfolders. Ok! Yes, I was noticing there were some unconsistencies with these filters from the posts I read before also. If you think there is any good reason to keep these logs taking so much space, please let me know! I have 30% of free disk space and want to reach 35-40%, but mostly I don’t want it to get filed with useless files. Plus, I don’t think it makes any sense to run out of space if 10% of the usage is being wasted in logs. Thanks for the guide, I’ll check that out and try to set a limit to the log and see if it Yes I know! But I already spent too much in the transition to HA (the Yellow took months to ship, it was delayed a couple of times, my SmartThings hub was getting older and I had to buy some hubs to start using HA in an old PC). I’m using the 'SSH & Web Terminal" add-on to access the terminal, is that OK? The command I used in the first post shows all the folders and subfolders, shows the size in MB for each folder alongside with the path.Īnd the second command you gave with the “sort” option gives me an error: I just tried the du -shc without any success: I’m stuck here, I don’t know if I can just try to delete this folder, or if there is another “correct” way to make it go away. The other was to call the service System Log: Clear All, but this didn’t reduce this folder size. So I started finding ways to reduce this folder size and I found two options, one is journalctl rotate or vacuum, but my SSH command line says “command not found” for journalctl. I struggled to find th right command to put in the SSH command line to find the biggest folders, but I finally got it: But there was something else taking space. I investigated on how to set the Recorder and how to make my database smaller, and I could shrink it from ~200mb to 65mb. I had it running in a VirtualBox until a month ago when I received my Home Assistant Yellow and I migrated to it nicely.ĭue to supply problems I was able to get a CM4 module with only 16GB of storage, anyway I thought it should be enough since I don’t have too many devices and my setup is simple. I’ve been noticing that my HA is taking more space than I expected.
0 Comments
Leave a Reply. |