maps icon indicating copy to clipboard operation
maps copied to clipboard

[Bug]: search, directions and settings do nothing

Open MarekAP opened this issue 5 months ago • 3 comments

⚠️ This issue respects the following points: ⚠️

Bug description

Search field do nothing after entering search term of either address or geo location. Searching for directions have exactly same behaviour or rather lack of behaviour. Upon loading maps search field is preoccupied with greyed "undefined". Maps was fully functional at 1.6.0

Logs shows nothing. Literally no logs around time of attempt to search

This maybe be same issue as [Bug]: Maps settings do not work #1596

Steps to reproduce

  1. Open maps, see greyed "undefined" in search field
  2. Enter anything in search field
  3. Nothing happens, everything is being ignored

Expected behavior

Ability to search and add favourites

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

Other

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install of the server?

None

Is this bug present after an update or on a fresh install of the app?

Updated from a minor version

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • [x] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.penther.net",
            "192.168.16.11"
        ],
        "overwrite.cli.url": "https:\/\/nextcloud.penther.net",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.11.1",
        "installed": true,
        "app_install_overwrite": [
            "pdfdraw",
            "gpxedit",
            "news",
            "maps",
            "passman",
            "twofactor_admin",
            "twofactor_email",
            "twofactor_gateway",
            "talked",
            "health",
            "journal",
            "messagevault",
            "printer",
            "dav_push",
            "impersonate",
            "cfg_share_links"
        ],
        "maintenance": false,
        "maintenance_window_start": "17",
        "theme": "",
        "loglevel": 3,
        "mysql.utf8mb4": true,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "default_language": "en",
        "default_locale": "en_GB",
        "default_phone_region": "GB",
        "default_timezone": "Europe\/London",
        "knowledgebaseenables": "true",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "bulkupload.enabled": false,
        "versions_retention_obligation": "auto",
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie"
        ],
        "preview_max_x": 8192,
        "preview_max_y": 8192,
        "memories.db.triggers.fcu": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "memories.gis_type": 1
    }
}

List of activated Apps

Enabled:
  - activity: 5.0.0
  - admin_audit: 1.22.0
  - analytics: 6.4.0
  - app_api: 32.0.0
  - appointments: 2.7.3
  - assistant: 2.13.0
  - bookmarks: 16.2.1
  - bruteforcesettings: 5.0.0
  - calendar: 6.4.2
  - camerarawpreviews: 1.1.1
  - cfg_share_links: 7.0.1
  - checksum: 2.0.3
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.3.12
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - dav_push: 1.0.1
  - deck: 1.16.6
  - drawio: 4.1.4
  - end_to_end_encryption: 1.18.2
  - epubviewer: 1.9.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_accesscontrol: 3.0.3
  - files_bpm: 1.8.1
  - files_downloadlimit: 5.0.0
  - files_external: 1.24.1
  - files_pdfviewer: 5.0.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - fileslibreofficeedit: 2.0.1
  - firstrunwizard: 5.0.0
  - google_synchronization: 4.1.0
  - gpxpod: 7.2.4
  - group_default_quota: 0.1.14
  - groupfolders: 20.1.15
  - groupquota: 0.2.4
  - guests: 4.7.5
  - impersonate: 3.0.1
  - journal: 0.0.4
  - logreader: 5.0.0
  - lookup_server_connector: 1.20.0
  - mail: 5.9.2
  - maps: 1.7.1
  - memories: 7.8.2
  - messagevault: 1.0.4
  - metadata: 0.23.0
  - money: 0.31.0
  - music: 3.1.0
  - news: 28.6.0
  - nextcloud_announcements: 4.0.0
  - notes: 5.0.1
  - notifications: 5.0.0
  - notify_push: 1.3.3
  - oauth2: 1.20.0
  - ownershiptransfer: 1.5.0
  - passman: 2.5.1
  - password_policy: 4.0.0
  - passwords: 2026.6.20
  - phonetrack: 1.2.0
  - photos: 5.0.0
  - previewgenerator: 5.13.0
  - privacy: 4.0.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - quota_warning: 1.24.0
  - recognize: 10.0.7
  - recommendations: 5.0.0
  - related_resources: 3.0.0
  - richdocuments: 9.1.0
  - richdocumentscode: 26.4.104
  - serverinfo: 4.0.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - socialsharing_email: 4.1.0
  - socialsharing_telegram: 4.1.0
  - spreed: 22.0.13
  - support: 4.0.0
  - survey_client: 4.0.0
  - suspicious_login: 10.0.0
  - tables: 1.0.9
  - tasks: 0.17.1
  - text: 6.0.2
  - theming: 2.7.0
  - timemanager: 0.3.24
  - timesheet: 1.1.6
  - timetracker: 0.0.86
  - twofactor_admin: 4.11.1
  - twofactor_backupcodes: 1.21.0
  - twofactor_email: 3.1.1
  - twofactor_gateway: 2.5.0
  - twofactor_nextcloud_notification: 6.0.0
  - twofactor_totp: 14.0.0
  - updatenotification: 1.22.0
  - uppush: 2.5.0
  - user_status: 1.12.0
  - user_usage_report: 3.0.0
  - viewer: 5.0.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - whiteboard: 1.5.9
  - workflowengine: 2.14.0
Disabled:
  - calendar_news: 1.1.17 (installed 1.1.17)
  - duplicatefinder: 1.7.3 (installed 1.7.3)
  - encryption: 2.20.0
  - extract: 1.3.6 (installed 1.3.6)
  - files_archive: 1.2.8 (installed 1.2.8)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - gpxedit: 0.0.14 (installed 0.0.14)
  - health: 2.2.2 (installed 2.2.2)
  - libresign: 12.4.5 (installed 12.4.5)
  - ncdownloader: 1.0.23 (installed 1.0.23)
  - printer: 0.0.5 (installed 0.0.5)
  - systemtags: 1.22.0 (installed 1.12.0)
  - talked: 0.5.0 (installed 0.5.0)
  - user_external: 4.0.0 (installed 4.0.0)
  - user_ldap: 1.23.0

Nextcloud Signing status

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- timesheet
	- FILE_MISSING
		- vendor-bin/cs-fixer/vendor/nextcloud/coding-standard/.gitignore
		- vendor-bin/openapi-extractor/vendor/nextcloud/openapi-extractor/.gitignore
		- vendor-bin/psalm/vendor/psr/container/.gitignore

Raw output
==========
Array
(
    [timesheet] => Array
        (
            [FILE_MISSING] => Array
                (
                   [vendor-bin/cs-fixer/vendor/nextcloud/coding-standard/.gitignore] => Array
                        (
                            [expected] => 2a4759cc3e40aa1c1df73b1718b42d5d7b059aaeb329642d9255fd198fd0eba2bb24416295e296864489862b650b2485a8fd54d615db2133b348fd8fb31ce665
                            [current] => 
                        )

                    [vendor-bin/openapi-extractor/vendor/nextcloud/openapi-extractor/.gitignore] => Array
                        (
                            [expected] => 40e48a71c405000c2222f0dd9e40c77b31a31a87c0d78c65aa1cd19296a6145f5b2af96cc0f585fe92940e1a02f7718a602c0191eb2ff32a823d3617171c04ec
                            [current] => 
                        )

                    [vendor-bin/psalm/vendor/psr/container/.gitignore] => Array
                        (
                            [expected] => ac6d1b2d42e8d9132f487d8e0184f9ff2e4050071ab839aa4e2aba6a18dfdfa086e9a966c4893c57aeee55315c51cbeab50ab42c9c9072af9fc66032ca64e9a4
                            [current] => 
                        )

                )

        )

)

Nextcloud Logs


Browser Console


Additional info

PHP 8.4.21 (cli) (built: May 8 2026 05:56:48) (NTS) Copyright (c) The PHP Group Built by Debian Zend Engine v4.4.21, Copyright (c) Zend Technologies with Zend OPcache v8.4.21, Copyright (c), by Zend Technologies All software needed for Nextcloud, which is available directly in Debian 13 Trixie is from main Debian repository

MarekAP avatar Jun 14 '26 09:06 MarekAP

Not sure if related, I can't change category of a favorite, it always revert to the default "Personal". There's also an extra "label" between the name and category.

Image

curbengh avatar Jun 18 '26 02:06 curbengh

Search field do nothing after entering search term of either address or geo location. Searching for directions have exactly same behaviour or rather lack of behaviour. Upon loading maps search field is preoccupied with greyed "undefined". Maps was fully functional at 1.6.0

Same here, Nextcloud 32.0.9 (Hetzner Storage Share), php 8.3.30, Linux 6.8.0-106-generic x86_64.

ismay-tue avatar Jun 18 '26 11:06 ismay-tue

Same here. The dropdown to select a start and destination for a route works, but when I select something the dropdown closes and nothing is actually selected. :( This worked before upgrading to 1.7.x. Also running maps on Nextcloud 32.0.9 (a Hetzner Storage Share).

Image

firefrei avatar Jun 25 '26 15:06 firefrei

Related Issue I believe. Running Nextcloud version (33.0.5). Edit: Same issue on (34.0.1)

When I first go into the maps app my url is https://mydomain/apps/maps The default map is highlighted white. Once I click on any map, default or any other map I have created the default map then becomes greyed out, the url becomes https://mydomain/apps/maps/m/undefined# and everything becomes unselectable.

Image

log: ExceptionCall to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161

/var/www/html/lib/private/AppFramework/App.phpLine 153

OC\AppFramework\Http\Dispatcher->dispatch(
  {
    "__class__": "OCA\\Maps\\Controller\\PageController"
  },
  "indexMyMap"
)

/var/www/html/lib/private/Route/Router.phpLine 321

OC\AppFramework\App::main(
  "OCA\\Maps\\Controller\\PageController",
  "indexMyMap",
  {
    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
  },
  {
    "_route": "maps.page.indexmymap",
    "myMapId": "noIcon"
  }
)

/var/www/html/lib/base.phpLine 1155

OC\Route\Router->match(
  "/apps/maps/m/noIcon"
)

/var/www/html/index.phpLine 25

OC::handleRequest()

Caused by ErrorCall to a member function getMimetype() on null

FlaireBear avatar Jun 27 '26 03:06 FlaireBear

Not sure if related, I can't change category of a favorite, it always revert to the default "Personal". There's also an extra "label" between the name and category. Image

Same issue for me. Search doesn't work either. Experienced on v32.0.2 and still on v34.0.0 (Maps v1.7.1 on both).

drLaba avatar Jun 29 '26 15:06 drLaba

See also #1632

sim6 avatar Jul 24 '26 17:07 sim6