Skip to content

occ memories:places-setup do not work with no table prefix #648

@diroots

Description

@diroots

Describe the bug
occ memories places:setup do not work with a nextcloud installation with empty table prefix.

our installation is done with this parameter in config.php : 'dbtableprefix' => '',

when launching occ memories places:setup, we get this result :

server:/path/to/nextcloud# occ memories:places-setup
Attempting to set up reverse geocoding

In Places.php line 42:
                                                                                     
  Database table prefix is not set. Cannot use database extensions (dbtableprefix).  
                                                                                     

memories:places-setup

it's a bit like #632, except my nc installation is with empty table prefix, and i cannot change it,...

To Reproduce

  • install nextcloud with empty table prefix
  • install memories
  • run occ memories:places-setup

Platform:

  • OS: Ubuntu 20.04 LTS, docker image
  • Browser: not applicable
  • Memories Version: [5.1.0]
  • Nextcloud Version: [25.0.6]
  • PHP Version: [8.0]

Additional context
Add any other context about the problem here.

  • Any errors in the JS console? not applicable
  • Any errors in the Nextcloud server logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions