Fix installer to use correct branch dir #3675
Merged
+19
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Running the regular installer from the documentation on https://docs.origintrail.io/dkg-v8-current-version/v8-dkg-core-node/run-a-v8-core-node-on-testnet/v8-dkg-core-node-installation#id-2.-download-origintrail-v8-dkg-core-node-installer will fail.
This fixes #3674
It seems like the installer does a few things wrong:
Fixes # (issue)
The installer will download now the v6 version , but look into the wrong branch directory.
-> Fixed to use the correct dir
The installer will somehow forget to add the required repositories public-current and private current into the .origintrail_noderc
The config.json for TESTNET is configured to check the v8/release/testnet branch to check whether it should update. Since the version on this branch is 8.1.2 it will update to the broken node version, that will cause again the same issue when running the initial script
-> I changed the config to use v6/release/testnet. However this only works, as soon as this change is merged to v6/release/testnet
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: