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?
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
ncdu (NCurses Disk Usage) is a disk utility for Unix systems. Its name refers to its similar purpose to the du utility, but ncdu uses a text-based user interface under the [n]curses programming library. Users can navigate the list using the arrow keys and delete files that are taking up too much space by pressing the 'd' key. Version 1.09 and later can export the file listing in JSON format.
ncdu was developed by Yoran Heling to learn C and to serve as a disk usage analyzer on remote systems o...
After lots of manipulations, I was able to start the server but it’s a nightmare, here what I was able to collect:
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
You use snap?
Since it’s a new install, why don’t you try something more traditional, like this for example
This tutorial will be showing you how to install NextCloud on Ubuntu 20.04 LTS with Apache web server. Ditch Dropbox and take back your online privacy with open-source cloud storage.
Est. reading time: 19 minutes
Or the ncp debian curl installer
# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
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.