# Loading Old version of Influxdb

**URL:** <https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430>\
**Category:** General\
**Created:** [19 February 2023 18:00 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430 "2023-02-19T18:00:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [19 February 2023 18:00 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/1 "2023-02-19T18:00:24Z")

</div>

Red face time, I'm was playing with my old Node-red on a Pi not updated in ages. I saw Influxdb needed updating so I pressed update and discovered it broke it ! no longer working therefore, how can I load an old very old version of Influxdb ?

This node is a type unknown to your installation of Node-RED.

_If you deploy with the node in this state, it's configuration will be preserved, but the flow will not start until the missing type is installed._

See the Info side bar for more help

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [19 February 2023 18:45 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/2 "2023-02-19T18:45:04Z")

</div>

```auto
sudo apt install influxdb=x.xxx

```

Where x.xx is the required version should do the job.  
However it's better to solve the problems you have now. At some point in the future you **have** to upgrade for various reasons.  
Maybe you need also update the Influx node in NR?

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [20 February 2023 09:24 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/3 "2023-02-20T09:24:07Z")

</div>

Thank you, Sorry but ment the NPM Node-red InfluxDB node rather than Influxdb itself. You're right it's on version 0.18.7 😊 from way back. I'm slowly transfering over to a new system on Proxmox - Docker/Protainer but this Pi was logging for years until I messed it up.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 February 2023 09:44 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/4 "2023-02-20T09:44:28Z")

</div>

Do you mean node-red-contrib-influxdb? Which version are you now using? There should be no incompatibility with a previous version. I suspect that you may be misinterpreting the error message.  
If you keep backups then can you not just restore your .node-red folder folder from your previous backup?

However, if you want to install an earlier version of the node then for a non docker install, go into your .node-red folder and run  
`npm install node-red-contrib-influxdb@n.n.n`  
where n.n.n is the version you want. Then restart node-red.

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [20 February 2023 09:57 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/5 "2023-02-20T09:57:27Z")

</div>

Yes, node-red-contrib-influxdb the version I loaded is presumably the latest version 0.6.1 the version I had was a lot older I don't remember the exact version, but now those nodes are dotted outlined 'Unknown: influxdb out'. I may have a back up though. I like the docker version as it's very fast at rebooting just a few seconds rather than may be a minute on the 'old' Pi2.

The idea is to have one machine replacing 2 or 3 pi's doing separate tasks over time

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [20 February 2023 10:22 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/6 "2023-02-20T10:22:12Z")

</div>

Fixed it !, I restored an old backup of node-red-contrib-influxdb - it's version 0.2.1 - phew that was close 😀

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [20 February 2023 11:27 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/7 "2023-02-20T11:27:34Z")

</div>

Thanks Colin for your help. 🍻

---

<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:** [6 March 2023 11:28 UTC](https://discourse.nodered.org/t/loading-old-version-of-influxdb/75430/8 "2023-03-06T11:28:03Z")

</div>

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