Hi
This was not moved, it was an install from scratch as I did on my blog for Pi2….. clean SD, installed the Jessie image – ran my script – all worked well…. PHP etc all works…
--
http://nodered.org
---
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/EzKVpYx0lAs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Erm… I didn’t realise there was a difference…
So I’m using this
curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get install -y build-essential python-dev python-rpi.gpio nodejs
and It looks like I should be using this..
wget http://node-arm.herokuapp.com/node_archive_armhf.debsudo dpkg -i node_archive_armhf.debsudo apt-get install build-essential python-dev python-rpi.gpio
Right – start again in the morning – I tried uninstalling the first lot then procedding to the second… exactly the same response… I’ll report back if attempt 2 works. J
From: node...@googlegroups.com [mailto:node...@googlegroups.com] On Behalf Of Dave C-J
Sent: 10 January 2016 23:23
To: node...@googlegroups.com
Subject: Re: [node-red] Ancient Pi
Which version of node.js did you install... ?
--
Dave (or other) can you help please.
My script is here for now..
https://bitbucket.org/snippets/scargill/eyAG7
I noted your comments Dave below – and at line 101 you will see this is set up for Pi2 with commented out lines below that for Pi1.
I’ve just done a clean install on a Pi1 (very original). Everything works – but the node-red-start fails, griping about invalid directory /usr/bin/node
I noted that there is no /usr/bin/node on my Pi1 test…. But there is a /usr/local/bin/node so I altered the start up script in Webmin to handle this and it STILL failed.
Actually running Node-Red at the command line works perfectly but the startup script fails as above. Can you suggest what might be wrong here.
For clarity we’re talking about starting with the latest Jessie image from RPI and the script (and it’s supporting script) works without issue on Pi2…. and Node-Red at the command line works on Pi1 with the lines at 101 commented out and the lines after that uncommented – but the startup script fails.
Help.
Pete.
From: node...@googlegroups.com [mailto:node...@googlegroups.com] On Behalf Of Dave C-J
Sent: 10 January 2016 23:23
To: node...@googlegroups.com
Subject: Re: [node-red] Ancient Pi
Which version of node.js did you install... ?
--
--
http://nodered.org
---
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.
I think that is likely right – but I’m not sure how to change the script to reflect this..
The only reference to systemctl I have is around line114 and for the life of me I can’t figure out what it is doing.
That is JUST the kind of help I was after – thanks Nick. So now I have a script for Pi and one for Pi2 – excellent… both sitting here working a treat.
What does:
ls -la /usr/local/bin/node
return?
-rwxr-xr-x 1 root staff 10260772 Jul 6 2015 /usr/local/bin/node
From: node...@googlegroups.com [mailto:node...@googlegroups.com] On Behalf Of Nicholas O'Leary
Sent: 12 January 2016 19:26
To: Node-RED <node...@googlegroups.com>
Subject: Re: [node-red] Ancient Pi
What does:
--
http://nodered.org
---
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/EzKVpYx0lAs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.