# \[SOLVED\] NGROK: end of support for V2: how do you update to V3?

**URL:** <https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815>\
**Category:** General\
**Created:** [18 December 2023 16:06 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815 "2023-12-18T16:06:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [18 December 2023 16:06 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/1 "2023-12-18T16:06:33Z")

</div>

To make NR and its dashboard accessible everywhere, a few years ago, I installed NGROK on my Raspberry pi. Not being very comfortable with LINUX (it still hasn't changed 😅), I followed this tutorial (without understanding everything 😆):

**1/ I created a** ` /ngrok` folder in` /opt`  
**2/ in the** ` /ngrok` folder I downloaded: [https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip](https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip) **(ATTENTION : V2 which is obsolete today !!)**  
**3/ unzipped the file, deleted .zip**  
**4/ modified the config:** `sudo nano ngrok.yml`  
**5/ with this:**

```auto
authtoken: MyTokenxxxxxxx
						region: eu
						console_ui: false
						tunnels:
						    rpi:
						        addr: 192.168.1.54:1880
						        auth: myUser:myPassword
						        bind_tls: true
						        inspect: false
						        proto: http

```

**6/ added a startup service:** `sudo nano /lib/systemd/system/ngrok.service`  
**7/ with this:**

```auto
[Unit]
						Description=ngrok
						After=network.target

						[Service]
						ExecStart=/opt/ngrok/ngrok start --all --config /opt/ngrok/ngrok.yml
						ExecReload=/bin/kill -HUP $MAINPID
						KillMode=process
						IgnoreSIGPIPE=true
						Restart=always
						RestartSec=3
						Type=simple

						[Install]
						WantedBy=multi-user.target

```

**8/ start the service:**  
`sudo systemctl enable ngrok.service`  
`sudo systemctl start ngrok.service`

**My question:**  
the last "NGROK v3" is here for my Raspberry pi 3B:  
sudo wget [https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz](https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz)  
What do you think: If I repeat the tutorial with this new V3 address, will it overwrite V2? or it's more complicated so can you guide me to replace the old V2 with the new V3?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 December 2023 17:56 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/2 "2023-12-18T17:56:40Z")

</div>

Well, for starters, not sure where you got that download link from but it doesn't appear to be the official download.

[https://ngrok.com/download](https://ngrok.com/download)

Just check out the docs to make sure none of the settings have changed:

> **[Quickstart | ngrok documentation](https://ngrok.com/docs/getting-started/)**
>
> This quickstart will use the ngrok agent to put your application on

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 December 2023 18:02 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/3 "2023-12-18T18:02:30Z")

</div>

Ah, better still, the client has an upgrade command

> **[Upgrading to ngrok Agent v3 | ngrok documentation](https://ngrok.com/docs/guides/upgrade-v2-v3/)**
>
> The latest ngrok agent is packed with a ton of new capability but because it is a major release of the agent, there are also some breaking changes to watch out for.

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [18 December 2023 18:40 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/4 "2023-12-18T18:40:20Z")

</div>

> [@TotallyInformation](#):
>
> Well, for starters, not sure where you got that download link from but it doesn't appear to be the official download.
> 
> [Download](https://ngrok.com/download)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/4/b42cfeb6681ea2eb9c6be9be546f7bb3110395aa.png)  
_I read the instructions : "Select your operating system, select the version, and copy the link that appears in the **Download** button". Left clic : save link adress =\> [https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz](https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm.tgz)_

> [@TotallyInformation](#):
>
> Ah, better still, the client has an upgrade command

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/8/48fb0d30b3c957b620c43fd5f9270796af7027e8.png)

It seems to me that I can only update the Config file, and not the complete agent to V3 ?  
because the command  
`pi@pi:/opt/ngrok $ ngrok config upgrade`  
`bash: ngrok : commande introuvable`  
is not recognized by V2

🤔

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 December 2023 20:41 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/5 "2023-12-18T20:41:58Z")

</div>

> [@SuperNinja](#):
>
> I read the instructions

🤣 touché.

> [@SuperNinja](#):
>
> It seems to me that I can only update the Config file, and not the complete agent to V3 ?  
> because the command

I didn't expect that to work with the old agent, you will need to install the v3 agent and then run the config upgrade command.

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [18 December 2023 21:45 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/6 "2023-12-18T21:45:31Z")

</div>

> [@TotallyInformation](#):
>
> you will need to install the v3 agent and then run the config upgrade command.

Do you think I should uninstall V2 before installing V3? Or do I try to install V3 as in the tutorial while keeping V2? Could this create a conflict?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 December 2023 22:52 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/7 "2023-12-18T22:52:27Z")

</div>

Hmm, well I don't think it should matter if you uninstall the old one but it might lose the config so I'd probably just install the new one since the app name seems to be the same so it should just replace it.

As always though, don't assume that anything I say is "Correct" 🙃 Always back stuff up if it is important. Though in this case, you'd probably be able to recreate the config fairly easily since you seem to have the details anyway.

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [19 December 2023 09:08 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/8 "2023-12-19T09:08:25Z")

</div>

mmh! it smells like µSD card formatting 🤣

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [20 December 2023 20:29 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/9 "2023-12-20T20:29:57Z")

</div>

it's good 🕶, I managed to install ngrok v3 by following these instructions:  
[ngrok - Online in One Line](https://dashboard.ngrok.com/get-started/setup/raspberrypi)

**the config changed like this:**

```auto
sudo nano /home/pi/.config/ngrok/ngrok.yml

```

```auto
version: "2"
authtoken: xxxxxxx_xxxxxxxxx
region: eu
console_ui: false
tunnels:
 rpi:
  addr: 192.168.1.54:1880
  basic_auth:
   - "myUser:myPass"
  schemes:
   - https
  inspect: false
  proto: http

```

_WARNING: spaces are required for indentation and not TABs!_  
**Tips :** do a: `ngrok config check` to verify that the config is correctly written.

**the startup service changed like this:**

```auto
sudo nano /lib/systemd/system/ngrok.service

```

```auto
						[Unit]
						Description=ngrok
						After=network.target

						[Service]
						ExecStart=/usr/local/bin/ngrok start --all --config /home/pi/.config/ngrok/ngrok.yml
						ExecReload=/bin/kill -HUP $MAINPID
						KillMode=process
						IgnoreSIGPIPE=true
						Restart=always
						RestartSec=3
						Type=simple

						[Install]
						WantedBy=multi-user.target

```

All I have to do is clean up V2... later... 🥱  
I hope this will help some people to access their Node-red, or their Dashboard remotely, because v3.1 and older are no longer supported as of January 15, 2024 for free users !!  
🎄

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 January 2024 20:30 UTC](https://discourse.nodered.org/t/solved-ngrok-end-of-support-for-v2-how-do-you-update-to-v3/83815/10 "2024-01-03T20:30:14Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
