How to fix "not enough space for upgrade" error for good

That’s the problem with treating the MyCloud as a general-purpose Linux computer, which it is not; it is a consumer product that happens to be built using a particular version of embedded Linux. Tinker with it at your peril, as it says in the warranty notice.