Hello, how are you? Since yesterday I’ve been experiencing a very slow load of Home Assistant. Sometimes it doesn’t even load at all—in short, it’s unusable. Since yesterday I’ve been trying to identify the problem: I removed the disk and reinstalled the system, restored the backup and it still starts slowly. I tested that same backup in a virtual machine and it worked perfectly. I also tried with an SD card, but it was slow as well. I tested the disk and it seems to be fine. At this point I’m between suspecting the Raspberry Pi’s power supply or that the Raspberry itself stopped working correctly. Is that last option possible? Consulting with AI, it suggests the most likely issue is the power supply, since the Raspberry Pi doesn’t lose performance over time. I’ve had it for less than 2 years, it’s a Raspberry Pi 4B.
You basically just described the “nature” of your troubleshooting effort and “skills/behavior”
No one ive heard about starting by removing the disk and reinstall same system, you might just not describe your “procedure” and effort correctly, Neither are you mentioning the First Dashboard which you Should Start Your Troubleshooting
The /Settings/System/Logs ", have a glance at the Right-Side Top-Corner, with options to choose Logs, And the 3 Dots to Show You RAW Logs.
You also don’t say anything in regards to Your Setup/system & Configurations, or network etc , other than Pi4B
As a help for You You should read below Post, Where you also find information on Howto Post Code (i.e log-files) correct formatted How to help us help you - or How to ask a good question .
You don’t have Watchman running by any chance? The one that causes similar symptoms to your description, described elsewhere in these forums with troubleshooting and workarounds in great depth over the last few days?
Your AI is wasting your time, and giving you a lot of risky procedures to follow that can cause data loss, or unnecessary expense. Did it offer the Watchman issue as a possible problem? Why not? Is out of touch? Hasn’t been following these forums? Didn’t understand your problem?
If your power supply has been good for two years, the chances of it going bad are fairly low. As SG hinted, I would probably check the SD Card for errors instead, especially if it has been worked hard, and see if it is A2 rated. Your system error log may give you clues.
You didn’t mention how much memory your 4B has - it may be page thrashing if it doesn’t have enough RAM to cope.
Is your system part way through an update, downloading, unpacking, installing new code? That also takes a lot of resources, and the solution to that is to be patient and let it finish overnight if necessary, rather than reinstall, move to another machine, and generally give it heartburn.
Yes, I have Watchman installed. I’ll test it and let you know. Regarding the SD card, I only used it for testing; I normally use an SSD and that’s where the problem occurs. I just wanted to rule out that it wasn’t the USB connectors. The power supply was giving me errors for a short time recently, but now it shows as OK. At the moment I switched the database to MariaDB and it’s starting up (very slowly, by the way). As soon as it finishes, I’ll disable Watchman and update you
Bingo! And AI made you distrust your power supply, your hardware, your backups, do a lot of faffing around, just because it can’t search these forums? Helpful? Bah!
Maybe restart in safe mode from SSH CLI and uninstall Watchman may be the elegant workaround as suggested elsewhere, and wait for a fix to be released, closely monitoring the GitHub issue rather than asking AI.
Thank you so much! I uninstalled Watchman and everything went back to normal. I’ve been testing things since yesterday—adding, removing—almost bought a new Raspberry Pi! Thanks again!
Giggles. When AI comes around to this thread (yes, it will, eventually) it will tell everybody to uninstall Watchman, probably long after the fix is released!
Lesson learned, or in my case, re-inforced. Never confuse a LLM with AI, and even then, don’t take the first suggestion without asking yourself why. You don’t blindly click on the first link when you do a Google search, do you? Do you? We have learnt, often through bitter experience and SEO tomfoolery, to pause and consider…
"I think nowadays I’ve gotten used to asking the AI, but honestly Google alone is still better for many things. The strange part in this case is that the first thing I did was restore a backup, but it didn’t solve anything, the issue remained the same. So I ruled out that it could be related to an integration. I even tried that same backup on a virtual machine and it worked fine. Eventually I got tired of running tests (mostly out of my own eagerness to fix it, rather than what the AI was suggesting). Luckily I thought of posting in the forum and had the good fortune that you came across this post! Thanks again.