nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
493 stars 89 forks source link

[Bug]: watercolor tiles does not display #1191

Open megavolts opened 7 months ago

megavolts commented 7 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

When selected the watercolor scheme for the basemap, no tiles are displayed.

Looking at the Console output in the web developer for both firefox and chromium, link to any GET request to tiles with a URL of the shape https://stamen-tiles-c.{s}.ssl.fastly.net/watercolor/{z}/{y}/{x} return a type 500 Domain Not Found error.

Some online search informed me that the tile server for the stamen tiles migrated in 2023 [https://docs.stadiamaps.com/guides/migrating-from-stamen-map-tiles/]. According to the page, tile url changed from https://stamen-tiles-c.a.ssl.fastly.net/watercolor/{z}/{y}/{x} to https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg.

I tried to update the file ./src/data/mapLayers.js with the correct url in my server, but this wasn't successful as the map plugin still look to the older url.

Would you be able to update the plugin with the correct url?

Steps to reproduce

  1. Change basemap to watercolor
  2. No tiles are display. Firefox return '500 Domain Not Found' for each tile from https://staemn-tiles-c.{s}.ssl.fastly.net

Expected behavior

Display watercolor tile when selecting the watercolor option

Installation method

Official Docker image

Operating system

Other

PHP engine version

Other

Web server

Nginx

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?

Fresh Nextcloud Maps install (never installed before)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{"reqId":"l6d4Ru5P9UyxmuO88iNG","level":1,"time":"2024-01-25T22:55:33+00:00","remoteAddr":"","user":"--","app":"admin_audit","method":"","url":"--","message":"Console command executed: config:list system","userAgent":"--","version":"28.0.1.1","data":{"app":"admin_audit"}}
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.megavolts.ch"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.1.1",
        "overwrite.cli.url": "https:\/\/cloud.megavolts.ch",
        "overwritehost": "cloud.megavolts.ch",
        "overwriteprotocols": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "default_phone_region": "US",
        "filesystem_check_changes": 1,
        "maintenance": false,
        "loglevel": 1,
        "theme": "",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "filelocking.enabled": true,
        "upgrade.disable-web": true,
        "app_install_overwrite": [
            "files_downloadactivity"
        ],
        "enforce_theme": ""
    }
}

List of activated Apps

{"reqId":"Wt2cXXRUJsvRcDilnVva","level":1,"time":"2024-01-25T22:57:29+00:00","remoteAddr":"","user":"--","app":"admin_audit","method":"","url":"--","message":"Console command executed: app:list","userAgent":"--","version":"28.0.1.1","data":{"app":"admin_audit"}}
Enabled:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - calendar: 4.6.4
  - camerarawpreviews: 0.8.4
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - cloud_py_api: 0.1.9
  - comments: 1.18.0
  - contacts: 5.5.1
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - encryption: 2.16.0
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.0
  - files_pdfviewer: 2.9.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - imageconverter: 1.3.5
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - mail: 3.5.5
  - maps: 1.3.1
  - mediadc: 0.3.8
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - previewgenerator: 5.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - ransomware_protection: 1.14.0
  - richdocuments: 8.3.1
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - survey_client: 1.16.0
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0
  - tasks: 0.15.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_totp: 10.0.0-beta.2
  - user_status: 1.8.1
  - viewer: 2.2.0
  - workflowengine: 2.10.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Nothing

Browser Console

For each tile:

A resource is blocked by OpaqueResponseBlocking, please check browser console for details. 4279.jpg [view-source:https://stamen-tiles-c.a.ssl.fastly.net/watercolor/14/1459/4279.jpg]

When clicking on the image link:

<html>
<head>
<title>Fastly error: unknown domain stamen-tiles-c.a.ssl.fastly.net</title>
</head>
<body>
<p>Fastly error: unknown domain: stamen-tiles-c.a.ssl.fastly.net. Please check that this domain has been added to a service.</p>
<p>Details: cache-bfi-kbfi7400083-BFI</p></body></html>


### Additional info

system: unraid
docker: linuxserver nextcloud
docker php version: 8.2.13
britzke commented 1 month ago

I have the same issue.