Closed iboates closed 1 year ago
Your -v
parameter is not correct. Should be something like: /home/isaac/docker-geoserver/geoserver-exts:/var/local/geoserver-exts/
.
Can I confirm I've understood this correctly, I'm trying to test 2.15.2 with the vectortile extension. Using mapbox
I've downloaded the vectortiles extension (for version 2.15.2) I want to the folder /Users/dominic/Downloads/geoserver_extensions
I then ran
docker run -d -p 8080:8080 -v /Users/dominic/Downloads/geoserver_extensions:/var/local/geoserver-exts/ --name=My215_instance oscarfonts/geoserver
I then start the container and go to http://localhost:8080/geoserver
In Geoserver I see.
Which looks different to the official tutorial which shows
My requests to get the tiles result in a 400 error as below
Object { status: 400, url: "http://localhost:8080/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=lbsm:os_local_buildings_matview&STYLE=&TILEMATRIX=MyEPSG:900913:12&TILEMATRIXSET=MyEPSG:900913&FORMAT=application/x-protobuf;type=mapbox-vector&TILECOL=2046&TILEROW=1362", name: "e", message: "", stack: "" }
Which I'm trying to debug starting with ensuring the tile extension is working
Hello @dominijk
Regarding your first comment, you should need to do any docker build
to use extensions; just using an already available image should work directly with docker run
. As for the controlflow.properties
I'm not really proficient with that extension, but it seems you need to create the file yourself with the required configuration, the plugin doesn't seem to provide any default.
In your second comment, the vector tiles extension seems to be installed correctly since you have the mapbox-vector-tile
option available? Your instance might not look exactly the same as the docs maybe because of different versions or different configuration used by you and whoever made the docs, but if the configuration is there the extension is most probably installed correctly.
Closing the ticket since it's quite old and seems resolved. Feel free to reopen if the issue is not resolved.
I commented out everything except for the extension I want (
control-flow
) inextensions
Then I ran:
I see that
geoserver_exts/control-flow
gets created with the relevant .jar insideThen I built version 2.15.0 it like so:
The created image is called
c01e1cc50424
And then I run the container like so:
But when I go into an interactive shell and look for the
control.properties
file as per the docs, it is not there:Am I missing a step?