# Doppler upgrade CLI on raspberry pi not working

**URL:** <https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434>\
**Category:** Need Help\
**Created:** [November 24, 2021, 10:15am UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434 "2021-11-24T10:15:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreenihari](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/sreenihari/32/292_2.png) [@sreenihari](https://community.doppler.com/u/sreenihari)\
**Post date:** [November 24, 2021, 10:15am UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/1 "2021-11-24T10:15:56Z")

</div>

Unable to update doppler on raspberry pi for some reason i dont understand

Followed installation steps of Debian/Ubuntu @

> **[Installation](https://docs.doppler.com/docs/enclave-installation)**
>
> reading time 4 mins

✘ pi@piworker  ~  uname -a  
Linux piworker 5.10.63-v7+ #1459 SMP Wed Oct 6 16:41:10 BST 2021 armv7l GNU/Linux

✘ pi@piworker  ~  doppler --version  
v3.34.1

pi@piworker  ~  sudo doppler update  
Updating…  
Unable to install the latest Doppler CLI  
Doppler Error: exit status 1

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [November 24, 2021, 6:15pm UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/2 "2021-11-24T18:15:41Z")

</div>

Hi there!

Could you try performing the update with the `--debug` flag enabled and post the output you get?

Thanks!  
-Joel

---

<div class="post-metadata">

**Author:** ![sreenihari](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/sreenihari/32/292_2.png) [@sreenihari](https://community.doppler.com/u/sreenihari)\
**Post date:** [December 2, 2021, 5:28am UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/3 "2021-12-02T05:28:30Z")

</div>

Sorry i had to paste as image as it complained for text

 ![image](https://us1.discourse-cdn.com/flex016/uploads/doppler/original/1X/727a5dd05e702f02ff4309f9bb13645b68d14ca5.png)

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [December 6, 2021, 6:02pm UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/4 "2021-12-06T18:02:52Z")

</div>

Interesting! It looks like we might need to update the `install.sh` script to recognize that arch since it seems like it should fit under `arm7`. Could you run a couple more commands for me and give me the output?

- `uname -m`
- `arch`

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [December 6, 2021, 6:30pm UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/5 "2021-12-06T18:30:41Z")

</div>

Actually, looking at this again, it did detect `armv7` as the arch, but it looks like the deb might have issues (also, I realized you had already provided `uname -a`). How did you initially install the Doppler CLI on your pi? Was it using the `install.sh` script? Or via package manager? One more thing that might be useful here:

- `dpkg --print-architecture`

It looks like pi’s will print the expected arch in `uname -m`, but `dpkg` sees the arch as `armhf`, so you end up with a mismatch like this.

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [December 6, 2021, 6:34pm UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/6 "2021-12-06T18:34:36Z")

</div>

An additional follow-up, it looks like you might be able to solve this by running the following on your pi:

```auto
sudo dpkg --add-architecture armv7l

```

Can you give it a shot and see if that allows the script to complete successfully?

---

<div class="post-metadata">

**Author:** ![sreenihari](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/sreenihari/32/292_2.png) [@sreenihari](https://community.doppler.com/u/sreenihari)\
**Post date:** [December 7, 2021, 1:59am UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/7 "2021-12-07T01:59:49Z")

</div>

Here you go . Couldnt add armv71 using command below. It fails

➜ ~ uname -m  
armv7l  
➜ ~ arch  
armv7l  
➜ ~ dpkg --print-architecture  
armhf  
➜ ~ sudo dpkg --add-architecture armv7l  
pkg-config-dpkghook: warning: Architecture armv7l not defined in architecture tables, ignored  
➜ ~ dpkg --print-architecture  
armhf

I used the debian way to install as per

> **[Installing the Doppler CLI](https://docs.doppler.com/docs/install-cli)**
>
> Install the Doppler CLI in local development and production environments.

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [December 7, 2021, 7:36pm UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/8 "2021-12-07T19:36:56Z")

</div>

> I used the debian way to install as per

In that case, you should upgrade via the package manager by doing something like:

```auto
sudo apt-get update && sudo apt-get install doppler

```

Does that work? Either way, I’m still interested in figuring out how we might be able to fix this since I can imagine someone might want to install Doppler on a Pi without using the package manager. Could you give me some more details about Raspberry Pi you’re using? Could you also send me the output from `cat /etc/os-release`?

---

<div class="post-metadata">

**Author:** ![sreenihari](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/sreenihari/32/292_2.png) [@sreenihari](https://community.doppler.com/u/sreenihari)\
**Post date:** [December 9, 2021, 7:05am UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/9 "2021-12-09T07:05:40Z")

</div>

I did apt get remove and did a fresh install and it worked. So when a new version comes out we have to see if this issue happens again

![image](https://us1.discourse-cdn.com/flex016/uploads/doppler/original/1X/258ba579e1fb96957ee6aa9c11d7f6715131d82a.png)

---

<div class="post-metadata">

**Author:** ![watsonian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/watsonian/32/267_2.png) [@watsonian](https://community.doppler.com/u/watsonian)\
**Post date:** [December 13, 2021, 4:23pm UTC](https://community.doppler.com/t/doppler-upgrade-cli-on-raspberry-pi-not-working/434/10 "2021-12-13T16:23:21Z")

</div>

Great! Looking forward to hearing whether an apt upgrade works on the next release. I’ve also ordered a Raspberry Pi to do some testing with myself in the future.
