Maptiler tiles do not show in Public Access

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.5
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.68
  • PHP version (e.g, 8.3):
    • 8.3.33
  • Is this the first time you’ve seen this error? (Yes / No):
    • It is persistent - never worked
  • PhoneTrack App version (e.g., 29.x.x):
    • 1.3.3

Summary of the issue you are facing:

Custom MapTiler tiles will appear in Nextcloud backend, all correct as it should be. However these tiles do NOT appear in PhoneTrack public access.

Steps to replicate it (hint: details matter!):

This is how everything looks when logged into Nextcloud - note the map tile options, inc. “Longest Journey”, and the map shown here is the correct one, made with MapTiler and using the MapTiler API.

However when in public access “Longest Journey” does not show in the menu:

However “OsmFr Route500”, whatever that is, does show there (changes nothing on the map when clicked.

Is there some way to get “Longest Journey” to appear there?

Or even set that as a parameter in the public URL?

Thanks!

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"RyBKX4cS8Guf1BdQQARI","level":2,"time":"2026-08-20T13:03:49+00:00","remoteAddr":"172.71.232.24","user":"YYYYYYYYY","app":"PHP","method":"GET","url":"/apps/phonetrack/maptiler/maps/openstreetmap/style.json?key=6RCnmt4y4htXviiRhbt4","scriptName":"/index.php","message":"Undefined array key \"layout\" at /home/bouldoux/public_html/XXXXXXXXXX/apps/phonetrack/lib/Service/MapService.php#171","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36","version":"33.0.5.1","data":{"app":"PHP"},"id":"6a8706c62869b"}