XMP sidecar doubt
My photos didn't have any sidecar before uploading. But I noticed many sidecar .xmp inside the library folder ( in places like upload/<user-id>/a1/ ).
1) Does immich generate a sidecar file internally to store info like description, tags etc? For all files?
2) If yes to (1), What information gets stored there - is there some documentation on that?
3) Most files have a sidecar but a few don't. Maybe the sidecars are created during certain types of upload? hmm.. idk.
18 Replies
:wave: Hey @Athul,
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_01GY0DAKGXDEHE263BCAYEGFJAChecklist
I have...
1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: 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.GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
how did you upload?
immich-go was used at some point. Otherwise, web upload (including drag and drop).
immich-go likely created some metadata based on upload, and stored it in the sidecar files
@Simulot could you confirm?
Otherwise,
I've heard that immich creates those files too... could it be that?
If so, when or why does immich do this?
immich will have created those files. If immich-go decided there was some other information to be included in the file at time of upload, it would've told immich to update the asset. Since immich does not update assets directly, it would've been placed in a sidecar file. Feel free to open a sidecar file and see what the contents are to determine why it's there
thanks for your help @Tempest
is there some documentation about this? (xmp sidecar creation and why/when)
When immich-go tells immich to update an asset, that must be similar to users editing an asset on the webpage as well right? With the same sidecar effect.
yes I saw the files, but it didn't answer my original questions.
There is no doc, no
Are the sidecars a problem for you?
the only brief doc is https://immich.app/docs/FAQ/#does-immich-change-the-file
nope, just want to understand what's going on.
When and why are these created? Did immich-go create them or immich itself?
They are created by Immich whenever metadata is edited. Immich-go does that, through the immich api
got it.
also related to this, I saw @bo0tzz 's comments here https://github.com/immich-app/immich/pull/5066
I guess this includes users editing through the app as well, right? Not just through api.
And edits would include - datetime, location, description - all of these fields?
Yes
Nothing to add!
now the final answers to these questions are posted here: https://github.com/immich-app/immich/discussions/10281#discussioncomment-11945857
This thread has been closed. To re-open, use the button below.