Migrating from (old) TrueNAS -> docker compose
Hello,
I was very stupid a while ago and initially set up my immich server using ixvolumes rather than host path. Had quite busy life events so server maintenance kinda fell away from that. I'm now trying to move over to having it within a docker compose (currently using dockge in truenas) rather than relying on truenas community apps.
So far:
Any immich version past v119 running into trouble in getting the database to connect.
Anyone know if I've done something else stupid? Is truenas apps version of immich's database username normally "immich" rather than postgres? Is there a way to just do this all in docker compose, rather than through truenas apps, or should I upgrade through breaking changes through truenas first? What should I be putting as redis password?
I was very stupid a while ago and initially set up my immich server using ixvolumes rather than host path. Had quite busy life events so server maintenance kinda fell away from that. I'm now trying to move over to having it within a docker compose (currently using dockge in truenas) rather than relying on truenas community apps.
So far:
- I was running truenas cobia (23.10) with immich server v119.Made a new directory and rsync all data from ix-systems location to my new /tank/configs/immich/ using the advised folder structure (/data {library, encoded-video etc} and /pgData).
- On that setup confirmed new directory working by editing host path volumes & reconnecting to dB. All data existed and accessible. Password of database noted to be correct. Did notice weirdly that database username was "immich"?? At this point there was no "redis" password
- I then upgraded from cobia -> dragonfish -> electric eel -> fangtooth (25.04) incrementally as per truenas docs. I was outside of the time window for apps migration so planned to just start fresh with docker
- installed immich v141 via compose and then reading logs realised about breaking changes etc. tried to start by going to v132.3 but keep running into database issues
- now trying to install immich via truenas community apps to confirm working prior to migrating to docker compose
Any immich version past v119 running into trouble in getting the database to connect.
Anyone know if I've done something else stupid? Is truenas apps version of immich's database username normally "immich" rather than postgres? Is there a way to just do this all in docker compose, rather than through truenas apps, or should I upgrade through breaking changes through truenas first? What should I be putting as redis password?