Memories App Timeline showing old photos on top

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.4
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12
  • Web server and version (e.g, Apache 2.4.25):
    • ``2.4.62
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NA`
  • PHP version (e.g, 8.3):
    • 8.2.26
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Archive
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing

I am using an old PC as a home server. The Debian 12 and nextdcloud is install in an SSD and all other photos (not the /var/www/nextcloud/data) are in an HDD (connected by SATA interface). I pointed the Timeline path to the folders in the HDD.

I understand that Memories use EXIF data to sort photos in timeline. Some of my old photos has no EXIF data so I manually edit those files and created EXIF “creation date”. Then I copied those huge amount of photos / videos into the HDD in the past few days. (approx 120000 photos, 600GB).

However, the Memories app seems does not register some of the EXIF data. Instead, it put some old photos into the top of the timeline, which is the creation date (copy date) rather than the EXIF date.

For example, thousands of photos were taken at 2007. I put the exif “creation date” as 1 Janurary 2007 . However, memories app show these photo were taken on 21/12/2024 (the date I copied these files into the HDD). I have attached one of the photo with exif date 2007 but is shown as taken on 21/12/2024)

So I have thousands of old photo on top of my timeline.
However, some old photos are showing correctly in the timeline.
I did manually edit the metadata of individual photo in Nextcloud web interface and it works. But I don’t want to do it manually for thousands of photos.

I did the following:
occ memories:index
occ memories:index --force
occ files:scan username --generate-metadata
occ files:scan --all

All the above command were successfully executed. And after a night, the old photos are still showing on top of the Timeline.

I tried disable and remove , and download + enable again the app in Nextcloud web interface, it does not help.

Please advise. Thank you.

1 Like