Hi all. I reset my password on the pi and now node-red wont work. The error is "failed with result exit-code". GPIO also is giving me an error, "RP1.GPIO.setup(self.__pin, RP1.GPIO.OUT) Rutime warning: this channel is already in use"
How I reset my password was, I pulled the SD card and edited /boot/cmdline.txt on my pc. Then added the line "init/bin/sh" at the end. Put the sd card back and booted up into root shell.
Used "Mount -o remount, rw /". Then "passwd pi" to reset my password. Then "sync" then "exec sbin/init"
Then I put the sd card back into my pc to change cmdline.txt back to its original state. And started my PI. That's when all this trouble started.
Also what's weird is that when I try to run my python script, although it says it will continue to run despite the GPIO error, it just sort of hangs and doesn't run, what the heck did I break?
How I reset my password was, I pulled the SD card and edited /boot/cmdline.txt on my pc. Then added the line "init/bin/sh" at the end. Put the sd card back and booted up into root shell.
Used "Mount -o remount, rw /". Then "passwd pi" to reset my password. Then "sync" then "exec sbin/init"
Then I put the sd card back into my pc to change cmdline.txt back to its original state. And started my PI. That's when all this trouble started.
Also what's weird is that when I try to run my python script, although it says it will continue to run despite the GPIO error, it just sort of hangs and doesn't run, what the heck did I break?
