NC 22.2.2 fresh Ubuntu VM install - Photos not showing in maps

Nextcloud version : 22.2.2
Operating system and version : Ubuntu 20.04.03
Apache : 2.4.41
PHP version : 7.4.3

Ok folks this is a fresh NC installation in Proxmox using (official zip file).

So far so good, i manage to get everything up and running but …
I can’t see the locations of my photos in the maps. Here is what i done so far:

1- Added (apc.enable_cli=1) in php.ini file.
2- Added (*/5 * * * * php -f /srv/nextcloud/cron.php) for www-data crontab
3- Make sure crontab is properly launching cron.php every 5 minutes
4- Force scan-photos with occ…

Im stuck here, anybody have gone thru this before ?


I have the same issue, none of my photos are showing up on the map, even after a scan php -f /var/www/nextcloud/occ maps:scan-photos.

Ok, i’m gonna try to find by myself.
Could it be related to localization. My Nextcloud is set to French (Canada).

If i find i’ll share the fix.

Quite common problem with maps. occ maps:scan-photos will completely drop and rebuild index, so it is not a solution for daily use.