-
Script works fine and I can access the web gui, but as soon as I go in and change IMMICH_MEDIA_LOCATION it won't load. My proxmox just shows significant use of cpu and gpu and seems like it is in a loop. I have NFS share in fstab to my pve, and then bind mount with conf /mnt/photos to /mnt/photos in the lxc. I can access the folder via console in the lxc. But when I add this location to IMMICH_MEDIA_LOCATION it won't work. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 19 replies
-
Beta Was this translation helpful? Give feedback.
-
@Jmanko16 any particular reason you're using fstab and not adding the NFS share to your Proxmox Host via the Storage UI? Is the LXC privileged or unprivileged? Is the immich user in the LXC the owner of the upload location? Does it have read/write permissions? What do the logs say? They are at The script only installs and/or updates immich, the configuration (and the often tricky permissions) is left up to you to figure out, which I know can be quite a trial and error process. |
Beta Was this translation helpful? Give feedback.
-
@Jmanko16 no worries! Most of us start as Linux noobs since we live in a world of Windows for the most part! However, given your lack of experience with Linux, you've certainly got your work cut out for you by choosing to run Immich this way! Some points:
cd /mnt/photos
sudo -u immich touch test It's pretty likely you'll get a 'permission denied' error, which means you'll need to figure out how to get write permissions to the folder for the immich user. Since you used the default settings when running the script, the LXC is unprivileged, which makes this part difficult. If you're not comfortable reading up on uid and gid mappings in an LXC, and don't want to edit the LXC config file much, then I suggest deleting this LXC and running the install script again, choosing Advanced settings this time, and making the LXC privileged. Then you can make the IMMICH_MEDIA_LOCATION point to your immich folder on your NAS, and from the LXC do a |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a similar issue, but creating the files manually did nothing for me. All permissions are correct and user Here's my setup:
.env:
LXC .conf file:
File Structure:
|
Beta Was this translation helpful? Give feedback.
-
@oerix I'm afraid the Immich devs have nothing to do with your woes regarding storage, and having a stable release will not fix that for you. If you're using Proxmox LXCs, then you need to learn how to do things differently. Running Immich like this gives you more options at the cost of more complexity. It takes a little persistence and some investigative know-how, as well as some Linux knowledge. If you're not quite there yet, then I suggest you go back to Docker. If the web GUI is not loading, check the logs at Regarding permissions, post the long listing output of your |
Beta Was this translation helpful? Give feedback.
@oerix I was not able to get it to work by creating the files, I actually copied the default location and pasted into new location. I found running the file browser script in the console gave me access via a gui, and then just moved the folder.
Then I changed the media location to match new and it worked.
That being said, I do not think immich is ready for prime time yet. Still early, and I don't trust my photos to it. Sticking with synology photos for now as it just works.
Also, I have proxmox on a n100 minipc and find immich crashes often, likely as it needs more resources.