# Ubuntu Focal expressInstall fails

**URL:** <https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064>\
**Category:** General Questions\
**Created:** [February 11, 2023, 12:38am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064 "2023-02-11T00:38:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 12:38am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/1 "2023-02-11T00:38:43Z")

</div>

I am trying to install OpenZiti on Ubuntu 20.04 on my free Oracle Compute Cloud instance. The expressInstalle seems to have some difficulty at this point:

\*\*\*\*\*\*\*\* Setting Up Environment \*\*\*\*\*\*\*\*  
using default ZITI\_HOME: /home/ubuntu/.ziti/quickstart/alpine  
ZITI HOME SET TO: /home/ubuntu/.ziti/quickstart/alpine  
jq: error (at :0): Cannot iterate over null (null)  
ZITI\_BINARIES\_VERSION: null  
Downloading [https://github.com/openziti/ziti/releases/download/null/](https://github.com/openziti/ziti/releases/download/null/) to /home/ubuntu/.ziti/quickstart/alpine/ziti-bin/  
UNZIPPING /home/ubuntu/.ziti/quickstart/alpine/ziti-bin/ into: /home/ubuntu/.ziti/quickstart/alpine/ziti-bin/ziti-null  
tar: /home/ubuntu/.ziti/quickstart/alpine/ziti-bin/: Cannot read: Is a directory  
tar: At beginning of tape, quitting now  
tar: Error is not recoverable: exiting now  
mv: cannot stat ‘/home/ubuntu/.ziti/quickstart/alpine/ziti-bin/ziti’: No such file or directory  
Marking executables at /home/ubuntu/.ziti/quickstart/alpine/ziti-bin/ziti-null executable  
chmod: cannot access ‘/home/ubuntu/.ziti/quickstart/alpine/ziti-bin/ziti-null/\*’: No such file or directory  
Generating new network with name: alpine  
ZITI\_NETWORK set to: alpine

I am open to some suggestions as I really want to get this going! Thanks much.

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 12:47am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/2 "2023-02-11T00:47:26Z")

</div>

On Oracle cloud you made a new ubuntu 20.04, and ran the quickstart and it failed? The “cannot iterate over null” makes me think the github check has failed.

I’ll make a new oracle cloud ubu 20.04 and give it a shot right now and see if i can replicate.

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 12:48am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/3 "2023-02-11T00:48:16Z")

</div>

Thank you so much! I don’t know what’s going on here. Admittedly I am new to Linux. I am an OpenBSD guy

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 12:49am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/4 "2023-02-11T00:49:35Z")

</div>

Sure. Here’s the image I’m selecting…

 ![image](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/1X/2f5a479f53fc04ff3285b47574d73ebd7515d31d.png)

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 12:49am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/5 "2023-02-11T00:49:53Z")

</div>

Yep! That’s the same one I am using.

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 1:09am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/6 "2023-02-11T01:09:24Z")

</div>

Just curious but what are your thoughts so far?

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:09am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/7 "2023-02-11T01:09:43Z")

</div>

Unfortunately, it worked just fine for me. You do need to make sure the oracle web acl allows ports 8440-8443 and when I started the Ubuntu instance iptables was setup to block the ports as well. That meant I had to use iptables to open them up:

```auto
sudo iptables -I INPUT -p tcp -m tcp --dport 8440 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 8441 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 8442 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 8443 -j ACCEPT

```

After that - things worked fine. Based on your `jq` error though, I expect you have hit a github rate limit from your exit IP. The quickstart will use the github api to determine the latest version of ziti to install, it does this by making a curl request and then using jq to parse that output. Seeing the “cannot iterate over null” means something “strange” happened.

Since I know it worked fine for me, let’s try to narrow down your particular problem. Let’s run this command:

```auto
clear; source /dev/stdin <<< "$(wget -qO- https://get.openziti.io/quick/ziti-cli-functions.sh)"; getZiti yes

```

Attach your output here. This is what you should see:

```auto
ZITI_BINARIES_VERSION: v0.27.4
Using ZITI_BIN_DIR: /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-v0.27.4
Downloading https://github.com/openziti/ziti/releases/download/v0.27.4/ziti-linux-amd64-0.27.4.tar.gz to /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-bin/ziti-linux-amd64-0.27.4.tar.gz
UNZIPPING /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-bin/ziti-linux-amd64-0.27.4.tar.gz into: /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-v0.27.4
mv: cannot overwrite non-directory '/home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-v0.27.4/ziti' with directory '/home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-bin/ziti'
Marking executables at /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-v0.27.4 executable
Adding /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-v0.27.4 to the path if necessary:
adding /home/ubuntu/.ziti/quickstart/ubu-20-04/ziti-bin/ziti-v0.27.4 to the path

```

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 1:11am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/8 "2023-02-11T01:11:12Z")

</div>

Okay, that seemed to work:  
using default ZITI\_HOME: /home/ubuntu/.ziti/quickstart/  
ZITI\_BINARIES\_VERSION: v0.27.4  
Downloading [https://github.com/openziti/ziti/releases/download/v0.27.4/ziti-linux-amd64-0.27.4.tar.gz](https://github.com/openziti/ziti/releases/download/v0.27.4/ziti-linux-amd64-0.27.4.tar.gz) to /home/ubuntu/.ziti/quickstart//ziti-bin/ziti-linux-amd64-0.27.4.tar.gz  
UNZIPPING /home/ubuntu/.ziti/quickstart//ziti-bin/ziti-linux-amd64-0.27.4.tar.gz into: /home/ubuntu/.ziti/quickstart//ziti-bin/ziti-v0.27.4  
Marking executables at /home/ubuntu/.ziti/quickstart//ziti-bin/ziti-v0.27.4 executable  
Adding /home/ubuntu/.ziti/quickstart//ziti-bin/ziti-v0.27.4 to the path if necessary:  
adding /home/ubuntu/.ziti/quickstart//ziti-bin/ziti-v0.27.4 to the path

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:13am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/9 "2023-02-11T01:13:20Z")

</div>

Ok. At this point, it’ll be best if you exit the shell from Oracle, (log out/exit) and then ssh back there. Do that just to clear any variables set in your shell and start the quickstart fresh… Before running the quickstart, let’s clean up everything using: `rm -rf $HOME/.ziti` and then start at the quickstart begginning. I also set my EXTERNAL\_DNS to the external IP address (oracle doesn’t give you a DNS entry).

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 1:15am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/10 "2023-02-11T01:15:06Z")

</div>

I used the DNS entry that I created off of my own DNS server … Will do

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:15am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/11 "2023-02-11T01:15:37Z")

</div>

Oh! Well then by all means use that!!! 🙂 Also I forgot to say, Welcome to the forum and OpenZiti! My bad 🙂 I always greet new users…

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 1:16am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/12 "2023-02-11T01:16:00Z")

</div>

Thanks! Are you Phillip from reddit by any chance?

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:16am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/13 "2023-02-11T01:16:50Z")

</div>

OUCH!!! 😝 Nope. We can mention him though and I’m sure he’ll reply tomorow lol. Isn’t that right @PhilipGriffiths

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 1:18am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/14 "2023-02-11T01:18:45Z")

</div>

Oh I am sorry then. He was the very kind gentleman that referred me here. Yay!! Success. Now let me try and manually start the router and controller.

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:19am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/15 "2023-02-11T01:19:35Z")

</div>

It’s all good - he is a very kind gentleman! Sounds like you got through that first bit, awesome. The rest should be a breeze. I’ll be around if you need more help.

---

<div class="post-metadata">

**Author:** ![ablackcatstail](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ablackcatstail/32/811_2.png) [@ablackcatstail](https://openziti.discourse.group/u/ablackcatstail)\
**Post date:** [February 11, 2023, 1:19am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/16 "2023-02-11T01:19:44Z")

</div>

Uh oh. The router failed to start:  
[3]+ Exit 1 “${ZITI\_BIN\_DIR}/ziti-router” run “${ZITI\_HOME\_OS\_SPECIFIC}/${ZITI\_EDGE\_ROUTER\_RAWNAME}.yaml” \> “${log\_file}” 2\>&1

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:33am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/17 "2023-02-11T01:33:23Z")

</div>

@ablackcatstail and I have been DM’ing. They followed the blog from @gberl002 [Setting Up Oracle Cloud To Host OpenZiti](https://blog.openziti.io/setting-up-oracle-cloud-to-host-openziti#heading-edit-the-security-list)

BUT - it was writen before we changed from port 6262 to 8440 for control plane access. I’ll update the blog post and keep DM’in with @ablackcatstail and get them up and running

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:42am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/18 "2023-02-11T01:42:15Z")

</div>

I’m happy to report that after updating the Oracle ACL to allow the new port 8440, @ablackcatstail was able to get up and running.

It also exposed a problem with our oracle blog which I fixed. People will now see:

 ![image](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/1X/b0677bf2a5377d0f09dd73e17203683d4fe96299.png)

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [February 11, 2023, 1:55am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/19 "2023-02-11T01:55:38Z")

</div>

> [@TheLumberjack](#):
>
> oracle blog

can you provide a link to the Oracle blog? not sure I was aware of that

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [February 11, 2023, 1:56am UTC](https://openziti.discourse.group/t/ubuntu-focal-expressinstall-fails/1064/20 "2023-02-11T01:56:03Z")

</div>

surely! [Setting Up Oracle Cloud To Host OpenZiti](https://blog.openziti.io/setting-up-oracle-cloud-to-host-openziti)
