error loading image
Since I changed my UPLOAD_LOCATION in my .env not all images are displayed. They also won't open, when I download them I can open them.
What did I not changed good? On my phone they are displayed okay, but there also uploade from that phone.
Running on a synology DS22+, server is on V.130.2
.env file
The location where your uploaded files are stored
UPLOAD_LOCATION=/volume1/Thomas/Immich/library
The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.130.2
Connection secret for postgres. You should change it to a random password
DB_PASSWORD=Secret
The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
12 Replies
:wave: Hey @Fommas,
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. :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.docker-compose.yaml
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}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 2283:2283
depends_on:
- redis
- database
restart: always
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: always
redis:
container_name: immich_redis
image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
restart: always
database:
container_name: immich_postgres
image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- ./pgdata:/var/lib/postgresql/data
restart: alwaysWhat was it before and did you move the folders?
yes I copied the folder to the new location, it was not specified before it was in my "/volume1/docker/immich-app/library" after copying i removed the files in this original folder. And all images where still visiable but new uploaded images are mostly not showing up
Can you download old images in original quantity?
Anything interesting in the
docker compose logs
when you (try to) upload?
From what you say is happening it sounds like the new volume has bad permissions and is not allowing immich to writeAre this the logs, dont know how to get docker compose logs. I can download the images which aren't visible
Any chance these images come from Google @Fommas ?
Yep lol
ffmpeg exited with code 244: Conversion failed! handler_name : ISO Media file produced by Google Inc. Created on: 11/06/2019.https://github.com/immich-app/immich/discussions/15133 You just seem to have a lot of corrupt images
They are defenitly not all from google, I made them on my Iphone, and just iploaded them.
EDIT: Not true what I say iIt looks liks live photo's aren't displayed, static images are shown correctly but it's not true on my phone, Immich is not showing the play button on images that are in the web browser are visible
Pictures with the play button are not displayed on the web browser
still cann't find comman ground between the phot'o's I take them with my iphone 15, whatsapp or signall photo's are displayed correctly. But not all pictures from/made by the iphone are not displayed
@Mraedis any ideas ?
none myself I'm afraid