[Nextcloudpi] Only 647.6 MB available despite using nc-automount

Did your retest throw up any answers?

didn’t have time yet

I retested it… I also have DELETE before CREATE and it works perfectly fine

let’s see your partitions

lsblk -f

Curiouser and curiouser

pi@raspberrypi:~ $ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda ext4 b2db1d72-06d7-4d4e-a159-f87f9a199506 /media/b2db1d72-06d7-4d4e-a159-f87mmcblk0
├─mmcblk0p1 vfat boot DF02-C322 /boot
└─mmcblk0p2 ext4 28590797-4810-4851-b4ec-bf9672c2918c /

is your external usb drive mounted?

Yeah

@raspberrypi:~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2736052 1995732 596652 77% /
devtmpfs 470176 0 470176 0% /dev
tmpfs 474784 0 474784 0% /dev/shm
tmpfs 474784 47932 426852 11% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 474784 0 474784 0% /sys/fs/cgroup
/dev/mmcblk0p1 42136 21472 20664 51% /boot
tmpfs 94956 0 94956 0% /run/user/1000
/dev/sda 3845579612 69632 3650142668 1% /media/b2db1d72-06d7-4d4e-a159-f87f9a199506

why are mmcblk0p1 and mmcblk0p1 hanging from sda? are you booting from hard drive instead of SDcard?

I’ve no idea. Everything is as default as it possibly could be. Booting from SD, the only configuration done with nextcloudpi-config

maybe it’s because there is no /dev/sda1. If you don’t have data in the drive, can you start by running nc-format-USB? Then let’s see if you have the link after reboot.

nc-format-USB seems to dislike my drive!

Launching nc-format-USB /media/b2db1d72-06d7-4d4e-a159-f87f9a199506 is still mounted Done. Press any key…

are you in v0.31.5?

Yeah (as of today I think)

Try disabling nc-automount before running nc-format-USB

Ok all done. That did format it and set it to /dev/sda1 (although with only 1.7 TB available dude to the known bug). But still only 600 ish MB available in nextcloud. I shoved a few things on there and its basically a third full after a a video and a few photos.

In v0.31.5 the limitation of 2TB from nc-format-USB was fixed. Did you format in that version?

There was a Nextcloud bug with the free space indication in the files app. Can you check with

df -h

?

Are your files in /media/USBdrive/ncdata/admin/files?

sudo ls /media/USBdrive/ncdata/admin/files

My apologies, you’re right. Available space is correct now.

pi@raspberrypi:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 2.7G 2.3G 238M 91% /
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 42M 21M 21M 51% /boot
tmpfs 93M 0 93M 0% /run/user/1000
/dev/sda1 3.6T 89M 3.4T 1% /media/myCloudDrive

They are in that location, except my mp4

pi@raspberrypi:~ $ sudo ls /media/USBdrive/ncdata/admin/files
Documents IMG_20171001_220656.jpg Nextcloud Manual.pdf Photos
IMG_20171001_220648.jpg IMG_20171001_220704.jpg Nextcloud.mp4

Do you think it’s worth try to fill the 350mb (ish) of space that nextcloud shows that I have free?

well, I think it just reports it badly because PHP 32bit, you can try to see what happens out of curiosity. Maybe it will report a negative number

Unfortunately that wasn’t the case. It was syncing files (using desktop client) then stop with a ‘connection refused’ error.

I’m not sure if there’s a connection but none of the new files are present if I sudo ls /media/USBdrive/ncdata/admin/files

did you use nc-datadir to move your files to the external hard drive?

Have you considered trying the setup wizard, and starting from zero?

https://<yourip>:4443/wizard