Question about setup issue

Hi all, hope it’s the right place to post this. I’ve an issue with getting nunet-private-alpha set up. I got through the questions about RAM & MHz to allocate, signed up to nunet-private-alpha… and after I enter the payment address I get this:

Traceback (most recent call last):
File “main.py”, line 189, in
generate_metadata(network, token_addr, reserved)
File “main.py”, line 56, in generate_metadata
with open(’./configs/client_config/metadata.json’, ‘w’) as file:
PermissionError: [Errno 13] Permission denied: ‘./configs/client_config/metadata.json’
head: cannot open ‘/etc/nunet/JOB_NAME.txt’ for reading: No such file or directory
onboarding.sh: line 152: json_pp: command not found
Warning: Couldn’t read data from file “/etc/nunet/adapter-definition.json”,
Warning: this makes an empty POST.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21 100 21 0 0 20 0 0:00:01 0:00:01 --:–:-- 20
curl: (23) Failed writing body

any help would be greatly appreciated.

okay… I created the text file JOB_NAME.txt manually…

here’s how it goes now:

Traceback (most recent call last):
File “main.py”, line 189, in
generate_metadata(network, token_addr, reserved)
File “main.py”, line 56, in generate_metadata
with open(’./configs/client_config/metadata.json’, ‘w’) as file:
PermissionError: [Errno 13] Permission denied: ‘./configs/client_config/metadata.json’
onboarding.sh: line 152: json_pp: command not found
Warning: Couldn’t read data from file “/etc/nunet/adapter-definition.json”,
Warning: this makes an empty POST.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21 100 21 0 0 100 0 --:–:-- --:–:-- --:–:-- 100
curl: (23) Failed writing body

Looks like some of my errors are being caused by the fact that I’m using Fedora and APT cannot be used to install Packages on Fedora. I think the install script uses APT

will switch to another OS

switched to Ubuntu and it’s working now.
Cheers

@woodgrain glad you solved it before any of us could respond. Yes, as you have correctly deduced the current onboarding script supports Ubuntu only and we should make that clear on the README.

Thank you very much for the feedback!

1 Like

I overlooked this and made another post
Try resolving these dependencies and I think you’ll be set

sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo dnf install nomad consul docker-ce docker-ce-cli containerd.io lsb curl
1 Like