Hi all,

I was trying to use the technique explained here:

https://docs.geoserver.org/latest/en/user/community/backuprestore/configtemplate.html


but I cannot make it work. I set the host of a PG datastore to ${mypghost},
wrote a <data_dir>/geoserver-environment.properties with mypghost=localhost
and then restarted with -DALLOW_ENV_PARAMETRIZATION=true but it doesn't
connect (it does when setting "localhost" directly).

Then I tried to remove the geoserver-environment.properties file and set
the logging level to verbose but I don't see this message in the logs
anywhere:

https://github.com/geoserver/geoserver/blob/master/src/platform/src/main/java/org/geoserver/platform/GeoServerEnvironment.java#L104
https://github.com/geoserver/geoserver/blob/master/src/platform/src/main/java/org/geoserver/platform/GeoServerEnvironment.java#L120

It seems like the bean is never initialized. Do I need to configure
something else to enable this feature?

Thanks in advance.

-- 
Víctor González
http://geomati.co
_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to