How to make Cloudron Immich keep its files in mounted block storage?
-
wrote on Dec 18, 2022, 7:26 PM last edited by nebulon May 9, 2023, 1:34 PM
Some Cloudron applications, e.g. Immich, are likely to store a large quantity of data, for example Immich but also e.g. PeerTube, etc.
How do we inform our Cloudron applications that the block storage is where to look for and store files?
-
Most apps only have one data location setting/data root, so in such cases you have to move the whole app onto another volume https://docs.cloudron.io/apps/#data-directory
-
-
wrote on Dec 19, 2022, 12:30 PM last edited by
@privsec said in How to make Cloudron Immich keep its files in mounted block storage?:
I think you are wanting to use Volumes
Yes, I think you are right. I seem to have the block storage going but when I try the commands to create a volume, I receive the following error:
Failed to mount (inactive): Could not determine mount failure reason.
-
@privsec said in How to make Cloudron Immich keep its files in mounted block storage?:
I think you are wanting to use Volumes
Yes, I think you are right. I seem to have the block storage going but when I try the commands to create a volume, I receive the following error:
Failed to mount (inactive): Could not determine mount failure reason.
wrote on Dec 19, 2022, 12:35 PM last edited by@LoudLemur said in How to make Cloudron Immich keep its files in mounted block storage?:
I try the commands to create a volume,
what commands? where?
-
@LoudLemur said in How to make Cloudron Immich keep its files in mounted block storage?:
I try the commands to create a volume,
what commands? where?
wrote on Dec 19, 2022, 6:48 PM last edited by@jdaviescoates said in How to make Cloudron Immich keep its files in mounted block storage?:
@LoudLemur said in How to make Cloudron Immich keep its files in mounted block storage?:
I try the commands to create a volume,
what commands? where?
Thank you @jdaviescoates , you magic man! Thank you too, @nebulon for finding the time to look at my post.
As usual, Cloudron already had all the information I needed there.
My difficulty came from reading the output of the blkid command:
blkid
You are returned a UUID result along with a PARTUUID result, and I copy/pasted the wrong one.
-