From a30bd7f500a43e60eaa80971f2b45c177f20642e Mon Sep 17 00:00:00 2001 From: HarelYoav Date: Sun, 20 Apr 2025 15:07:44 +0300 Subject: [PATCH 1/3] updated 'eventual' path to Artifactory V7 --- eventual2cluster/eventual2cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventual2cluster/eventual2cluster.sh b/eventual2cluster/eventual2cluster.sh index 366c5be..f562103 100644 --- a/eventual2cluster/eventual2cluster.sh +++ b/eventual2cluster/eventual2cluster.sh @@ -42,7 +42,7 @@ if [ "$?" -eq 1 ]; then done fi -read -p "4. Please enter your eventual data directory (default: /var/opt/jfrog/artifactory/data/eventual):" destination +read -p "4. Please enter your eventual data directory (default: /var/opt/jfrog/artifactory/data//artifactory/eventual):" destination destination=${destination:-/var/opt/jfrog/artifactory/data/eventual} while [ ! -d "$destination" ]; do read -p "$destination doesn't exist, please enter your eventual data directory (\$ARTIFACTORY_HOME/data/eventual):" destination From 1710c8782ddc85c3b9ac7575b123d0cd12777b4d Mon Sep 17 00:00:00 2001 From: HarelYoav Date: Sun, 20 Apr 2025 15:10:53 +0300 Subject: [PATCH 2/3] Updated to match Artifactory V7 --- eventual2cluster/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eventual2cluster/README.md b/eventual2cluster/README.md index fcccb6b..ad0d37a 100644 --- a/eventual2cluster/README.md +++ b/eventual2cluster/README.md @@ -10,7 +10,7 @@ Run the script only if there are remaining binaries in the folder. During the script you will need to set several parameters: 1. Function - add / delete. Select according to the corresponding directory the script is running from. -2. Artifactory user - The user that runs the Artifactory process and owns the $ARTIFACTORY_HOME directory. -3. Artifactory group - The group that is associated with the $ARTIFACTORY_HOME directory. -4. Destination - The location of the "\_queue" folder. Should be $ARTIFACTORY_HOME/data/eventual/. +2. Artifactory user - The user that runs the Artifactory process and owns the $JFROG_HOME directory. +3. Artifactory group - The group that is associated with the $JFROG_HOME directory. +4. Destination - The location of the "\_queue" folder. Should be $JFROG_HOME/artifactory/data/artifactory/eventual/. 5. Operation - copy / move. Based on the selection the script will perform a `cp` or `mv` function. Copying is usually a safer option, but moving will be much faster and will not result in additional storage. From 6ea418a2b14c2609227bedd33be7049875dc1bfb Mon Sep 17 00:00:00 2001 From: HarelYoav Date: Sun, 27 Apr 2025 13:51:05 +0300 Subject: [PATCH 3/3] Fixed double slash in path --- eventual2cluster/eventual2cluster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventual2cluster/eventual2cluster.sh b/eventual2cluster/eventual2cluster.sh index f562103..c8e2e22 100644 --- a/eventual2cluster/eventual2cluster.sh +++ b/eventual2cluster/eventual2cluster.sh @@ -42,7 +42,7 @@ if [ "$?" -eq 1 ]; then done fi -read -p "4. Please enter your eventual data directory (default: /var/opt/jfrog/artifactory/data//artifactory/eventual):" destination +read -p "4. Please enter your eventual data directory (default: /var/opt/jfrog/artifactory/data/artifactory/eventual):" destination destination=${destination:-/var/opt/jfrog/artifactory/data/eventual} while [ ! -d "$destination" ]; do read -p "$destination doesn't exist, please enter your eventual data directory (\$ARTIFACTORY_HOME/data/eventual):" destination