You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GEOSERVER_DATA_DIR environment variable is not set in v0.3.0 platform independent binary distribution's startup.sh shell script. The GEOSERVER_DATA_DIR variable should point to the data_dir folder in the root of the distribution. Without this setting, GeoServer runs with the application defaults (no preconfigured data or settings).
Issue discovered by @eirizarry when testing on Mac OS.
Solution:
Suggested fix (taken from GeoServer 2.11.1):
#Find the configuration directory: GEOSERVER_DATA_DIR
if [ -z $GEOSERVER_DATA_DIR ]; then
if [ -r "$GEOSERVER_HOME"/data_dir ]; then
export GEOSERVER_DATA_DIR="$GEOSERVER_HOME"/data_dir
else
echo "No GEOSERVER_DATA_DIR found, using application defaults"
GEOSERVER_DATA_DIR=""
fi
fi
Workaround
Prior to running startup.sh, set the GEOSERVER_DATA_DIR to the data_dir folder found at the root of the unzipped distribution.
The text was updated successfully, but these errors were encountered:
The GEOSERVER_DATA_DIR environment variable is not set in v0.3.0 platform independent binary distribution's startup.sh shell script. The GEOSERVER_DATA_DIR variable should point to the data_dir folder in the root of the distribution. Without this setting, GeoServer runs with the application defaults (no preconfigured data or settings).
Issue discovered by @eirizarry when testing on Mac OS.
Solution:
Suggested fix (taken from GeoServer 2.11.1):
Workaround
Prior to running startup.sh, set the GEOSERVER_DATA_DIR to the data_dir folder found at the root of the unzipped distribution.
The text was updated successfully, but these errors were encountered: