Nextcloud 21.0.2 - New installation but disk full

Hello Guys,

Following an hardware issue, I had to reinstall from scratch my Nextcloud server. I am using the version 21.0.2 with Ubuntu 20.04 by following the Example installation on Ubuntu 20.04 LTS — Nextcloud latest Administration Manual latest documentation.

I have around 700GB of disk space with LVM encrypted (only one partition) and I need to upload around 200GB. However, for the second time, the server is full and I can’t boot it anymore. So I will probably need to reinstall it from scratch for the third time.

Do you have any idea what could be the source of the issue? Upload issues with temporary uploaded file not deleted?


What does df -h command show?

You also can install the package “ncdu” and then navigate through the filesystem and find the directorys with the most data. It is a very cool software.

apt-get install ncdu



After lots of manipulations, I was able to start the server but it’s a nightmare, here what I was able to collect:

df -h
Filesystem                         Size  Used Avail Use% Mounted on
udev                               4.9G     0  4.9G   0% /dev
tmpfs                              997M  1.2M  996M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  687G  123G  530G  19% /
tmpfs                              4.9G     0  4.9G   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
tmpfs                              4.9G     0  4.9G   0% /sys/fs/cgroup
/dev/loop0                         9.2M  9.2M     0 100% /snap/canonical-livepatch/99
/dev/loop7                          33M   33M     0 100% /snap/snapd/12057
/dev/loop1                         100M  100M     0 100% /snap/core/11167
/dev/loop3                          56M   56M     0 100% /snap/core18/2066
/dev/loop4                          68M   68M     0 100% /snap/lxd/20326
/dev/loop2                          56M   56M     0 100% /snap/core18/1944
/dev/loop6                          33M   33M     0 100% /snap/snapd/11841
/dev/loop5                          70M   70M     0 100% /snap/lxd/19188

Best regards

You use snap?

Since it’s a new install, why don’t you try something more traditional, like this for example

Or the ncp debian curl installer

# curl -sSL | bash

ncdu is the best!

1 Like

No, I am using the Nextcloud package from the website.

What do you mean by more traditional?


Don’t use snap… Follow the guide in the linked doc…

I am not using snap for Nextcloud package.

what filesystem are you using? are there any quotas active? if you use btrfs, it might be necessary to adjust some params, delete some snapshots or sth. like that.