Considering to migrate my RBPi5 from #NextCloudPi to #Yunohost. My Nextcloud data directory is on an SSD, the system boots from MicroSD. Can I just boot Yunohost, install Nextcloud, point it to my SSD and trigger file indexing? Or is that a bad idea and needs further prep?

#selfhost #selfhosting #nextcloud

@nw I think it's not quite as easy as that. I don't know how NextcloidPi organizes user data. The Nextcloud-data in YunoHost is within user folders inside the home folder. But you could install yunohost and nextcloud and then mount your external SSD into the user folder where you want the data. Or you move the entire home folder to your ssd and then move your user data where you want it. So editing the fstab is always involved.
@flozo Thanks, that sounds doable! My concern is whether there's something about my existing Nextcloud data directory that is tied to my current Nexycloud instance and would cause issues if I start using that directory with a new (Yunohost) MC instance. It sounds like there's nothing inside the data directory that needs to be migrated? As long as Yunohost can find it. I'd like to keep all Yunohost data on the SSD, so maybe I'll just move the users' home folders to the SSD after setting up Yunohost.
@nw By Nextcloud data directory, do you mean user data like documents, photos, videos etc. or functional data like configurations files?
@flozo I mean the Datadir location, which in my case includes /mnt/ncdata and /mnt/ncdatabase
@nw I can't look up right now where these folders are located in YunoHost. My recommendation would be to try it out with a second SD card. My recommendation would also be to not use the YunoHost image with which I have bad experiences, but to install Raspberry Pi OS Lite and then follow the instructions for YunoHost on top of Debian. This way you also have access to the raspi-config. But you have to pay attention to not install Debian Trixie, but Bookworm.