dod
June 19, 2022, 8:42am
1
Hello there,
I have a small PC where I’d like to try Firezone on.
It is running Debian 11 with nothing else on it.
I am trying to run the installation script as per instructions, but the script doesn’t return anything.
Once the command is sent, the machine seems to be doing something for a couple of seconds, then nothing happens.
Could you please let me know how to proceed?
gbe0
June 19, 2022, 11:36am
2
Can you paste exactly was was ran and what it looked like in the console?
dod
June 19, 2022, 11:59am
3
Sure!
I SSH’d to the machine. After logging in, the machine showed:
dod@192.168.1.25: (with a blinking cursor)
I copied/pasted the following:
bash <(curl -Ls https://github.com/firezone/firezone/raw/master/scripts/install.sh )
The prompt returned exactly what it was showing before:
dod@192.168.1.25: (with a blinking cursor)
Also tried with root user, same result.
gbe0
June 19, 2022, 12:11pm
4
What about if you download and execute the script?
wget https://github.com/firezone/firezone/raw/master/scripts/install.sh && \
chmod +x install.sh && \
./install.sh
dod
June 19, 2022, 12:51pm
5
Exactly the same result. I’m baffled!
jamil
June 19, 2022, 4:09pm
6
Hmmm try editing the second line of the install script from set -e
to set -xe
and we should see which command it fails at.
dod
June 19, 2022, 4:58pm
7
dod@192.168.1.25 :~$ ./install.sh +
osCheck
++ uname -s
+ os=Linux
+ '[' '!' Linux = Linux ']'
+ curlCheck
+ type curl
++ od -vN 8 -An -tx1 /dev/urandom
++ tr -d ' \n'
++ echo
+ telemetry_id=4b5107ec35734a24
++ curl --silent ifconfig.me
+ public_ip=REDACTED
+ capture install email-not-collected@dummy.domain
+ type curl
+ '[' '!' -z 4b5107ec35734a24 ']'
+ curl -s -XPOST -H 'Content-Type: application/json' -d '{
"api_key": "phc_ubuPhiqqjMdedpmbWpG2Ak3axqv5eMVhFDNBaXl9UZK",
"event": "install",
"properties": {
"distinct_id": "4b5107ec35734a24",
"email": "email-not-collected@dummy.domain"
}
}' https://telemetry.firez.one/capture/
jamil
June 19, 2022, 7:57pm
8
@dod Ah – yeah I see the issue. The curl call is failing silently. I just updated the install script to bypass this for any errors. Give it a show now :-).