Fresh nextcloud 17 shows disk full

Nextcloud version (eg, 12.0.2): 17
Operating system and version (eg, Ubuntu 17.04): Ubuntu
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.1): 7.1

Steps to replicate it:

  1. Created a new fresh ubuntu server with nextcloud17 , installed by cli
  2. I created 10 users, no problem
  3. I created 1 heavy user, , and storage is full.

I examined the server and i notice this partition:

Filesystem      1K-blocks     Used  Available Use% Mounted on
udev              4005768        0    4005768   0% /dev
tmpfs              807348    11112     796236   2% /run
/dev/sda2        20026236 15474316    3511588  82% /
tmpfs             4036728        0    4036728   0% /dev/shm
tmpfs                5120        0       5120   0% /run/lock
tmpfs             4036728        0    4036728   0% /sys/fs/cgroup
/dev/sda3      1901536420    69032 1804851916   1% /home
/dev/sda1          498532   150145     318128  33% /boot
/dev/loop0          91264    91264          0 100% /snap/core/7917
/dev/loop1         216832   216832          0 100% /snap/nextcloud/16739
/dev/loop2          91264    91264          0 100% /snap/core/8039
tmpfs              807344        0     807344   0% /run/user/0

i notice that there is partition are fulls.

i search for user files and i notice that the files are stored in :

/var/snap/nextcloud/common/nextcloud/data/cleanup/files/Documentos/VARIOS/My Games/Nueva carpeta/Malvinas Argentinas-20141119-00836.jpg

What is /var/snap â€Ļ ??

Why nextcloud does not use /home that is only 1% ?

snap uses its own layout.

-> https://github.com/nextcloud/nextcloud-snap#where-is-my-stuff

ok, how can i fix it ?

because my /home is almost empty , and i can not upload any new files as the disk is full

I found https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition

should this solve my problem?

that should do the trick. but you have to use the folders of the already created users.

1 Like