Hi Uwe, hi Andrea,
what is GeoServer's GEOSERVER_DATA_DIR in web.xml set to? Why using a
symlink? Can't you just let GEOSERVER_DATA_DIR point to the actual data
dir on your host machine? Maybe Tomcat is picky about the symlink. If
you cannot adjust your GEOSERVER_DATA_DIR, using a bind mount instead of
a symlink solves the problem.
in fstab:
[...]
/real/data/dir/location /tomcat/data/dir none defaults,bind 0 0
[...]
Gruß Carsten
Am 15.03.2024 um 16:37 schrieb Andrea Aime:
I don't have experience using symlinks for the data dir... what errors
do you get?
I guess you'll get some stack traces in the logs, can you share them?
Regards,
Andrea Aime
==GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for
more information.==Ing. Andrea Aime @geowolfTechnical Lead
GeoSolutions Groupphone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>
http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati
“GDPR”), si precisa che ogni circostanza inerente alla presente email
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui
conoscenza è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato
se potesse darmene notizia.This email is intended only for the person
or entity to which it is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure. We
remind that - as provided by European Regulation 2016/679 “GDPR” -
copying, dissemination or use of this e-mail or the information herein
by anyone other than the intended recipient is prohibited. If you have
received this email by mistake, please notify us immediately by
telephone or e-mail
On Fri, Mar 15, 2024 at 2:35 PM Uwe Seher <uwe.se...@gmail.com> wrote:
Same Problem on openSUSE15.5, no symlinks accepted.
Am Mo., 11. März 2024 um 15:32 Uhr schrieb Uwe Seher
<uwe.se...@gmail.com>:
Hi!
I am trying u migrate our geoserver installation from 2.19.x
to 2.24.1 and from aur old server to a new one running on
debian 11/java 11. This part is ok, the new instance is up and
running. It is now running on a vm which should reference the
data-directory from another machine. We did this with the old
instance too (with nfs), the new one references the data-dir
on the host machine. This works too, the datadir is accessible
read/write for the tomcat user. When i try to set this as the
data-dir for geoserver by creating a symlink this does not
work. I tried it too with the original data-dir from the
installation and it does not work when i move it and create a
symlink in the same dir. The same dir works when it is
accessed directly. I do not understand what happens here,
because i did this several times before.
Thank you in advance
Uwe Seher
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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