Trying to migrate data to new drive

I'm running immich on a container in proxmox. I started saving all the data in the container's space itself but as it grows I want to move it to a shared drive I've mounted into the container.

I copied all the immich-data folder to the new location and then edited the
.env
file to change the environment variable UPLOAD_LOCATION to point to the new location.

I stopped the container and started it again but doesn't seem to be picking the new location. A new immich-data folder has been created where it was originally and the app can't open photos in its full size.

Am I missing some step?
Was this page helpful?