#error loading image
1 messages · Page 1 of 1 (latest)
:wave: Hey @trim sluice,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich
.
References
- Container Logs:
docker compose logsdocs - Container Status:
docker compose psdocs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
- :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
- :ballot_box_with_check: I have read applicable release notes.
- :ballot_box_with_check: I have reviewed the FAQs for known issues.
- :ballot_box_with_check: I have reviewed Github for known issues.
- :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
- :blue_square: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
- :blue_square: I have 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)
If this ticket can be closed you can use the /close command, and re-open it later if needed.
are the jobs still running?
if not, then your SMB mount could have been unmounted during the upload period
Hello @robust pond , my SMB mount is most certainly not offline during any time because it is onmy local 24/7 available NAS system
Which jobs do you mean specifically?
My cron is set to run the library jobs every hour: " 0 */1 * * * "
the thumbnail generation job
There are lots of way a SMB mount point can get messed up.. to say this is totally impossible is a pretty big misconception
I just triggered that manually - did nothing
Can you post the logs and docker compose and env as requested by the bot please
Sure, one sec
My SMB share is permanently mounted on my docker host system (debian12):
//192.168.178.40/chris/CameraUpload /mnt/photos cifs uid=0,credentials=/root/.credentials,iocharset=utf8,vers=3.0,noperm 0 0
what in the world is this: - ${IMMICH_MEDIA_LOCATION}:/usr/src/app/photos
from our docs: IMMICH_MEDIA_LOCATION Media Location inside the container :warning:You probably shouldn't set this*1:warning:
.env inside portainer:
why did you set that..?
Took that from some documentatioon, I'm not 100% sure
ok, because our documentation says specifically not to use that
has it been like that all along, or added partway through?
If I remember correctly that was the only working way to get my SMB share available as a external library
no, that's not correct
it's been like that the whole time
I'm listening
I would recommend starting over this installation seems quite broken. would have to see the logs but I doubt this is recoverable. you basically have mounted two different folders inside each other, and neither one of them is actually where your photos are being stored right now
Can you hint me to a corrected compose file? You've seen the correct paths
sure. where is the external library you want?
It's mounted on my docker host as /mnt/photos
//192.168.178.40/chris/CameraUpload 5.4T 2.2T 3.3T 40% /mnt/photos
ok and where do you want to put the immich folders? it can't be a subfolder of that
I've got my container data inside this directory: /home/chris/docker-compose/immich
yes but what about the uploaded images?
it can't go into the same external library or there will be a circular logic of imports
ok then you should just get a brand new docker compose and add only this line under the volumes: for immich-server
- /mnt/photos:/mnt/photos
then add /mnt/photos as an external library path
get a brand new .env as well
I'll try
you shld delete the old postgres folder which will reset everything, users albums etc
Ok
I'll just stop the container and remove it's volume
How should my .env file look?
Is this OK? (editing)
`# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
#The location where to scan for existing files
#IMMICH_MEDIA_LOCATION=/mnt/photos
The location where your uploaded files are stored
UPLOAD_LOCATION=/home/chris/docker-compose/immich/upload
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
DB_PASSWORD=postgres
The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich`
sure but you should empty the UPLOAD_LOCATION folder as well
You should never ever use IMMICH_MEDIA_LOCATIOn for this so would probably delete that
Yeah it's commented out
The upload directory itself is empty as I never use it
So it's now running the "extract metadata" job and my CPU is at 100% load on all cores
Video transcode is also running on my GPU
Oh yeah if you didn’t empty UPLOAD_LOCATION path like I mentioned you will have lots of extra thumbnails just sitting around
Like I said, that directory is empty
root@MediaBox:/home/chris/docker-compose/immich/upload# ls -lah total 8.0K drwxr-xr-x 2 root root 4.0K Sep 12 22:08 . drwxr-xr-x 3 root root 4.0K Sep 12 22:08 ..
from the original screenshot, I saw that there are some photos show up and some with broken thumbnail. What is the percentage of the broken thumbnail on your timeline?
It's always like the newest images are getting loaded and everything a few days old gets "forgot"
I redeployed my stack and I'll let all jubs finish before I take a new look at everything. I would give it the benefit of the doubt that it might be all there once all jobs are finished
Thank you for your suggestions so far, I will give an update tomorrow.
It looks like my server is going to take a minute do get a full rescan done
Yeah depends on the amount it could take a wee bit
Hello @robust pond and @tiny atlas, it looks like redeploying with the corrected paths did the trick. All images are loading and have thumbnails and faces are getting recognized.