New photos don't show up in Photos App Timeline, but in Nextcloud android app and Memories

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
  • Operating system and version (e.g., Ubuntu 24.04):
    • PROXMOX LXC Ubuntu 24.04
  • Is this the first time you’ve seen this error? (Yes / No):
    • ~05.2026
  • When did this problem seem to first start?
    • 12.04.2026
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

New photos don’t show up in Photos app Timeline - only in Memories app and in the official Nextcloud android app under “Media”.
No help after trying to use the following commands

docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --generate-metadata
docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --all
docker exec --user www-data -it nextcloud-aio-nextcloud php occ db:add-missing-indices
docker exec -u www-data -it nextcloud-aio-nextcloud php occ preview:generate-all --path="/wolf/files/" -vvv

I have no idea what the problem is. It just stopped new pictuures from being shown in the default view when clicking on Nextcloud “Photos” app. No change in upload process or folders.

Photos can also viewed in Photos app, for example I add them to the album in Memories app, and watch the album in Photos app.
Or if I set the filter in the Photos Timeline view to “Last week”: Photos are shown.

But no new photos in the default Timeline view. So the Timeline stops in April 2026.

What could I try next? Google, forum and AI doesn’t help me find a solution or explanation. The problem seems “only” to be in the default view of Nextclouds Photo app default timeline view.

Photos and Memories use separate folder settings, so the first thing I’d check is Photos itself. Open Photos, click the settings cog at the bottom left and look at the media folders list. Timeline only shows files from the folders listed there. If your phone started uploading to a different folder around April (the Android app’s auto upload path is easy to change), those files show up under Media and in Memories but not in Photos.

If the folder is already listed, run this to see whether the new files got their metadata:

docker exec --user www-data -it nextcloud-aio-nextcloud php occ metadata:get

You can get the file id from the URL when you open the file in Files. If photos-original_date_time is missing for the new files but present on older ones, that’s why Timeline can’t place them.