Leider ist immich sauschwer zu installieren, Läuft jetzt mit Hilfe von ChatGPT aber vorhandene Fotos einbringen ist weiterhin sehr schwer.
Alles rund um Immich
-
harihegen -
February 6, 2025 at 11:38 AM -
Thread is Resolved
-
-
Leider ist immich sauschwer zu installieren, Läuft jetzt mit Hilfe von ChatGPT aber vorhandene Fotos einbringen ist weiterhin sehr schwer.
Habe einfach die offizielle Docker-Compose genommen und lief auf Anhieb.
docker-compose
Code
Display More# # WARNING: Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. # name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database #restart: no healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env #restart: no healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae healthcheck: test: redis-cli ping || exit 1 #restart: no database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data healthcheck: test: >- pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 interval: 5m start_interval: 30s start_period: 5m command: >- postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on #restart: no volumes: model-cache:und dazu noch die .env
Code
Display More# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=./library # The location where your database files are stored DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich -
Habe einfach die offizielle Docker-Compose genommen und lief auf Anhieb.
docker-compose
Code
Display More# # WARNING: Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. # name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' depends_on: - redis - database #restart: no healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache env_file: - .env #restart: no healthcheck: disable: false redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae healthcheck: test: redis-cli ping || exit 1 #restart: no database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data healthcheck: test: >- pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 interval: 5m start_interval: 30s start_period: 5m command: >- postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on #restart: no volumes: model-cache:und dazu noch die .env
Code
Display More# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=./library # The location where your database files are stored DB_DATA_LOCATION=./postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immichJa, ok, das hab ich auch soweit hin bekommen, aber aus der englischen Anleitung war ich trotz Übersetzer nicht schlau geworden was die mit den Dateien von mir wollen, ChatGPT hat geholfen.
Es lief bei mir nur docker-compose mit Bindestrich, ChatGPT hat erklärt es gibt Docker Compose v1 und v2.
Ich habe bisher hauptsächlich mit Portainer gearbeitet, die Anleitung mit den Stacks auf immich hat überhaupt nicht funktioniert.Es bleibt die Frage wie ich jetzt meine Bilder da rein bekomme. Bei dem photoprism konnte man einen Ordner angeben der dann gescannt wurde - 2 Tage lang ...
Photoprism war auch relativ schwer, war auch mit composer ... -
Es bleibt die Frage wie ich jetzt meine Bilder da rein bekomme. Bei dem photoprism konnte man einen Ordner angeben der dann gescannt wurde - 2 Tage lang ...
Ich habe immer alle Bilder eines Ordners ausgewählt, hochgeladen und einem Album zugeordnet.
Verzeichnisse sollen wohl möglich sein, habe ich aber nicht getestet. Wollte nicht alle Fotos auf einmal hochladen, damit ich nicht den Überblick verliere, ob wirklich alle Fotos angekommen sind. Sind sie aber.

Nachtrag: Du kannst aus dem Dateimanager auch die Ordner per drag and drop direkt auf die Weboberfläche schieben.
-
Wollte nicht alle Fotos auf einmal hochladen
Nachtrag: Du kannst aus dem Dateimanager auch die Ordner per drag and drop direkt auf die Weboberfläche schieben.
Ok, ich probiere weiter.
Mit Photoprism war mir das gelungen so um die 200GB an Fotos einzureichen, weswegen die Maschine ja auch um die 2 Tage gerechnet hatte. -
Ok, ich probiere weiter.
Mit Photoprism war mir das gelungen so um die 200GB an Fotos einzureichen, weswegen die Maschine ja auch um die 2 Tage gerechnet hatte.Bei mir waren es ca 150 GB. Kann aber nicht sagen, wie lange es gedauert hat, da ich wie gesagt die Alben einzeln importiert habe. Aber die Analyse der Fotos und die anschließende Gesichtserkennung hat schon einiges an Zeit und Rechenleistung gekostet.
Photoprism hatte ich auch mal probiert, die gingen mir aber zu verschwenderisch mit Speicherplatz um. Das Programm hat für diverse Ausflösungen Vorschaubilder erstellt. Das machte dann das Doppelte der eigentlichen Fotosammlung aus.
-
-
gemacht
-
gemacht
Super, vielen Dank!
Und noch zwei Dinge, die mir beim Import geholfen haben - falls du sie nicht schon selber gefunden hast.
Unter Verwaltung >> Aufgaben kannst du sehen, an welchen Prozessen Immich gerade arbeitet.
Und unter Verwaltung >> Einstellungen >> Speichervorlage kannst du bestimmen, wie Immich die Fotos auf deiner Festplatte speichert. Super Funktion, denn dann findest du die Bilder auch ohne Programm leicht wieder.
Ich habe eine eigene Vorlage erstellt, die die Fotos nach
- Jahr
- Album
- Foto_1.jpg
- Foto_2.jpg
- Album
einsortiert.
- Jahr
-
-
-
-
-
-
Bleibt nur spannend ob sich das noch ändert oder ob die Bilder unlesbar bleiben.
Die Vorschaubilder kommen noch. Vermutlich ist das hier noch nicht abgearbeitet.
-
Habe jetzt nicht den kompletten Faden hier verfolgt. Wollte nur anbieten, dass wenn jemand immich mal testen will, er mich anschreiben kann. Dann richte ich auf meinem Server einen Test-Account ein und ihr könnt immich mal ausprobieren.
Das wäre dann aber tatsächlich nur ein Testaccount zum Ausprobieren auf meinem Bastelserver. Also nichts, was ihr tatsächlich als Backup oder produktiv nutzen könnt. Aber vielleicht will ja mal jemand immich unter realen Bedingungen ausprobieren. Einfach bei mir melden und mir eine Mailadresse mitschicken.
-
-
Allerdings scheinen bei ganz vielen Bildern das Datum überhaupt nicht zu stimmen.
Bei dem Bild waren wir im Sommer auf der Burg und nicht im Februar.
Das kann ja heiter werden wenn der immich jetzt alle Bilder nach falschen Datums einsortiert :O
-
Allerdings scheinen bei ganz vielen Bildern das Datum überhaupt nicht zu stimmen.
Bei dem Bild waren wir im Sommer auf der Burg und nicht im Februar.
Das kann ja heiter werden wenn der immich jetzt alle Bilder nach falschen Datums einsortiert :O
Was sagen denn die Exifdaten?
Habe die Daten für ein Foto abgefragt...
Code
Display More$ exiftool -time:all 20250129_192704.jpg File Modification Date/Time : 2025:02:08 17:09:13+01:00 File Access Date/Time : 2025:02:08 17:09:13+01:00 File Inode Change Date/Time : 2025:02:08 17:09:15+01:00 Modify Date : 2025:01:29 19:27:04 Date/Time Original : 2025:01:29 19:27:04 Sub Sec Time Original : 0933 Offset Time : +01:00 Sub Sec Time : 0933 Offset Time Digitized : +01:00 Sub Sec Time Digitized : 0933 Create Date : 2025:01:29 19:27:04 Offset Time Original : +01:00 Time Stamp : 2025:01:29 19:27:04.489+01:00 Create Date : 2025:01:29 19:27:04.0933+01:00 Date/Time Original : 2025:01:29 19:27:04.0933+01:00 Modify Date : 2025:01:29 19:27:04.0933+01:00...und stimmt mit Immich überein.
-
Was sagen denn die Exifdaten?
Die stimmen überein.
Ich kann mir das nur so erklären das dieser Ordner schon früher mal durch ein anderes Bild-Sortier-Tool bearbeitet wurd und zwar falsch bearbeitet. Ich hoffe das es das Bild nochmal gibt und eine Duplette gefunden wird. Ich bin gespannt was damit werden wird. Auf keine Fall ist das Bild vom Februar wie angegeben da es im Bild ja sommerlich zugeht.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
