nextcloud / nextcloud/maps

Maps database tables do not exist

Open
#566 4 comments 1 reaction 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

Intalled Maps 0.1.8 through the Apps HMI, and using NC 21.0.0

Opening Maps and selecting photos, devices and tracks produces the following errors:

nextcloud (1).log

`Error index Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextclouddb.oc_maps_devices' doesn't exist   2021-03-13T20:55:17-0500
Error index Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextclouddb.oc_maps_devices' doesn't exist   2021-03-13T20:55:17-0500
Error index Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextclouddb.oc_maps_tracks' doesn't exist   2021-03-13T20:55:17-0500
Error index Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextclouddb.oc_maps_photos' doesn't exist   2021-03-13T20:55:17-0500`

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

Start with the attached nextcloud.1.log and the Maps installation or migration entry points for Maps 0.1.8 on Nextcloud 21. Check how the oc_maps_devices, oc_maps_tracks, and oc_maps_photos tables are created. Done means opening Maps and selecting photos, devices, and tracks no longer produces TableNotFoundException errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
databases
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.