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
/scripts/functions.sh: line 261: /opt/geoserver/data_dir/cluster/instance_ip-xx-xx-xx-xx.us-east1.compute.internal/broker.xml: No such file or directory
#559
Closed
ze-ahmed opened this issue
Aug 25, 2023
· 3 comments
· Fixed by #567
/scripts/functions.sh: line 261: /opt/geoserver/data_dir/cluster/instance_ip-xx-xx-xx-xx.us-east1.compute.internal/broker.xml: No such file or directory
when starting my container (Please note that I'm using AWS ECS and data_dir is in EFS Volume), the container starts but is not loading corectly all the env variables. For example: EMBEDDED_BROKER is set to disabled but it is started, also HOST variable is not loaded with the desired and passed value
Please note that after testing on docker locally I found that some folders and files under data_dir are owned by root and this is perhaps the origin of the issue
Thanks for helping
Steps to reproduce the issue
Deploy geoserver on ECS and use EFS for data_dir by updating the env variable GEOSERVER_DATA_DIR
Versions
kartoza/geoserver:2.23.1
Additional context
No response
The text was updated successfully, but these errors were encountered:
After investigation, the issue is related to EXISTING_DATA_DIR env variable. In start.sh we have the following line # setup clustering if it's not already defined in an existing data directory if [[ -z "${EXISTING_DATA_DIR}" ]]; then cluster_config broker_config fi
As it is a boolean, we can use true or false but in the test if we use false, the cluster setup is not performed.
* fix#559
* add clustering tests - a bit fragile cz of community plugin
* fixes#514
* Add option to check for an existing data dir in cluster init
* add info to readme
What is the bug or the crash?
Hello,
I'm getting the following error:
/scripts/functions.sh: line 261: /opt/geoserver/data_dir/cluster/instance_ip-xx-xx-xx-xx.us-east1.compute.internal/broker.xml: No such file or directory
when starting my container (Please note that I'm using AWS ECS and data_dir is in EFS Volume), the container starts but is not loading corectly all the env variables. For example: EMBEDDED_BROKER is set to disabled but it is started, also HOST variable is not loaded with the desired and passed value
Please note that after testing on docker locally I found that some folders and files under data_dir are owned by root and this is perhaps the origin of the issue
Thanks for helping
Steps to reproduce the issue
Deploy geoserver on ECS and use EFS for data_dir by updating the env variable GEOSERVER_DATA_DIR
Versions
kartoza/geoserver:2.23.1
Additional context
No response
The text was updated successfully, but these errors were encountered: