Hey there,
it's my first time setting up Proxmox with Home Assistant (VM) and Nextcloud (LXC), both installed on nvme SSD.
Short story: I got two disks with directories. I use the directories in mount points for my Nextcloud LXC. The directories have subfolders that can't be deleted. If I delete them via shell, they instantly get created again. Is there a way to get rid of these, so the folder in Nextcloud is empty to begin with, as I only want to use the directories to store data?
Details:
I have two disks, 256gb SDD and 5tb HDD and created two directories, one for each:
/mnt/pve/HDD4tb
/mnt/pve/SSD256
I added both as mount points in the Nextcloud LXC to be able to use the disk space in Nextcloud.
pct set 102 -mp0 /mnt/pve/HDD4tb,mp=/HDD4tb
pct set 102 -mp1 /mnt/pve/SSD256,mp=/SSD256
Then I gave the Nextcloud user the rights for the folders
sudo chown -R www-data:www-data /HDD4tb
sudo chmod -R 770 /HDD4tb
In Nextcloud I can upload files and edit/delete. But I can't get rid of the shown folders.
it's my first time setting up Proxmox with Home Assistant (VM) and Nextcloud (LXC), both installed on nvme SSD.
Short story: I got two disks with directories. I use the directories in mount points for my Nextcloud LXC. The directories have subfolders that can't be deleted. If I delete them via shell, they instantly get created again. Is there a way to get rid of these, so the folder in Nextcloud is empty to begin with, as I only want to use the directories to store data?
Details:
I have two disks, 256gb SDD and 5tb HDD and created two directories, one for each:
/mnt/pve/HDD4tb
/mnt/pve/SSD256
I added both as mount points in the Nextcloud LXC to be able to use the disk space in Nextcloud.
pct set 102 -mp0 /mnt/pve/HDD4tb,mp=/HDD4tb
pct set 102 -mp1 /mnt/pve/SSD256,mp=/SSD256
Then I gave the Nextcloud user the rights for the folders
sudo chown -R www-data:www-data /HDD4tb
sudo chmod -R 770 /HDD4tb
In Nextcloud I can upload files and edit/delete. But I can't get rid of the shown folders.