I am new to Geoserver. I am trying to publish a WMS service for a raster time series using the ImageMosaic plugin in Geoserver. I am using the sample dataset and instructions at this link

I want to use postgres/postgis to map the time values to corresponding layers and created datastore.properties

Loose\ bbox=true
Estimated\ extends=false
validate\ connections=true
Connection\ timeout=10

But when I attempt to create a new store -> Raster data - ImageMosaic -> choose data directory and save, Geoserver ignores my datastore.properties file and uses the default settings by creating shapefile and automatically rewrites and generates a new datastore.properties file. This should not happen according to the documentation. The postgres/postgis service is running and I am able to connect and write from the windows commandline. I also grant all permissions to the public schema. Could someone point out what is going wrong here?

I am using Geoserver 2.11.4, PostgreSQL 10 with PostGIS 2.4.4.





EDIT: I have attached the log entries after following the above procedures in this pastebin link.

  • please look in the log file and find the relevant entries, then add them to the question. – Ian Turton May 11 '18 at 8:13
  • @IanTurton I have included a link to the geoserver log files. There seems to be nothing about attempts connect to postgis in the log. – Kay May 11 '18 at 9:55
  • that doesn't seem to be the part that is creating the mosaic, also you might need to turn the log level up to geoserver_developer – Ian Turton May 11 '18 at 9:57
  • @IanTurton Thanks for pointing that out. I have added the updated developer_log at the link. Kindly have a look! – Kay May 11 '18 at 10:30
  • kay, you need to create the mosaic again (or a new one) so I can see what goes wrong, while that is happening, in the logfile. – Ian Turton May 11 '18 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.