Comments (5)
Hi @hbruch
I'll take a look. If it is just a matter of missing unzip
package then a rebuild of the images should fix it
from docker-geoserver.
Thanks! I'm not sure, if the missing unzip is the cause. In the nightly stable build, it's already included, but to me it seems that the geofence-plugin misses a dependency(?). I see that the nightly images are built via hooks/build
, but not with which plugins it is built, as this is a env var externally defined. Is the geofence-server plugin specified as additional plugin?
from docker-geoserver.
I managed to make it work. Here's what I did:
- Cloned docker-geoserver repository.
- Built a test image with the following parameters.
docker build -t geoserver:test-2.24.x \
--build-arg GEOSERVER_WEBAPP_SRC=https://build.geoserver.org/geoserver/2.24.x/geoserver-2.24.x-latest-war.zip \
--build-arg PLUG_IN_URLS="https://build.geoserver.org/geoserver/2.24.x/ext-latest/geoserver-2.24-SNAPSHOT-geofence-server-plugin.zip" .
- Ran the test image with the following parameters.
Note: I added this parameter-Dgwc.context.suffix=gwc
because when I accessed /geoserver, it redirected to geowebcache.
docker run -e EXTRA_GEOSERVER_OPTS='-Dgwc.context.suffix=gwc' --name gs -p 8080:8080 geoserver:test-2.24.x
- Tested it on the browser.
from docker-geoserver.
Hi @hbruch
I see that the nightly images are built via hooks/build, but not with which plugins it is built, as this is a env var externally defined. Is the geofence-server plugin specified as additional plugin?
The only plugins included by default are: monitor, controlflow and libjpegturbo: https://github.com/geosolutions-it/docker-geoserver/blob/master/hooks/build#L3
We were only able to reproduce your error if installing both the geofence AND the geofence-server plugin. That should be avoided you either install one or the other. Typically the geofence-server plugin only is installed in order to integrate geofence into geoserver. The other plugin is used only if you have a running external standalone geofence and you want geoserver to connect to it.
More info here: https://docs.geoserver.org/main/en/user/extensions/geofence-server/installing.html
Can you confirm you were trying to add both plugins at the same time?
The need to add the system variable "'-Dgwc.context.suffix=gwc" to the JAVA_OPTS is also covered by the documentation. Without that JAVA_OPT set you will have issues accessing the geoserver UI @david7378
from docker-geoserver.
Related Issues (20)
- Matching tags or releases on github and dockerhub HOT 4
- Docker Hub autobuilds dependency issue HOT 6
- Docker build fails due to failed download HOT 2
- Is there a simple way to enable CORS with this image? HOT 3
- add source code version information to the docker images HOT 7
- Geoerver not getting UP while deploying as StatefulSet in Kubernetes HOT 6
- Cannot customize the admin password HOT 4
- Dependencies should be updated HOT 9
- Build of docker image for GeoServer 2.22.4 is failing HOT 4
- arm64 docker image? HOT 3
- NGINX configuration - `proxy_temp_file_write_size` must be equal or higher than `proxy_buffer_size` HOT 1
- Windows `CR/LF` line endings in .sh files HOT 1
- Docker buildkit enabled prevents download of `openjdk` HOT 6
- Issue downloading libjpegturbo source files
- Feature Request: Support EXTRA_GEOSERVER_OPTS HOT 3
- Publish image for GeoServer version 2.24.2 HOT 1
- Publish 2.25.0 / 2.24.3 on docker-hub? HOT 3
- There is a typo in a rm command HOT 4
- Doesn't seem to work on Mac Monerey HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-geoserver.