Maps database tables do not exist
Open
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:
| `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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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