Unclear fatal error: No disk space left (there should be plenty of space)

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.0.8.3
I have access to my server : 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

My Yunohost server is in bad state: no matter what I try, there is “no space left on device”. If I check disk space on the VPS provider’s web interface, there are more than 150GB free space.

Nextcloud gives the same error message, Synapse server is not running, Postgresql service gives an error message. Nothing works.

Is there a disk space limit?
Can I check memory consumption?

Any help will be much appreciated!

This is the error message when klicking System update without doing any action:

Could not to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://deb.debian.org/debian/ buster main
sources.list:deb-src http://deb.debian.org/debian/ buster main
sources.list:deb http://security.debian.org/debian-security buster/updates main
sources.list:deb-src http://security.debian.org/debian-security buster/updates main
sources.list:deb http://deb.debian.org/debian/ buster-updates main
sources.list:deb-src http://deb.debian.org/debian/ buster-updates main
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ buster stable

E: The package lists or status file could not be parsed or opened.

E: IO Error saving source cache

E: Write error - write (28: No space left on device)

W: Some index files failed to download. They have been ignored, or old ones used instead.

W: Failed to fetch http://forge.yunohost.org/debian/dists/buster/InRelease Error writing to output file - write (28: No space left on device) [IP: 2001:910:1410::1 80]

W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Error writing to output file - write (28: No space left on device) [IP: 2a04:4e42:3::644 80]

W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Splitting up /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_InRelease into data and signature failed

W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease into data and signature failed

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster InRelease: Splitting up /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease into data and signature failed

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security buster/updates InRelease: Splitting up /var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_InRelease into data and signature failed

Hello,

Could you do a df -H to display the space left on your different partitions ?

Besides this space issue, you seems to have a signature one. Maybe manually import the right keys ?

Yes, let’s look at df -h

What can typically happen is that you have several partition and one of those (usually the one hosting /var/ is full)

(NB don’t be scared at the output of df -h, some line it displays are special system partitions)

Alternatively you can also check the info from the Diagnosis screen in System resources at the bottom

You are right, the partition / is full with ca. 9.5GB. I

I have no idea what to do.

Try to apt clean to free up some space from cached archived … that won’t free much but should allow you to :

apt update && apt install ncdu

Then you can

ncdu /

to scan and have a better idea of what’s using space

Though ultimately 10 GB for the root partition ain’t much … but we don’t know about how other partition are organized since you didn’t share the full output for df -h

apt clean and install ncdu worked well, thank you. Now I am getting to know the ssh command. So far I only have used the web console provided by the VPS provider.

I cannot connect via ssh.

In rescue mode, you should be able to remove swap file if you have one. I think it could help.

Theank you for responding. Meanwhile, I have done a complete reinstallation, which solved all problems whereas I lost some data.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.