What app is this about, and its version: Nextcloud from yunohost install What YunoHost version are you running: not sure, recent What type of hardware are you using: Old laptop or computer
Describe your issue
Hello,
I have a yunohost running on a virtualbox. I manage the host as well as the virtualmachine, all is ok.
The present virtual machine is too small. I added a 2TB ssd to the system, and created an other virtual disk. Now I have two virtual disks, say 1 (with yunohost) and 2 (empty).
I want to access the second disk from yunohost, precisely Nextcloud.
I don’t want to move Nextcloud, but add the second disk as external Nextcloud storage.
My problem is that I don’t know what is the path to the local disk for Nextcloud.
If I give the absolute path from the host Nextcloud don’t see it.
My question: where may have to mount a disk on yunohost to make it available to applications?
I can access the yunohost debian install, but the way yunohost manage it’s files is not obvious
Yunohost is debian based. So you can go the debian way.
Mount your drive, create a dedicated folder for nextcloud with permissions “nextcloud:nextcloud”, then in nextcloud go to the admin area > external storage and use the path to the nextcloud folder you created
yunohost and of course nextcloud are on yunohost.vdi virtual disk, and the free ssd space on the yunohost-2.vdi
the problem is to make the second visible from the first
writing “ /home/host-yuno/ssd-nextcloud/yunohost_2.vdi” in nextcloud is not accepted and there is no nextcloud user on the host, so I can’t change he permissions (-rw------- 1 host-yuno host-yuno 536874057728 17 nov. 12:00 yunohost_2.vdi)
Yes, I know that. My problem (solved) was to find where this ssd disk was in the yunohost system.
I could find it with lsblk, it was /dev/sdb
then I could open it with fdisk, create a partiton, format is as vfat with mkfs and finally mount it in a folder specially created for it in the the yunohost user.
And nextcloud accept it
I know, installing yunohost in a virtual machine is not recommended, but the host was already used for some other stuff, so I couldn’t keep it only for yuno.
So I had to manage cascading mounts (host, virtual, yuno) and it’s a bit mind blowing
I can gives details if anybody needs it.
thanks, your notices helped me a lot managing the stuff!