[Question] Should I switch to a Raspberry Pi or just buy a new HDD?
Hi,
I'm running the Nextcloud snap on my dad's 12 year old laptop (hp elitebook 8470w) but it has some performance issues. It fails to load for half a minute pretty often.
I'm considering buying a rPi 5 instead to run a few things:
The CPU in that laptop is very likely still faster than a Rasberry PI 5 (and for sure faster than a RPI4).
I would replace the HDD with a SATA SSD drive.
Maybe also see if the DVD drive can be pulled out and replaced with an adapter for another SATA connector.
Edit: the error is a bit cryptic, but the SMART result of the drive actually looks not so bad. But running especially the Nextcloud Postgres database on a SSD will help a lot (I hope you are not using the SQLite option).
Thanks for the answer. HDD Sentinel also says the disk is in good shape, but it hangs for a minute very often and is very cumbersome to use this way. I'm using the snap, so MySql
It might be the SATA controller that has an issue, hard to figure out. In that case you will probably have no choice but to replace the hardware. But IMHO in nearly all cases an old laptop is more convenient for beginner self-hosting than a RPi.
In my opinion, if you're buying something to use as a server, you might as well invest in a PC dedicated for the purpose, as it's a lot more flexible and extendable. You should be able to get away with using relatively low-end hardware and still see a lot more performance than that of a pi.
If your budget is almost nonexistent, replace the harddrive, as that seems to be what's wrong with your current setup.
I agree with this. You can get a lot of hardware for not a lot, especially if you build your own.
If money's not that tight, another option is a modern NAS that can run services and Docker. Depends on what you want to do with it in the long term: file server vs All The Services.
A few years ago it was time to replace my ancient NAS and I was tossing up between building a dedicated server with something like TrueNAS and Nextcloud, or opting for a QNAP or Synology that could do it all for me. Opted for a Synology DS920+ and haven't looked back. It can't do anything processor-intensive, but it nails it for everything else. I have ~30 Docker stacks running on it, including Wireguard, and SWAG for SSL+MFA external services. Synology Drive (GDrive) and Photos (GPhotos/Picasa) on Linux, Windows, Mac, Android and iOS let me ditch the last of my cloud services. It's also running Plex Media Server, tying into an Nvidia ShieldTV as the client.