Environment:  Running Geoserver 2.19.2 on Ubuntu 20.04 with tomcat9.

Listing of directory:
storm@geoserver:/data/geoserver-mosaics/rtma_gust$ ll
total 25380
drwxrwxrwx  2 storm tomcat    4096 Oct  8 14:19 ./
drwxrwxrwx 12 storm tomcat    4096 Oct  7 21:05 ../
-rw-r--r--  1 storm tomcat 6523713 Oct  7 18:00
2021-10-07T17:00:00.000Z.tiff
-rw-r--r--  1 storm tomcat 6536675 Oct  7 19:00
2021-10-07T18:00:00.000Z.tiff
-rw-r--r--  1 storm tomcat 6454768 Oct  7 20:00
2021-10-07T19:00:00.000Z.tiff
-rw-r--r--  1 storm tomcat 6449631 Oct  7 21:00
2021-10-07T20:00:00.000Z.tiff
-rw-rw-r--  1 storm tomcat     269 Oct  7 18:21 datastore.properties
-rw-rw-r--  1 storm tomcat     208 Oct  7 18:21 indexer.properties
-rw-rw-r--  1 storm tomcat      70 Oct  7 18:21 timeregex.properties

The storm user is in the tomcat group.

>From the geoserver log:
2021-10-08 13:56:23,330 ERROR [gce.imagemosaic] - Unable to create the
mosaic, check the location:
location is:/data/geoserver-mosaics/rtma_gust
location exists:true
location is a directory:true
location is writable:false
location is readable:true
location is hidden:false

2021-10-08 13:56:23,331 INFO [geoserver.web] - Getting list of coverages
for saved store file:///data/geoserver-mosaics/rtma_gust
java.lang.RuntimeException: Could not list layers for this store, an error
occurred retrieving them: Failed to create reader from
file:///data/geoserver-mosaics/rtma_gust and hints Hints:
  EXECUTOR_SERVICE = java.util.concurrent.ThreadPoolExecutor@16da9a9[Running,
pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
  REPOSITORY       = org.geoserver.catalog.CatalogRepository@cc8a698

System defaults:
  FEATURE_FACTORY                  =
org.geotools.feature.LenientFeatureFactoryImpl@770e60df
  GRID_COVERAGE_FACTORY            = GridCoverageFactory

    TILE_ENCODING                  = null

  FORCE_LONGITUDE_FIRST_AXIS_ORDER = true

  STYLE_FACTORY                    = StyleFactoryImpl

  LENIENT_DATUM_SHIFT              = true

  FILTER_FACTORY                   = FilterFactoryImpl

  FORCE_AXIS_ORDER_HONORING        = http

  COMPARISON_TOLERANCE             = 1.0E-8


What would be making this directory unwritable for geoserver?
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to