Nc-backup not working - free space check failed

Hi all,
I noticed that my NCPi hasn’t done an automatic backup for half a month despite the configuration to backup daily. I probably ran out of free space on my sd card so I removed some older backups and I checked with df -h. Although there should be more than enough unused space now (around 7GiB), running nc-backup fails.

It states:
Running nc-backup
check free space…
free space check failed. Need 10144088 Bytes
Maintenance mode already disabled
Done. Press any key…

Any suggestions on what I am doing wrong?

running NextCloudPi v1.5.1

Thanks

Run nc-info or if you have a screen/keyboard attached or terminal through ssh/putty
run df -h
It should confirm whether you do or do not have enough space left.

try running it without backuping your data as well…

I don’t know why I haven’t tried that. I does work in that case.

I am under the impression, that it confirms that enough space should be available. Am I missing something, maybe about tmpfs ?

pi@nextcloudpi:~ $ ls -Rl
.:
total 8
drwxr-xr-x 2 pi pi 4096 Feb  8 17:02 ncp-backups
drwxr-xr-x 2 pi pi 4096 Feb  8 13:43 ncp-nc-export

./ncp-backups:
total 0

./ncp-nc-export:
total 300
-rw------- 1 root root 307200 Feb  8 13:43 ncp-config_20190208.tar
pi@nextcloudpi:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  7.0G  7.1G  50% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   13M  452M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   41M   23M   19M  54% /boot
tmpfs            93M     0   93M   0% /run/user/1000
pi@nextcloudpi:~ $ sudo ncp-config

                             DESTDIR       /home/pi/ncp-backups
                             INCLUDEDATA   no
                             COMPRESS      no
                             BACKUPLIMIT   1
                                              <Start >          <Cancel>

Running nc-backup
check free space...
Maintenance mode enabled
backup database...
backup files...
backup /home/pi/ncp-backups/nextcloud-bkp_20190208_1549645418.tar generated
Maintenance mode disabled
Done. Press any key...

pi@nextcloudpi:~ $ ls -Rl
.:
total 8
drwxr-xr-x 2 pi pi 4096 Feb  8 17:03 ncp-backups
drwxr-xr-x 2 pi pi 4096 Feb  8 13:43 ncp-nc-export

./ncp-backups:
total 803996
-rw------- 1 root root 823285760 Feb  8 17:06 nextcloud-bkp_20190208_1549645418.tar

./ncp-nc-export:
total 300
-rw------- 1 root root 307200 Feb  8 13:43 ncp-config_20190208.tar
pi@nextcloudpi:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  7.7G  6.3G  56% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   13M  452M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   41M   23M   19M  54% /boot
tmpfs            93M     0   93M   0% /run/user/1000
pi@nextcloudpi:~ $ sudo ncp-config
Running nc-info
Gathering information...
NextCloudPi version  v1.5.1
NextCloudPi image    NextCloudPi_12-04-17
distribution         Raspbian GNU/Linux 9 \n \l
automount            no
USB devices          none
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      7.7G/15G
rootfs usage         7.7G/15G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    15.0.2.0
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        closed
port check 443       closed
IP                   10.4.5.3
gateway              10.4.5.1
interface            eth0
certificates         none
NAT loopback         no
uptime               21:05

You should run Lets Encrypt for trusted encrypted access

You should open your ports for Lets Encrypt and external access
Done. Press any key...

pi@nextcloudpi:~ $

hi,

it’s saying that you need 10GiB, so if you only have 7GiB there’s the reason

That makes sense. :see_no_evil:

I interpreted this

as needing 10+ MiB for some purposes. I don’t know why I thought that would be plausible.

I will try to backup to an usb drive and then it’s done, I guess.

Thank you all.