From de9d0bcfc1f541bd0c426687ccdb774c86c358ff Mon Sep 17 00:00:00 2001 From: UniMa007 <35450966+UniMa007@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:46:03 +0000 Subject: [PATCH 1/4] Fix installer to use correct branch dir --- installer/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/installer.sh b/installer/installer.sh index 2275b2b35..fae8502fc 100644 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -84,7 +84,7 @@ install_aliases() { install_directory() { ARCHIVE_REPOSITORY_URL="github.com/OriginTrail/ot-node/archive" BRANCH="v6/release/testnet" - BRANCH_DIR="/root/ot-node-8-release-testnet" + BRANCH_DIR="/root/ot-node-6-release-testnet" perform_step wget https://$ARCHIVE_REPOSITORY_URL/$BRANCH.zip "Downloading node files" perform_step unzip *.zip "Unzipping node files" From 1ac42feb2d22fd3ba5341022643a3179811ea33b Mon Sep 17 00:00:00 2001 From: UniMa007 <35450966+UniMa007@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:52:55 +0000 Subject: [PATCH 2/4] Fix configuration of triple store --- installer/installer.sh | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/installer/installer.sh b/installer/installer.sh index fae8502fc..8623a5586 100644 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -386,11 +386,23 @@ install_node() { "config": { "repositories": { "dkg": { - "url": $tripleStoreUrl, - "name": "dkg", - "username": "admin", - "password": "" - } + "url": "http://localhost:9999", + "name": "dkg", + "username": "admin", + "password": "" + }, + "privateCurrent": { + "url": "http://localhost:9999", + "name": "private-current", + "username": "admin", + "password": "" + }, + "publicCurrent": { + "url": "http://localhost:9999", + "name": "public-current", + "username": "admin", + "password": "" + } } } } + .' $CONFIG_DIR/.origintrail_noderc > $CONFIG_DIR/origintrail_noderc_tmp) "Adding triple store config to node config file" From af233ee8139f0d6a45fbaebfad5a08245c3c1e0d Mon Sep 17 00:00:00 2001 From: UniMa007 <35450966+UniMa007@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:54:40 +0000 Subject: [PATCH 3/4] Use variable url for triplestore --- installer/installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/installer.sh b/installer/installer.sh index 8623a5586..b4511c654 100644 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -386,19 +386,19 @@ install_node() { "config": { "repositories": { "dkg": { - "url": "http://localhost:9999", + "url": $tripleStoreUrl, "name": "dkg", "username": "admin", "password": "" }, "privateCurrent": { - "url": "http://localhost:9999", + "url": $tripleStoreUrl, "name": "private-current", "username": "admin", "password": "" }, "publicCurrent": { - "url": "http://localhost:9999", + "url": $tripleStoreUrl, "name": "public-current", "username": "admin", "password": "" From af5717d4d175b73addd5a78993b20a76f0ee10bf Mon Sep 17 00:00:00 2001 From: UniMa007 <35450966+UniMa007@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:55:56 +0000 Subject: [PATCH 4/4] Change testnet autoUpdater URL --- config/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.json b/config/config.json index 57bfda3d8..54c8a7f2b 100644 --- a/config/config.json +++ b/config/config.json @@ -397,7 +397,7 @@ "enabled": true, "package": "./auto-updater/implementation/ot-auto-updater.js", "config": { - "branch": "v8/release/testnet" + "branch": "v6/release/testnet" } } }