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
Copy file name to clipboardExpand all lines: src/ServiceControl.RavenDB/sc-container-startup.sh
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,7 @@
3
3
LEGACY_PATH="/opt/RavenDB/Server/RavenData"
4
4
5
5
if [[ -d"$LEGACY_PATH" ]];then
6
-
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."
7
-
exit 1
8
-
fi
9
-
10
-
chmod -R u+rwX $RAVEN_DataDir2> /dev/null
11
-
12
-
if [[ $?-ne 0 ]];then
13
-
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."
6
+
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."
0 commit comments