Hardware: VPS bought online YunoHost version: 4.1.5 I have access to my server : Through SSH | through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If yes, please explain:
Description of my issue
Hi all,
again, I ran into this problem: Apparently, there is no disk space left, but there is lot of unallocated disk space.
Not sure what you mean by “lot of unallocated spaces”. All the “tmpfs” and “udev” filesystem are kinda ~internal stuff and not actual filesystems … The only relevant lines are /dev/sda3 and /dev/sda2
You can try to free up some space with apt clean which will delete some cached files
Reading package lists... Error!
E: Write error - write (28: No space left on device)
E: Write error - write (28: No space left on device)
E: The package lists or status file could not be parsed or opened.
I tried to remove some Yunohost apps or test user accounts using the web admin interface, which all didn’t work due to the “full disk”.
I managed to connect with FileZilla over sftp. I could delete some files or directories, but I am not sure which ones are safe for deletion (test user accounts or apps).
No it doesn’t because Yunohost is just “a layer on top of Debian” … and Debian won’t handle the partitioning for you either … Thing is, usually when you buy a VPS it’s already properly partitioned and have nothing to do. A VPS with only 8 GB for the main root partition is kind of a joke and I’m always surprised that some VPS provider just roll with this … OR the 160GB you are mentioning is a storage extension and your VPS provider should have explained how to mount it … (But still, a VPS with 8GB for the root partition is still wtf)
Just having a root partition with > 16 GB would be fine - or maybe 32 GB if you intend to have many apps. If you intend to have quite a lot of data - for example multimedia files - then you need to have some space for /home according to the expected usage (idk, for example if you expect to have many video file for whatever reason, maybe 100 GB on /home is important)
But anyway reworking the partition and mounting od data directories is doable later in the future - the main thing is that the root partition should not be full, because reworking the partitioning and mounting of the root partition is another story.
If you don’t have any specific plan in mind, just allocate all the space available to your root partition and you’re good to go (but I don’t know much how you’d do that in the context of your VPS, that’s somewhat specific to your VPS provider …)
Now Yunohost is running, the main apps seem to work.
But there ist an error on the web admin page: when trying to show the apps page (“https://mydomain.tld/yunohost/admin/#/apps”), no app is shown, but this error message:
Failed to read info for wordpress : exceptions must be old-style classes or derived from BaseException, not str
this is repeated for every app, about seven.
The final message is: Keine installierten Apps. (i.e.: no installed apps):
Over ssh, all apps are listed perfectly, it takes a while, though.
What can I do to repair the web admininstration of my apps?
Meanwhile, the web admin is working well, too. So I cannot give a screenshot. I still know, there were several red lines, each with the above mentioned text: Failed to read info for wordpress : exceptions must be old-style classes or derived from BaseException, not str, apparently for each of my apps, not only wordpress. There was no stack trace as the message complained not having an exception.