Athul
IImmich
•Created by Athul on 1/28/2025 in #help-desk-support
Question on uploading duplicate photos
What is supposed to happen when a user uploads a photo that's already in the library, because another user has uploaded it. Should Immich recognize it as a duplicate and forgo the upload?
I've tried this a couple of times, and because there's one user who has added most of the family photos.. now other people can't upload them to their own timeline. (I'm aware of shared albums, but that's not what I'm looking for)
4 replies
IImmich
•Created by Athul on 1/28/2025 in #help-desk-support
Unable to open Immich in chrome
It may not be immich-specific, but I've been stuck on a really vexing issue. Maybe someone here has seen it before.
(the problem)
My chrome on macos cannot open any page on the local network, including immich. I'm typing in http://192.168.29.16:2283
(the confusing part)
What's really bewildering is that the same URL opens in Safari, and even in chrome for other users of the macbook.
I am able to ping this address, and even test the port using
nc -zv 192.168.29.16 2283
successfully.
But Chrome + MyAccount = No Local Webpages (ERR_ADDRESS_UNREACHABLE).
(what I tried)
I suspected the firewall, but the firewall is turned off.
I tried clearing Cookies and Site Data, but it didn't help.
I even uninstalled chrome, deleted all the app data in ~/Library/Application/Support/Google/Chrome
and ~/Library/Caches/com.google.com/
, then reinstalled chrome. This too didn't work.
Has anyone seen something like this before?8 replies
IImmich
•Created by Athul on 1/26/2025 in #help-desk-support
Permission issue for Restored Immich (with borg)
I have backed up the immich_app that runs on my raspberry pi using borgBackup, as shown in the Backup Script.
To test this backup, I have restored it to my laptop running windows (WSL + docker_desktop).
- Borg didn't have any erros
- db restoration (as shown here) didn't have any errors either.
While trying to start immich with
docker compose up -d
, immich start-up fails silently. It doesn't open on localhost:2283, and the logs show that immich_postgres keeps restarting every few seconds because of a permission error.
Borg docs had mentioned something related to permission issues if the user that's restoring is not the user who backed up. But there must be a way to restore on a different machine right?
LOG of immich_postgres:
7 replies
IImmich
•Created by Athul on 1/24/2025 in #help-desk-support
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.
22 replies
IImmich
•Created by Athul on 1/23/2025 in #help-desk-support
Can I update EXIF data of files in the Immich Library?
To fix some incorrect metadata, I want to change the EXIF data of files already in the immich library. Can I safely edit EXIF data within these files, or will this cause some kind of error in Immich?
I'm planning to do this edit using ExifTool, but the question is a general one.
12 replies
IImmich
•Created by Athul on 1/22/2025 in #help-desk-support
Quick Question on .env formatting
While setting the timezone and immich_version variables in .env, I'm not sure if the values on the right size should be in quotes or not. I want to set TZ=Asia/Kolkata and IMMICH_VERSION=v1.122.0. An example .env file with these values set would be helpful.
6 replies
IImmich
•Created by Athul on 1/19/2025 in #help-desk-support
Immich backup doubts
https://immich.app/docs/guides/template-backup-script/
The presently recommended backup method (for the database) is to use pg_dumpall to create a logical SQL-query based backup from the PG database. And then use borgbackup to deduplicate this and back it up somewhere.
Won't de-duplication fail to work on this pg_dumpall query file?
I'm assuming that there's no regular ordering for these files, and that even small DB changes might lead to the dump being changed in its middle. Then the whole file (or at least the contents after the edit) will appear to be new to borg.
(I'm aware that borg does de-duplication block-wise. I'm guessing this is how it works for text files)
Potentially a 100s of MB sized dump could look new with a few lines of DB changes, right?
34 replies
IImmich
•Created by Athul on 1/19/2025 in #help-desk-support
Pinning immich to a specific version recommended?
I'm about to start using immich and I intend it to be a full and permanent replacement for GPhotos - it should hold all my old photos and the new ones I take from my phone, and be available to me for several years.
Considering this use case, I feel that I should edit the .env file and pick a specific immich version for 2 reasons:
1) Immich often has releases with breaking changes.
2) I'm not in control of the version unless I set it in .env (am I right?). I don't want the code that runs immmich to change if I happen to migrate this to another computer, or if I do a docker compose pull.
What are the reasons for setting a version in .env vs leaving it on 'release'?
Any other concerns I should have?
Looking for some experienced advice here. Thanks so much.
4 replies
IImmich
•Created by Athul on 1/16/2025 in #help-desk-support
Immich can't run with external HDD
I'm new to immich, trying to set it up on a Raspberry-Pi 5 (the 4 GB variant). I'm using docker compose for installation, following the official setup guide. I configured the $UPLOAD_DIR path to be on my 4TB external HDD (with NTFS filesystem), which always stays mounted on the pi. However, docker fails to run with this setup in the following way:
The 'immich_server' service keeps restarting with an error that it can't find the .immich file inside $UPLOAD_DIR/library. The same .immich file is also not there in the other folders in $UPLAOD_DIR (such as 'backup', 'encoded-video', 'thumbs' etc). It seems immich is unable to create these 'dot' files. I'm also unable to open the webpage (at port 2283) because the service 'immich_server' crashes before I can do anything after startup.
I've tried the following to no effect:
1) Changing the permissions in that folder - chmod 777
2) Changing mount options for the HDD - setting umask=0000
3) Using a different disk that's not NTFS - a USB drive with ext4 filesystem
There are 2 cases when it all starts working:
1) I change $UPLOAD_DIR path from the external drive to an internal microSD (somewhere on the pi's home directory)
2) I manually create a .immich file in all the folders it's supposed to be in (using a small shell script).
I even tried creating the .immich on the hard disk from within the 'immich_server' container (with a "docker exec -it" command ), and the file was created without issue! Then it can't be a permission or filesystem error. It's just that immich setup is not doing the same when it's run for the first time.
So, what in god's name could be going on?
It's a bit demotivating to find such a vexing issue before I even uploaded a single photo.
Big thanks if anyone can help!
58 replies