nextcloud / nextcloud/maps

don`t see photos on map

Open
#638 10 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Hi. i cant install map (0.1.9) on Nextcloud 21.0.3. Scan photos doesnt work. When start manually
sudo -u www-data php /var/www/nextcloud/occ maps:scan-photos
I see problem:

In ExceptionConverter.php line 47:
An exception occurred while executing a query: SQLSTATE[42S02]: Base table
or view not found: 1146 Table 'nextcloud.oc_maps_photos' doesn't exist
In Exception.php line 26:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_map
s_photos' doesn't exist
In Statement.php line 82:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_map
s_photos' doesn't exist

i resolved problem by https://github.com/nextcloud/maps/issues/566#issuecomment-812761140
install 0.1.9.8 nightly (but in apps i see 0.1.9)
start manual scan
sudo -u www-data php /var/www/nextcloud/occ maps:scan-photos
In terminal i saw that my photos added, but not shown in the map. Why?
thank you in advance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the maps:scan-photos OCC command and inspect the reported ExceptionConverter.php location, comparing the released 0.1.9 app with the 0.1.9.8 nightly workaround. Trace why the oc_maps_photos table is absent or why scanned photos are not displayed; done means the scan completes and photos appear on the map.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, sql
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.