Iphone backup/sync to network drive
Currently my iphone sync is being stored on my local machine. I would like to change the sync location to a folder on my Qnap network drive. I've attempted to make the changes in the .env files as documentation shows but am having no luck. I understand that i cant upload the network drive using the same location as the Picture library (//192.168.1.173/Multimedia/GoodPhotos) as well. Can someone review the attached files and see what i am missing?
Thanks
11 Replies
:wave: Hey @gjviii,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. 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 ps -a docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: 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)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close command, and re-open it later if needed.I’m looking for this as well. I currently have my photos stored on an external SMB share and want to sync photos from my phone via the app to a different SMB share. The documentation isn’t exactly clear to me. Where in the yml file or env would I point to the new share for phone syncing? Thanks!
The sync location is dictated by
UPLOAD_LOCATION in the .env file @gjviii which you have left as ./library
If you want your phone to upload to that you need to
1. shut down immich
2. move everything over there
3. change UPLOAD_LOCATON to the new location
originals:/usr/src/app/originals this volume mount, by itself, does nothingthanks @Mraedis . So i understand correctly, after shutting down immich i need to only edit the .env file removing the ./library and replacing it with ./192.168.1.173/multimedia/immichuploads Nothin needs done with the .yml file?
No. That’s not how you mount a network share in Docker
You’ll want to research how to properly mount the network drive on your host OS
Can I assume that my docker is currently set up correctly, as I currently have 20k picture saved and able to see via Immich located on the nas (192.168.1.173)? I just want to move my ‘iPhone backup’ photos which are currently save on a local c drive which is running the docker container of Immich.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
That would be an external library. You can't add folders with copy paste, you'll need to upload using immich-go or immich-cli if that's what you wanted.
@Mraedis Following your instructions I shut down immich, i moved the two folders (Library and postgres) that were located in C: \Docker\Immich folder to Z:\GoodPhotos (z=192.168.1.173) I then edited the .env file from UPLOAD_LOCATION=./library to UPLOAD_LOCATION=z:\goodphotos and my upload from the Iphone do not upload to the Z drive. I also tried using the 192.168.1.173 and that does work for the iphone uploads either. I have been working on this for the last week and i still cant figure out what i am missing. i have to believe it is something simple that i just cant see... @Lyle - Did you ever get yours working ?
Did you
docker compose up -d ?
not just container start/stop
Also, if the library folder is inside "goodphotos' then you need to use Z:\GoodPhotos\library