#Invalid date, failed to load assets

1 messages · Page 1 of 1 (latest)

shy ginkgo
#

Hello uploaded my Google photos and I have about 166 photos out of 16999 that show invalid date and I get an error failed to load asset in tje ui.

They are just grey thumbnails that can't be clicked on or selected. How on earth can I fix or just remove these problem files.

Running in docker on unraid.

tawny gardenBOT
#

:wave: Hey @shy ginkgo,

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

#

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. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :ballot_box_with_check: 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.

hard stump
#

Hello, can you access the database and run the following query

#

Select a.id, a.”fileCreatedAt” from assets a where a.”fileCreatedAt” < “1900-01-01 00:00:00”

shy ginkgo
#

im not sure how to access database sorry im running in unraid tbh ive just deleted everything and starting again as i allowed immich go to upload google hpotos with missing json files maybe that caused it?

#

looks like i have 1273 fil;es with missing sidecar

hard stump
#

Part of it, the other part is from the server, there is a problem with the database interpreting the date correctly but the timezone format is invalid in javascript

#

We will push out a fix later

shy ginkgo
#

so i should be able to upload images with missing json files and it be ok?

#

is it not possible to add a ui section that lists files with invalid data and allow you to edit or delete them from the ui to make it a bit more user friendly?

shy ginkgo
# hard stump We will push out a fix later

i also wonder why the android app only seems to show some of my pictures i would like to see all my photos on the server but it only seems to show up to 2021 when i have picture back to 2014 on the server.

#

im backing up my camera folder

hard stump
shy ginkgo
#

but wondered if immich can show "cloud" only files

hard stump
#

However this is fundamentally the issue with the server interpreting invalid date as literal invalid date without giving a fallback value

shy ginkgo
hard stump
shy ginkgo
#

seems to be mostly pictures i uploaded straight into the ui from onedrive so they are just .jpg files they show absolutly fine on the webui though

shy ginkgo
shy ginkgo
# hard stump Correct

is there anyway to change that behaviour i want to upload from my camera folder but still see all photos on the server like google photos allows me to if you know what i mean?

shy ginkgo
hard stump
hard stump
shy ginkgo
#

Thanks for info