Yunohost apps stopped working, zero disk space left

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.23
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

After adding some photos to Nextcloud, I noticed some sync error messages from Nextcloud. Postgresql service is not running. Diagnosis shows one major problem: 0B disk space is left. I know, this should never occur.

Is there any chance to free some space via SSH?
I removed a backup of an unimportant app per web UI without change of disk space, is there a command like “yunohost clean”?
Might it help to restart the server?

I hope for some helpful hints.

Thank you in advance

sudo yunohost tools basic-space-cleanup

2 Likes

This tool printed it was freeing 380MB, but after that still 0B free space left.

Did you stop the nextcloud client? It will fill the disk every time it finds a free bit.
Try setting nextcloud on maintenance mode and check the data/user/uploads folder. It’s a temporary folder you can remove its content but be sure no sync is in progress. If you have backups, don’t delete them, you may need them. I had a problem with mattermost because of out of storage and it refused to restart even after I fixed the low space issue. I had to reinstall it.

1 Like

I managed to enable some Yunohost apps again, including Nextcloud and Synapse, by doing this:

  • freed some disk space by deleting all files under …/nextcloud/data/USERNAME/files_trashbin
  • started Postrgresql service

I am not sure if nextcloud works properly bus it seems so. I had really deleted and readded a lot of files, before. I am going to learn about the trashbin configuration of Nextcloud.

Now, I have the remaining issue that the Yunohost web UI shows no installed apps, although they are apparently running. I will probably open a new thread about that.

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