Help migrating from Docker to LXC

I've been using immich via Docker, it's been working fine. Now that there is a community LXC version, I'd like to migrate my library
It doesn't seem to be trivial. I was able to restore one of the PSQL dumps/backups, but I also need to deal with the upload dir.

On my docker setup, I have both my library and my upload folder pointing to a NAS via SMB. Here's an excerpt of the docker-compose file:
services:
  immich-server:
    volumes:
      - immich_library:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - photos:/mnt/photos

volumes:
  model-cache:
  photos:
    driver: local
    driver_opts:
      type: cifs
      device: //${SMB_HOST}/photos
      o: username=${SMB_USERNAME},password=${SMB_PASSWORD},iocharset=utf8,rw,uid=1000
  immich_library:
    driver: local
    driver_opts:
      type: cifs
      device: //${SMB_HOST}/photos/.immich
      o: username=${SMB_USERNAME},password=${SMB_PASSWORD},iocharset=utf8,rw,uid=1000


Now back on the LXC, I tried to create a symlink from /mnt/photos/.immich/upload to /opt/immich/upload (the NAS is mounted on /mnt/photos).
Proxmox VE Helper-Scripts
The official website for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 300+ scripts to help you manage your Proxmox VE environment.
Was this page helpful?