diff --git a/src/ServiceControl.RavenDB/sc-container-startup.sh b/src/ServiceControl.RavenDB/sc-container-startup.sh index cd317bbcb5..42fc3cb207 100755 --- a/src/ServiceControl.RavenDB/sc-container-startup.sh +++ b/src/ServiceControl.RavenDB/sc-container-startup.sh @@ -3,14 +3,7 @@ LEGACY_PATH="/opt/RavenDB/Server/RavenData" if [[ -d "$LEGACY_PATH" ]]; then - echo "ERROR: RavenDB data is being mounted to the wrong location. It should be mounted to $RAVEN_DataDir. Refer to the article 'Upgrade ServiceControl from Version 5 to Version 6' in the documentation for more details about the steps that must be taken to update ServiceControl to this version." - exit 1 -fi - -chmod -R u+rwX $RAVEN_DataDir 2> /dev/null - -if [[ $? -ne 0 ]]; then - echo "ERROR: RavenDB data permissions are not correct. The owner and group should be set to ID 999. Refer to the article 'Upgrade ServiceControl from Version 5 to Version 6' in the documentation for more details about the steps that must be taken to update ServiceControl to this version." + echo "ERROR: RavenDB data is being mounted to the wrong location. It should be mounted to $RAVEN_DataDir. The owner and group needs to be set to ID 999. Refer to the article 'Upgrade ServiceControl from Version 5 to Version 6' in the documentation for more details about the steps that must be taken to update ServiceControl to this version." exit 1 fi