kasi
June 10, 2021, 9:32pm
1
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?
Thanks.
What does df -h
command show?
@kasi
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
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...
kasi
June 11, 2021, 7:36am
4
Hello,
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
tmpfs
Best regards
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
FadeFx
June 11, 2021, 2:02pm
6
Or the ncp debian curl installer
# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
kasi
June 11, 2021, 10:03pm
8
No, I am using the Nextcloud package from the website.
What do you mean by more traditional?
Thanks
Don’t use snap… Follow the guide in the linked doc…
kasi
June 14, 2021, 7:27am
10
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.
GOOD LUCK!