main photos timeline shows no photos after upgrading from 1.29.0 to 1.30.0

After upgrading from 1.29.0 to 130.0 I see no photos in my main photos timeline on the web interface. Photos on all our phones sycn to an album and new photos show up there just not on the main timeline. Ive tested with two different user accounts in firefox and chrome along with incognito mode.
168 Replies
Immich
Immich3mo ago
:wave: Hey @icedragon2002002, 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. :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.
icedragon2002002
icedragon2002002OP3mo ago
.env
# 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=redacted
THUMB_LOCATION=redacted
ENCODED_VIDEO_LOCATION=redacted
PROFILE_LOCATION=redacted
BACKUP_LOCATION=redacted
# The location where your database files are stored
DB_DATA_LOCATION=redacted

# 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=America/Chicago

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.130.0

# 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=redacted

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=redacted
DB_DATABASE_NAME=redacted

##immich power tools###
DB_HOST="immich_postgres" # Postgres Host (IP address or hostname of the database)
DB_PORT="5432" # Postgres Port number (Default: 5432)
IMMICH_API_KEY=redacted
IMMICH_URL = "http://immich_server:2283" # Your immich instace ip address and port
EXTERNAL_IMMICH_URL = "redacted # External address of immich
# 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=redacted
THUMB_LOCATION=redacted
ENCODED_VIDEO_LOCATION=redacted
PROFILE_LOCATION=redacted
BACKUP_LOCATION=redacted
# The location where your database files are stored
DB_DATA_LOCATION=redacted

# 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=America/Chicago

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.130.0

# 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=redacted

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=redacted
DB_DATABASE_NAME=redacted

##immich power tools###
DB_HOST="immich_postgres" # Postgres Host (IP address or hostname of the database)
DB_PORT="5432" # Postgres Port number (Default: 5432)
IMMICH_API_KEY=redacted
IMMICH_URL = "http://immich_server:2283" # Your immich instace ip address and port
EXTERNAL_IMMICH_URL = "redacted # External address of immich
icedragon2002002
icedragon2002002OP3mo ago
downgrading back to 1.29.0 fixes the issue upgrading back to 1.30 breaks it again noted that redis and database images have changed so ive updated those lines in my compose file
Alex Tran
Alex Tran3mo ago
anything from the browser console log? F12 > console
icedragon2002002
icedragon2002002OP3mo ago
nothing that I can see as an issue oh wait you said console log lol preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
shenlong-tanwen
shenlong-tanwen3mo ago
Can you share a screenshot of your developer console?
icedragon2002002
icedragon2002002OP3mo ago
of what specifically?
Alex Tran
Alex Tran3mo ago
the console log page when you reload the page
icedragon2002002
icedragon2002002OP3mo ago
this is the exact error minus my domain that im seeing in those console logs
The resource at “https://redacted/_app/immutable/assets/OverpassMono.XkUhFDDw.ttf” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
The resource at “https://redacted/_app/immutable/assets/OverpassMono.XkUhFDDw.ttf” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
Alex Tran
Alex Tran3mo ago
Hmm Would it be possible to try with a direct local IP?
icedragon2002002
icedragon2002002OP3mo ago
herm. thinking proxy eh ill have to edit my compose since im not allowing the port out even on the host level trying to clear my browser history real quick and then ill check your local ip idea
Alex Tran
Alex Tran3mo ago
Not really, just try to troubleshooting from the ground up 😄
icedragon2002002
icedragon2002002OP3mo ago
sad face with authentik in the way I cannot do that
Alex Tran
Alex Tran3mo ago
hmm Can you run this on your browser? https://yourdomain.com/api/timeline/buckets?isArchived=false&size=MONTH&withPartners=true&withStacked=true
icedragon2002002
icedragon2002002OP3mo ago
that spit out a bunch of junk looks like a lot of time buckets loging in using localhost:2283 yeilds the same results
Alex Tran
Alex Tran3mo ago
HMMMM
icedragon2002002
icedragon2002002OP3mo ago
same resource error in the console output
Alex Tran
Alex Tran3mo ago
Can you check the server logs please? @shadow Sorry to bring you in, do you have any thoughts where we can start troubleshooting this issue?
icedragon2002002
icedragon2002002OP3mo ago
doesnt seem to be much in the server logs either
Alex Tran
Alex Tran3mo ago
can you do docker compose down, then docker compose up. After it finished starting up, navigate to the web and see if any error spit out from the log
icedragon2002002
icedragon2002002OP3mo ago
standby
pi:ServerService] Feature Flags: {
immich_server | "smartSearch": true,
immich_server | "facialRecognition": true,
immich_server | "duplicateDetection": true,
immich_server | "map": true,
immich_server | "reverseGeocoding": true,
immich_server | "importFaces": true,
immich_server | "sidecar": true,
immich_server | "search": true,
immich_server | "trash": true,
immich_server | "oauth": true,
immich_server | "oauthAutoLaunch": true,
immich_server | "passwordLogin": false,
immich_server | "configFile": false,
immich_server | "email": false
immich_server | }
immich_server | [Nest] 17 - 03/25/2025, 3:34:20 PM LOG [Api:StorageService] Verifying system mount folder checks, current state: {"mountFiles":true,"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
immich_server | [Nest] 17 - 03/25/2025, 3:34:20 PM LOG [Api:StorageService] Successfully verified system mount folder checks
pi:ServerService] Feature Flags: {
immich_server | "smartSearch": true,
immich_server | "facialRecognition": true,
immich_server | "duplicateDetection": true,
immich_server | "map": true,
immich_server | "reverseGeocoding": true,
immich_server | "importFaces": true,
immich_server | "sidecar": true,
immich_server | "search": true,
immich_server | "trash": true,
immich_server | "oauth": true,
immich_server | "oauthAutoLaunch": true,
immich_server | "passwordLogin": false,
immich_server | "configFile": false,
immich_server | "email": false
immich_server | }
immich_server | [Nest] 17 - 03/25/2025, 3:34:20 PM LOG [Api:StorageService] Verifying system mount folder checks, current state: {"mountFiles":true,"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
immich_server | [Nest] 17 - 03/25/2025, 3:34:20 PM LOG [Api:StorageService] Successfully verified system mount folder checks
same thing no difference though it did seem to fix one of my issues with dockge not allowing me console access to the immich_server and only allowing me console access to redis, database, and machine learning interesting. dockge things the database is still starting a1df8744dccd tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 2 minutes ago Up 2 minutes (health: starting) 5432/tcp
Alex Tran
Alex Tran3mo ago
I brought in the expert, let's see what he can suggest later today
icedragon2002002
icedragon2002002OP3mo ago
does that last docker ps I pasted above mean anything to you?
shadow
shadow3mo ago
Walking to car now. What if you scroll a little. Mouse wheel or resize window? I have run now. Be back in an hour or so
icedragon2002002
icedragon2002002OP3mo ago
nothing changes when I do that btw
shadow
shadow3mo ago
Clear cache?
icedragon2002002
icedragon2002002OP3mo ago
it does seem like the database isnt fully starting
shadow
shadow3mo ago
You have external libs?
icedragon2002002
icedragon2002002OP3mo ago
compose and .env posted above. No im not using external libraries if thats what youre asking folder mapping is using the custome folder locations but all resides on the same raid array just different folders
shenlong-tanwen
shenlong-tanwen3mo ago
If that's the case, you wouldn't be able to access your instance at all
icedragon2002002
icedragon2002002OP3mo ago
its weird. i just downgraded back to 1.29 and now a different part of immich is stuck in the "starting" stage
eba5e33a0837 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 38 seconds ago Up 37 seconds (health: starting) 5432/tcp
eba5e33a0837 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 38 seconds ago Up 37 seconds (health: starting) 5432/tcp
though it seems to be working just fine
shadow
shadow3mo ago
Looks like the server isn’t displaying all the services running. Maybe db migration didn’t finish? Restart the db? Do you have a db backup from before 130?
icedragon2002002
icedragon2002002OP3mo ago
should have tons
shadow
shadow3mo ago
The server log you posted looks like db migrations didn’t finish. And maybe it’s in a weird in between state now
Alex Tran
Alex Tran3mo ago
Can you run the docker compose down && docker compose up in a terminal so that you know exactly what is happening? we are looking for the starting up success message from the server
icedragon2002002
icedragon2002002OP3mo ago
did that earlier but would be happy to do so again
[+] Running 5/5
✔ Container immich_machine_learning Removed 0.1s
✔ Container immich_server Removed 0.2s
✔ Container immich_power_tools Removed 0.2s
✔ Container immich_postgres Removed 0.2s
✔ Container immich_redis Removed
[+] Running 5/5
✔ Container immich_machine_learning Removed 0.1s
✔ Container immich_server Removed 0.2s
✔ Container immich_power_tools Removed 0.2s
✔ Container immich_postgres Removed 0.2s
✔ Container immich_redis Removed
[+] Running 5/5
✔ Container immich_power_tools Started 0.2s
✔ Container immich_machine_learning Started 0.2s
✔ Container immich_redis Started 0.2s
✔ Container immich_postgres Started 0.2s
✔ Container immich_server Started
[+] Running 5/5
✔ Container immich_power_tools Started 0.2s
✔ Container immich_machine_learning Started 0.2s
✔ Container immich_redis Started 0.2s
✔ Container immich_postgres Started 0.2s
✔ Container immich_server Started
Alex Tran
Alex Tran3mo ago
did you put the -d in?
shadow
shadow3mo ago
You can do docker compose logs immich_server (but lowercase)
Alex Tran
Alex Tran3mo ago
make sure you see something similar to this
No description
icedragon2002002
icedragon2002002OP3mo ago
yes
shadow
shadow3mo ago
Not sure if there’s a way to increase verbosity on the db migrations. But I think that’s the problem
Alex Tran
Alex Tran3mo ago
Can you check the database logs?
icedragon2002002
icedragon2002002OP3mo ago
how does one do that? whelp im done. does seem like the DB is no bueno though guess im starting all over re deploying immich using the backup restore instructions results in a somewhat functional immich instance yet the database still seems to be struggling ill play some more later and if anything will just stick to 1.29.0 since that seems to be functional
bo0tzz
bo0tzz3mo ago
#17113
Immich
Immich3mo ago
[Issue] Empty /photos page / timeline on 1.130.0 / .1 (immich-app/immich#17113)
bo0tzz
bo0tzz3mo ago
another one?
shenlong-tanwen
shenlong-tanwen3mo ago
Yes :Cryge:
Alex Tran
Alex Tran3mo ago
Can you check if the mobile app shows the photos? Can you help grabbing the mobile app log as well?
icedragon2002002
icedragon2002002OP3mo ago
My db seems to be dead but working I'll try the new image shortly and if that doesn't work I guess I'll start from scratch Mobile app shows photos just fine, uploads just fine, and delete just fine
Alex Tran
Alex Tran3mo ago
Hmm
icedragon2002002
icedragon2002002OP3mo ago
Upgrading didn't resolve
Alex Tran
Alex Tran3mo ago
Can you try changing the size of the browser, especially the height
icedragon2002002
icedragon2002002OP3mo ago
I've zoomed in and out with no change well I nuked my instance of immich. changed my .env to pull 1.29.0. re deployed immich and restored my database without error but still the db isnt healthy but I can see my pictures in the timeline I do have one error in the server logs though
immich_server | [Nest] 17 - 03/25/2025, 6:03:52 PM ERROR [Api:EventRepository] Websocket connection error: UnauthorizedException: Invalid user token
immich_server | UnauthorizedException: Invalid user token
immich_server | at AuthService.validateSession (/usr/src/app/dist/services/auth.service.js:259:15)
immich_server | [Nest] 17 - 03/25/2025, 6:03:52 PM ERROR [Api:EventRepository] Websocket connection error: UnauthorizedException: Invalid user token
immich_server | UnauthorizedException: Invalid user token
immich_server | at AuthService.validateSession (/usr/src/app/dist/services/auth.service.js:259:15)
Zeus
Zeus3mo ago
Where’s the error ..?
icedragon2002002
icedragon2002002OP3mo ago
edited my response above sorry didnt notice it didnt copy and pasted the last thing I copied earlier ok now its edited
Alex Tran
Alex Tran3mo ago
Those are fine, log out and log back in
Zeus
Zeus3mo ago
I think that’s just from an old login session, unrelated
icedragon2002002
icedragon2002002OP3mo ago
so immich works at 1.29.0 at least in terms of my timeline but it seems the database is not happy anymore and ive gone so far as to restore to a backup created on the 20th ok so final try and test. Here is what ive done to try and clear up this mess.
1. ran docker compose down
2. deleted the old database.
3. ran docker volume prune
4. ran docker system prune -a -f
5. docker compose pull (this should pull 1.29.0 since thats what my .env is set to)
6. docker compose create
7. did the docker start immich_postgres command with restore options which should have restored my database backup from the 20th.
8. docker compose up -d
1. ran docker compose down
2. deleted the old database.
3. ran docker volume prune
4. ran docker system prune -a -f
5. docker compose pull (this should pull 1.29.0 since thats what my .env is set to)
6. docker compose create
7. did the docker start immich_postgres command with restore options which should have restored my database backup from the 20th.
8. docker compose up -d
after doing this im left with a mosty functional immich but a very unhappy database the only thing I didnt try is revert my database image to the older version
shadow
shadow3mo ago
hi - I'm around now - do you have time to debug?
Zeus
Zeus3mo ago
What do you mean when you say the DB isn’t healthy can we explore that
shadow
shadow3mo ago
Also attach the output of docker compose logs database Is your DB_DATA_LOCATION start with a . or a ./ or just a plain alphabet character? meaning, are you using a volume or a bind-mount for the db? Is the DB on a local drive? or is it on a NFS/SMB share?
icedragon2002002
icedragon2002002OP3mo ago
db is local on zfs db location doesnt start with any of those characters you referenced. db location along with all file / folder mount paths are absolute so no relative pathing is being used I just did the most extreme thing and re deployed immich back to 1.28.0 and restored a db backup from 3/4 just before the release of 1.29.0
shadow
shadow3mo ago
Ok, so that’s a bind mount. That should be ok. Zfs is a little picky with dbs, have you tuned the dataset for the db. (Probably unrelated)
icedragon2002002
icedragon2002002OP3mo ago
I dont believe ive done anything specific to db tuning about the most universal thing ive done is disable atime oh I kinda fibbed my db and the main portion of immich is on a nvme drive ext4 the upload, db backcups and profile is on the zfs array
shadow
shadow3mo ago
Ah ok. Any logs from the db? Do you ever see the success message in the server logs? )compare the backups/old versions with new ones)
icedragon2002002
icedragon2002002OP3mo ago
even after restoring to 1.28 it seems my database is stuck in a starting state yet immich is still functional
shadow
shadow3mo ago
I don’t see how it can be functional and in a starting state. Do you have any tranparent cache servers, load balancers, or other servers in between the docker server and your browser?
icedragon2002002
icedragon2002002OP3mo ago
the only thing I have set up between immich and my browser is a reverse proxy server and authentik
shadow
shadow3mo ago
Maybe try using a different drive for the db path to isolate hardware issues ?
icedragon2002002
icedragon2002002OP3mo ago
well if it were a drive issue I would have a lot worse things happening drive in question is my main boot drive
shadow
shadow3mo ago
Reverse proxy does no caching?
icedragon2002002
icedragon2002002OP3mo ago
and im not getting any smart alerts from it cache assets is checked just disabled and will check
shadow
shadow3mo ago
If you have local access, can you use the internal ip? Connect directly to the server?
icedragon2002002
icedragon2002002OP3mo ago
already tried and tested that proxy / network doesnt seem to be an issue here
shadow
shadow3mo ago
I feel like the web ui is cached, but the api server depends on the db for anything, so are any of the /api network requests returning 200?
icedragon2002002
icedragon2002002OP3mo ago
not sure how to check that forgive me but my knowedge doesnt extend to the api side
shadow
shadow3mo ago
Go to dev console in your browser and the network tab. You can filter by /api
icedragon2002002
icedragon2002002OP3mo ago
if it helps ive literally taken new photos on my phone. watched them upload to the server. and appear on the server so i dont think cache is the issue here
shadow
shadow3mo ago
Hm, yeah sounds like it’s working. Why do you say the db is unhappy ? What do you mean? Do you see success in the server logs?
icedragon2002002
icedragon2002002OP3mo ago
The resource at “https://photos.redacted.com/_app/immutable/assets/Overpass.DCP28BvT.ttf” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
The resource at “https://photos.redacted.com/_app/immutable/assets/Overpass.DCP28BvT.ttf” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
thats the only error I see in the console for the browser on immich
shadow
shadow3mo ago
These wouldn’t be errors in the console. Go to network then you’ll see all the requests the browser makes
icedragon2002002
icedragon2002002OP3mo ago
this is why
71fbdc2eb2ed ghcr.io/immich-app/immich-server:v1.128.0 "tini -- /bin/bash s…" 14 minutes ago Up 13 minutes (healthy) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
b265aeca6470 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 14 minutes ago Up 14 minutes (health: starting) 5432/tcp immich_postgres
41128fd51a83 ghcr.io/immich-app/immich-machine-learning:v1.128.0-openvino "tini -- ./start.sh" 14 minutes ago Up 13 minutes (healthy) immich_machine_learning
4ddd010f2699 redis:6.2-alpine "docker-entrypoint.s…" 14 minutes ago Up 13 minutes (healthy) 6379/tcp immich_redis
71fbdc2eb2ed ghcr.io/immich-app/immich-server:v1.128.0 "tini -- /bin/bash s…" 14 minutes ago Up 13 minutes (healthy) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
b265aeca6470 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 14 minutes ago Up 14 minutes (health: starting) 5432/tcp immich_postgres
41128fd51a83 ghcr.io/immich-app/immich-machine-learning:v1.128.0-openvino "tini -- ./start.sh" 14 minutes ago Up 13 minutes (healthy) immich_machine_learning
4ddd010f2699 redis:6.2-alpine "docker-entrypoint.s…" 14 minutes ago Up 13 minutes (healthy) 6379/tcp immich_redis
health is stuck at starting it never leaves that state
shadow
shadow3mo ago
Oh. Lemme check something. I think that’s ok
Zeus
Zeus3mo ago
Let’s see docker inspect immich_postgres please It shouldn’t be starting for 14 minutes Also docker logs immich_postgres
shadow
shadow3mo ago
What docker version and compose version you have
icedragon2002002
icedragon2002002OP3mo ago
PostgreSQL Database directory appears to contain a database; Skipping initialization

2025-03-26 00:03:41.032 UTC [1] LOG: redirecting log output to logging collector process
2025-03-26 00:03:41.032 UTC [1] HINT: Future log output will appear in directory "log".
PostgreSQL Database directory appears to contain a database; Skipping initialization

2025-03-26 00:03:41.032 UTC [1] LOG: redirecting log output to logging collector process
2025-03-26 00:03:41.032 UTC [1] HINT: Future log output will appear in directory "log".
Docker version 28.0.1, build 068a01e
Alex Tran
Alex Tran3mo ago
Do you use external library?
icedragon2002002
icedragon2002002OP3mo ago
Docker Compose version v2.33.1
Alex Tran
Alex Tran3mo ago
Can you double check the exclusion pattern quickly?
icedragon2002002
icedragon2002002OP3mo ago
no
Alex Tran
Alex Tran3mo ago
Okay
icedragon2002002
icedragon2002002OP3mo ago
what do you mean
Alex Tran
Alex Tran3mo ago
Nvm, it only applies to external library
icedragon2002002
icedragon2002002OP3mo ago
ok then yes 0 external libraries on this deployment
shadow
shadow3mo ago
docker —version
icedragon2002002
icedragon2002002OP3mo ago
Docker version 28.0.1, build 068a01e here is my system info if its of any help
OS: Linux Mint 22 x86_64
Kernel: 6.8.0-55-generic
Uptime: 7 days, 3 hours, 49 mins
Packages: 2281 (dpkg), 24 (flatpak)
Shell: bash 5.2.21
Resolution: 1920x1080, 1920x1080, 1920x1080
DE: Cinnamon 6.2.9
WM: Mutter (Muffin)
WM Theme: Faded-Dream (Mint-Y)
Theme: Mint-Y-Dark [GTK2/3]
Icons: Mint-Y [GTK2/3]
Terminal: gnome-terminal
CPU: 11th Gen Intel i7-11700K (16) @ 4.900GHz
GPU: AMD ATI Radeon RX 6650 XT / 6700S / 6800S
GPU: Intel RocketLake-S GT1 [UHD Graphics 750]
Memory: 46121MiB / 64066MiB
OS: Linux Mint 22 x86_64
Kernel: 6.8.0-55-generic
Uptime: 7 days, 3 hours, 49 mins
Packages: 2281 (dpkg), 24 (flatpak)
Shell: bash 5.2.21
Resolution: 1920x1080, 1920x1080, 1920x1080
DE: Cinnamon 6.2.9
WM: Mutter (Muffin)
WM Theme: Faded-Dream (Mint-Y)
Theme: Mint-Y-Dark [GTK2/3]
Icons: Mint-Y [GTK2/3]
Terminal: gnome-terminal
CPU: 11th Gen Intel i7-11700K (16) @ 4.900GHz
GPU: AMD ATI Radeon RX 6650 XT / 6700S / 6800S
GPU: Intel RocketLake-S GT1 [UHD Graphics 750]
Memory: 46121MiB / 64066MiB
im going to move forward with restoring back to 1.29 real quick
shadow
shadow3mo ago
The db health check happens every 5 minutes by defuslt. So it probably just says starting since it hadn’t been up that long… had it?
icedragon2002002
icedragon2002002OP3mo ago
tell you what. ill restore this version and go buy beer and let you know what the start up state of my db is
shadow
shadow3mo ago
Double check your docker compose matches the latest from the git repo K
icedragon2002002
icedragon2002002OP3mo ago
ok 1.29 is up and running
shadow
shadow3mo ago
Tho, if you’re able to upload from mobile, this is probably fine. It is a mystery
icedragon2002002
icedragon2002002OP3mo ago
db still in a starting state
shadow
shadow3mo ago
Web works?
icedragon2002002
icedragon2002002OP3mo ago
going to go buy beer and let you know what it looks like once I get back
shadow
shadow3mo ago
Ignore the health check for the db for now
icedragon2002002
icedragon2002002OP3mo ago
yes web works 100%
shadow
shadow3mo ago
Ok. Also Do you have a touch screen laptop? Or whatever your using
icedragon2002002
icedragon2002002OP3mo ago
what an odd question no I do not
shadow
shadow3mo ago
To view the desktop web There was a pr to hide the scrubber on touch devices
icedragon2002002
icedragon2002002OP3mo ago
standard home built desktop / server. no touch screens here
shadow
shadow3mo ago
Wondering if it affected touch laptops
icedragon2002002
icedragon2002002OP3mo ago
before I go let me have you chew on my compose and .env files
icedragon2002002
icedragon2002002OP3mo ago
# 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=/home/user/data/immich/
THUMB_LOCATION=/home/user/immich/thumbs
ENCODED_VIDEO_LOCATION=/home/user/immich/encoded-video
PROFILE_LOCATION=/home/user/data/immich/profile
BACKUP_LOCATION=/home/user/data/immich/backups
# The location where your database files are stored
DB_DATA_LOCATION=/home/user/immich/database

# 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=America/Chicago

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.129.0

# 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=redacted
DB_DATABASE_NAME=redacted

##immich power tools###
#DB_HOST="immich_postgres" # Postgres Host (IP address or hostname of the database)
#DB_PORT="5432" # Postgres Port number (Default: 5432)
#immich_API_KEY=redacted
#immich_URL = "http://immich_server:2283" # Your immich instace ip address and port
#EXTERNAL_IMMICH_URL = "https://photos.l2shift.com" # External address of immich
# 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=/home/user/data/immich/
THUMB_LOCATION=/home/user/immich/thumbs
ENCODED_VIDEO_LOCATION=/home/user/immich/encoded-video
PROFILE_LOCATION=/home/user/data/immich/profile
BACKUP_LOCATION=/home/user/data/immich/backups
# The location where your database files are stored
DB_DATA_LOCATION=/home/user/immich/database

# 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=America/Chicago

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.129.0

# 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=redacted
DB_DATABASE_NAME=redacted

##immich power tools###
#DB_HOST="immich_postgres" # Postgres Host (IP address or hostname of the database)
#DB_PORT="5432" # Postgres Port number (Default: 5432)
#immich_API_KEY=redacted
#immich_URL = "http://immich_server:2283" # Your immich instace ip address and port
#EXTERNAL_IMMICH_URL = "https://photos.l2shift.com" # External address of immich
shadow
shadow3mo ago
your heathlcheck statement is truncated seems like
icedragon2002002
icedragon2002002OP3mo ago
as a kind note. anything under /home/user/data is my zfs array
shadow
shadow3mo ago
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

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

is what it should be your TZ var has a leading space, which is probably bad too
icedragon2002002
icedragon2002002OP3mo ago
edited the TZ and the test variables and spun the server back up hay now the DB is showing as healthy ok so should we try upgrading to 1.30? edit 1.30.1
shadow
shadow3mo ago
if the web is working, 100%, then yes, i think try the upgrade what browser, again?
icedragon2002002
icedragon2002002OP3mo ago
web looks good firefox
shadow
shadow3mo ago
k, go for it
icedragon2002002
icedragon2002002OP3mo ago
standby no dice on a full fix here guys everything looks healthy but we are back to this bs
icedragon2002002
icedragon2002002OP3mo ago
No description
shadow
shadow3mo ago
ok, try 2 things, and when you have beer, I can screenshare with you if you want resize the width and height of the window then, scroll with mouse wheel, or two finger gesture
icedragon2002002
icedragon2002002OP3mo ago
ok let me go get that beer and we can do the screen share resizing didnt work btw afk for a bit
shadow
shadow3mo ago
k
icedragon2002002
icedragon2002002OP3mo ago
ok im back @shadow you still there?
shadow
shadow3mo ago
ya I found a few bugs, don't think its related, but worth a shot to try out, if you are up for it modify your .env, the IMMICH_VERSION to be IMMICH_VERSION=pr-17076 this is a bit of a longshot
icedragon2002002
icedragon2002002OP3mo ago
I'll try it now machine learning and server threw errors when trying to upgrade nvm I missed a 7 no dice. still nothing in the photos timeline
shadow
shadow3mo ago
I’m basically out for tonight. Have you tried other browsers? Your phone/tablet?
icedragon2002002
icedragon2002002OP3mo ago
phone app works fine tried both chrome and firefox
shadow
shadow3mo ago
Phone browser that is
icedragon2002002
icedragon2002002OP3mo ago
cleared browser history / cache 3 different systems as well
shadow
shadow3mo ago
I’m out of ideas. I think I need to see it. But can’t tonight
icedragon2002002
icedragon2002002OP3mo ago
duck duck go on mobile displays the same thing no problem bud. just happy you looked into it. besides im not the only one having issues with this latest update will just revert to 1.29 for now and wait for a future fix
shadow
shadow3mo ago
Yes. That worries me too Can you visit the demo instance and see if it works for you https://demo.immich.app
icedragon2002002
icedragon2002002OP3mo ago
checking confirmed working
shadow
shadow3mo ago
So that’s running latest code. That makes me think it’s environmental What if you create a brand new totally separate from scratch instance. And see if that works.
icedragon2002002
icedragon2002002OP3mo ago
give me 5 min and ill have it done cant seem to get it going its stepping on my main instance of immich it seems
Alex Tran
Alex Tran3mo ago
last ditch effort, can you try capture like 20 new photos today and upload it to your instance, see if it triggers the timeline loading?
icedragon2002002
icedragon2002002OP3mo ago
ill give it a try first thing in the AM. im calling it for the night. Appreciate yalls efforts though
Alex Tran
Alex Tran3mo ago
thanks, have a great night Hey one thing I also can think of. Do you have a different computer that you can try access your instance on? Found the reason! There are invalid dates in the database. There were buckets with invalid date previously. I think with the new timeline rewritten, it causes some issue with group's date time formatting and hence not rendering anything You can use this thread to check and resolve the invalid date https://github.com/immich-app/immich/issues/16046#issuecomment-2657784399
icedragon2002002
icedragon2002002OP3mo ago
is it me or does my output not fit the criteria in that posting you just supplied
id | fileCreatedAt | fileModifiedAt | originalPath
--------------------------------------+---------------------------+---------------------------+---------------------------------------
a1e23b17-bbf6-4973-bf66-ddcec7f933c4 | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 3.jpg
39a6b2d0-110a-4495-b3f6-717fe158cd9e | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 1.jpg
90d96c1b-d624-4119-8d63-321a8caf1285 | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 4.jpg
78a36a98-840c-4e9f-9863-48b5b31c6fc7 | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 5.jpg
e2d7d319-0cae-41c5-acfd-7c7aad95c90a | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 2.jpg
7f4773ad-a7ba-4eb8-9bcc-d78ac7c87a55 | 2009-01-03 19:55:42+00 | 2009-01-03 19:55:44+00 | upload/library/admin/2009/024 (6).JPG
d146b910-fbe1-4c77-b00f-c03440268955 | 2009-01-04 00:50:30+00 | 2009-01-04 00:50:32+00 | upload/library/admin/2009/030 (5).JPG
b38995d7-daae-4ada-9f99-e72c62979a6f | 2009-01-06 00:31:36+00 | 2009-01-06 00:31:38+00 | upload/library/admin/2009/047 (2).JPG
0704724f-3ae3-4fe5-867b-52718ad3b9af | 2009-01-06 01:07:08+00 | 2009-01-06 01:07:10+00 | upload/library/admin/2009/052.JPG
93e7aa58-d779-4e82-a282-8458a70149d2 | 2009-01-06 03:01:57+00 | 2009-01-06 03:01:58+00 | upload/library/admin/2009/068 (2).JPG
id | fileCreatedAt | fileModifiedAt | originalPath
--------------------------------------+---------------------------+---------------------------+---------------------------------------
a1e23b17-bbf6-4973-bf66-ddcec7f933c4 | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 3.jpg
39a6b2d0-110a-4495-b3f6-717fe158cd9e | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 1.jpg
90d96c1b-d624-4119-8d63-321a8caf1285 | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 4.jpg
78a36a98-840c-4e9f-9863-48b5b31c6fc7 | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 5.jpg
e2d7d319-0cae-41c5-acfd-7c7aad95c90a | 0001-12-31 23:58:48+00 BC | 0001-12-31 23:59:24+00 BC | upload/library/admin/0/11 - 2.jpg
7f4773ad-a7ba-4eb8-9bcc-d78ac7c87a55 | 2009-01-03 19:55:42+00 | 2009-01-03 19:55:44+00 | upload/library/admin/2009/024 (6).JPG
d146b910-fbe1-4c77-b00f-c03440268955 | 2009-01-04 00:50:30+00 | 2009-01-04 00:50:32+00 | upload/library/admin/2009/030 (5).JPG
b38995d7-daae-4ada-9f99-e72c62979a6f | 2009-01-06 00:31:36+00 | 2009-01-06 00:31:38+00 | upload/library/admin/2009/047 (2).JPG
0704724f-3ae3-4fe5-867b-52718ad3b9af | 2009-01-06 01:07:08+00 | 2009-01-06 01:07:10+00 | upload/library/admin/2009/052.JPG
93e7aa58-d779-4e82-a282-8458a70149d2 | 2009-01-06 03:01:57+00 | 2009-01-06 03:01:58+00 | upload/library/admin/2009/068 (2).JPG
or is it the 0001 dates that are screwing things up
Alex Tran
Alex Tran3mo ago
yes sir You can copy those files to a new place, delete those record from the database then your timeline should be back, then you can reupload them it will be good to go again
icedragon2002002
icedragon2002002OP3mo ago
now to figure out how to delete these
Alex Tran
Alex Tran3mo ago
delete from assets a where a."fileModifiedAt" < '1000-01-01 00:00:00';
icedragon2002002
icedragon2002002OP3mo ago
I get a syntax error
Alex Tran
Alex Tran3mo ago
Can you capture a screenshot?
icedragon2002002
icedragon2002002OP3mo ago
will do so in a moment let me copy these files to a different location quick question. that command listed above. thats only removing the assets from the database correct? should I remove them from the database and then move the files or move the files out of those directories and then remove them from the database
Alex Tran
Alex Tran3mo ago
Correct
icedragon2002002
icedragon2002002OP3mo ago
the error im getting
psql: warning: extra command-line argument "00:00:00;" ignored
ERROR: operator does not exist: timestamp with time zone < integer
LINE 1: delete from assets a where a."fileModifiedAt" < 1000-01-01
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
psql: warning: extra command-line argument "00:00:00;" ignored
ERROR: operator does not exist: timestamp with time zone < integer
LINE 1: delete from assets a where a."fileModifiedAt" < 1000-01-01
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
the exact command im using
docker exec immich_postgres psql --dbname=immich --username=postgres -c 'delete from assets a where a."fileModifiedAt" < '1000-01-01 00:00:00';'
docker exec immich_postgres psql --dbname=immich --username=postgres -c 'delete from assets a where a."fileModifiedAt" < '1000-01-01 00:00:00';'
Alex Tran
Alex Tran3mo ago
ah. Do this first
docker exec -it immich_postgres psql --dbname=immich --username=postgres
docker exec -it immich_postgres psql --dbname=immich --username=postgres
then
delete from assets a where a."fileModifiedAt" < '1000-01-01 00:00:00';
delete from assets a where a."fileModifiedAt" < '1000-01-01 00:00:00';
icedragon2002002
icedragon2002002OP3mo ago
fixed
Alex Tran
Alex Tran3mo ago
Nice, timeline is showing up now?
icedragon2002002
icedragon2002002OP3mo ago
correct
Alex Tran
Alex Tran3mo ago
:peepoClap:
icedragon2002002
icedragon2002002OP3mo ago
so the files that it just removed and that I just moved out of those directories do I need to edit them or just re upload them?
Alex Tran
Alex Tran3mo ago
you can drag and drop to reupload them you can if you want, but there is no harm reuploading them now
icedragon2002002
icedragon2002002OP3mo ago
fantastic thank you kindly
Alex Tran
Alex Tran3mo ago
No problem, glad we figure it out
Dreadeir
Dreadeir2mo ago
Hey @Alex -- just wanted to say thanks for the clear instructions above. I had the exact same issue @icedragon2002002 had. I had one single asset with incorrect dates that was causing my entire timeline to go blank after updating to 1.32. Appreciate the effort here! 💯
Old Cheese
Old Cheese2mo ago
My story: I run Immich in a container on Truenas Scale. I do updates when they roll out, and at some point I lost my timeline. It was empty on the web and phone app. New photos did not appear, but I could find them in folder view. Truenas allowed me to roll back to an earlier version, and my timeline magically reappeared. Looking down to the bottom, I saw four pics that I had uploaded from scanned photographs. They had mangled dates. So I gave them correct dates by "Change date" in Immich. Then I updated Immich to the latest version and the timeline remained, all present and correct. Conclusion, a pic with bad date/time will bork your timeline.
Cole
Cole2w ago
I've lost dates for at least 17 images during my time with Google Photos. 9 of them had dates as 12/31/0, the rest are spread around 1970. Changing the ones set to year 0 to 1970 fixed this issue for me too. Though some notes: I tried to run the db command suggested in the other thread to find old dates out of curiosity and I got this error: :Shrug_3: Any ideas? Everything seems to be working with the db psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "postgres" does not exist The web timeline should handle these dates like the mobile app does or at least warn people if it sees them or throw a console error or anything! Silent failure and having to dig through threads doesn't feel like a good answer to me, though I appreicate everybody's help figuring it out. How I got here: I was on an old version of Truenas that used helm charts and they stopped upgrading the immich version, so I was stuck on 1.119 until today when I upgraded to 24.10 Electric Eel which transitions to docker apps. So I have been stuck on the old version for ~7 months now and the only reason I upgraded was because my Archived folder stopped showing any results on Android and iOS, but the desktop version still showed it. Unfortunately, my archived files still don't appear on mobile after the server upgrade, though newly archived files do show up. Was there some migration that didn't run maybe?

Did you find this page helpful?