how to move immich to different folder?
I am using windows 11. Recently I added a new hard drive to my PC and am planning to move both
db
and upload
folder to new disk. After some research here is what I have done:
1. docker-compose down
the original app.
2. copied two folder to new drive:
3. updated the .env file with
4. run docker-compose up -d
However, it seems it started a new empty immich, but not overwriting the new upload and db folder under D. I am wondering which step I am missing? any help appreciated π9 Replies
:wave: Hey @Xiaosong Wen,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker compose ps
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: I have read applicable release notes.
3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
4. :ballot_box_with_check: I have reviewed Github for known issues.
5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:I just tried and it worked, but you need to run
docker compose up --remove-orphans -d
I think the problem is looks like and it dont have correct permission to folder in D drive.
You cannot use NTFS for Postgres
wow never thought about that, In this case, I will try to host the db in C
Actually even I mount the db folder in C drive, it is having a similar issue in
immich-server
I think the problem still is dont have permissing to create file in D drive
Not sure how to set the permission1) the C drive is still NTFS
2) this error is different, you have changed your UPLOAD_LOCATION and now you are missing files from that first location
1. I can start the immich app in C drive . So I think NTFS should not be an issue.
I think main problem is with immich app dont have certain permission to create / edit file. under the mounted folder. But I dont know how to fix this
Got it, well that would be something you need to fix on the windows / docker side
As immich canβt control that
Thanks anyway