I have Yunohost installed on a Raspberry Pi and I installed NextCloud to store my movies. Since it’s installed on an SD Card I connected an external HDD through USB. created a user called “tv” and mounted the HDD to “/home/yunohost.app/nextcloud/data/tv”.
The issue is that if I upload something through the NextCloud UI it shows up on the HDD but if I restart the server the NextCloud will only see the folder that is on the SD that the external HDD is mounted over.
Another weirdness is that on my TV when I access NextCloud via WebDAV I do see the mounted HDD content, but again not in the web UI.
I mount the HDD using /etc/fstab.