I found the answer at this URL:
https://stackoverflow.com/questions/56827735/how-to-allow-tomcat-war-app-to-write-in-folder
I had to add a line to /lib/systemd/system/tomcat9.service like this:
ReadWritePaths=/data/geoserver-mosaics/
On Fri, Oct 8, 2021 at 5:27 PM Devin Eyre wrote:
> Yes, that'
Yes, that's what I assumed was the problem, but I have that directory
writable by all. Was there a change from tomcat8 to tomcat9 which prevents
it from writing to directories outside the data directory, or should I be
looking at apparmor configuration?
On Fri, Oct 8, 2021, 12:18 PM Simone Gianne
The issue might be this one --> location is writable:false
GeoServer process can't write in the directory you want to create the
mosaic.
Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.
==
Ing. Simone Giannecc
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 tomcat4096 Oct 8 14:19 ./
drwxrwxrwx 12 storm tomcat4096 Oct 7 21:05 ../
-rw-r--r-- 1 storm tomcat 6523713 Oct