nextcloudPI and unable to set ext4 as USB drive - to set storage

Just to be sure. You have mounted the USB drive as described here: How to configure an external USB drive with NextCloudPi

If not you are probably just made a folder on your RPI/device and not on the USB drive.
The data disk is, as your log shows, 30Gb and not 5 Tb