Have you read the docs? https://nodered.org/docs/getting-started/upgrading
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/4e9c92dc-8280-4073-b6fa-f77abfcc8cce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Nick, having screwed up my installation, I’m back to a backup.. node-red is indeed at /usr/lib and I tried restoring email as below but possibly too late in the game.. hence the restore. It is so long since we did tis part of our script I can’t remember why NR is there and not all under the PI directory.
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/eG2B89QGAzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqdZcPU%2BkbtqvpQm5WTh21x9-cJ%2BRMBVGb_exz1TJWZbEg%40mail.gmail.com.
Well I tried Nick – ran your script.. all went well, but as well as serial missing, sqlitedb and sqlite are missing. Any ideas?
Pete
From: node...@googlegroups.com <node...@googlegroups.com> On Behalf Of Nick O'Leary
Sent: 01 May 2018 19:17
To: Node-RED Mailing List <node...@googlegroups.com>
Subject: Re: [node-red] Re: updating Node Red
Mark - this is an edge case the docs don't cover.
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/eG2B89QGAzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqdZcPU%2BkbtqvpQm5WTh21x9-cJ%2BRMBVGb_exz1TJWZbEg%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/008f01d3e1fc%241cd314c0%2456793e40%24%40gmail.com.
I tried the install, made no difference, nr reporting a version difference in /home/pi/node-red/node-modules/sqlite3/lib/binding - it is seeing a directory node-v47-linux-arm and wants 48. I tried renaming the folder but inside is a node_sqlite3.node which has a reference to 47 in it. It is binary so I cant fix that. Help?
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3Dvhqcsk8sYoFVvYisg_L8QE%3DBhw21Tpmd5aJAapS8qm1MRFQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/009601d3e1fd%24781b8000%2468528000%24%40gmail.com.
Sorry to be dense.. doesn’t your script update those along with node-red. I ran it off the link..
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
works a treat it would seem apart from the serial port and sqlite (and sqlitedb which I assume comes with sqlite node as I’’ve never needed to install that).
Your help here really appreciated.
If we resolve this I’ll amend my script to incorporate and obviously credit authors.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqfWNLs6AtU%2BYVTKHoapN2_GBRvo-aSKFHf9pSwiz6US2g%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/00c001d3e213%24f26d9440%24d748bcc0%24%40gmail.com.
Sqlite works. Just the serial port to go and in the process of that rebuild line, serial seems to have magically installed.
Silly question but why didn’t all nodes update to latest while your script was running?
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3Dvhqd9PC6N5tXe8KbrqHiHO45CJ5USgsNhe3xMMVVGuyrRVg%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/00d601d3e215%24f22d6c10%24d6884430%24%40gmail.com.
Ok, re-ran update script without issue BUT that didn’t fix serialport. Didn’t compile properly – then contrib/gpio said mudule version mismatch – missing serialport dependency – expected 48, got 47. Error module version mismatch.
Looks like docs don’t completely cover this? Ideas?
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqfYY%2BDhJUpkbsTM3Hi%3DLUT2vNVO7krDKP70bQ1qV8PLDA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/010601d3e21c%246213c1e0%24263b45a0%24%40gmail.com.
Sorry I replied but used wrong email address. I’m using the versions in your script
I ran the script it updated all but rbe and serial. I followed your instructions and rbe is fine and so NR now works. But even running your update script a second time as suggested in the docs (no errors thron) – I get
It looks like serialport didn't compile properly. This is a common problem and its fix is well documented here https://github.com/voodootikigod/node-serialport#to-install
The result of requiring the package is: undefined
2 May 15:43:55 - [warn] ------------------------------------------------------
2 May 15:43:55 - [warn] [node-red-contrib-gpio/gpio] Error: Module version mismatch. Expected 48, got 47.
2 May 15:43:55 - [warn] [node-red-node-arduino/arduino] Missing serialport dependency
2 May 15:43:55 - [warn] ------------------------------------------------------
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqcEoUO%2BGzKdCGGHM%3DPhDRxSwP1yqteV1nTJV2B9zRKtYA%40mail.gmail.com.
Hi
After upgrading all nodes in palate manager 3 at a time, , the last one was the node-red-node-sqlite node, which took me back to square one with sqlite node. Tried reinstalling outside of NR using npm and that didn’t work. Npm installed sqlite (does a recompile).
Millions of warnings, a mess. This time however, could not find the v48 version and stopped node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqfYY%2BDhJUpkbsTM3Hi%3DLUT2vNVO7krDKP70bQ1qV8PLDA%40mail.gmail.com.
Turns out I npm updated sqlite, not sqlite3. I deketed all sqlite and sqlite3 and node-red-node-sqlie and did 2 new installs.. ie sqlite3 and node-red-node-sqlite. Hours later that worked. But the whole thing is a mess.
Working and backed up with rpi sd backup – a very essential tool that others would do well to recreate.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CAF%3DvhqcEoUO%2BGzKdCGGHM%3DPhDRxSwP1yqteV1nTJV2B9zRKtYA%40mail.gmail.com.
After trying to upgrade I had the same problem, I think it should be some issue with the latest npm module package
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/3f89849e-1cd5-4c43-89b9-620bc06a3dfc%40googlegroups.com.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/eG2B89QGAzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/759dd9e7-c8b6-407d-b88e-efbe723cbedd%40googlegroups.com.
On 7 May 2018 20:33:44 Dave C-J <dce...@gmail.com> wrote:
I've just tried on node8 on a Mac and a Pi and a clean install of node-red-node-sqlite works fine... So what are/were you upgrading from and to ? Was it both the node.js version and the node itself ?
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/eG2B89QGAzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/CACXWFwLSj%2BFO4D55YFT84-beKWT_4EjSun8skZYNB2bhmTvH_g%40mail.gmail.com.