I'm looking on google too, but this is weird.....
Story:
I have updated two machines recently (both "remote" machines) and they worked. Though one did lose all its flows. But all the same, they worked.
Today I updated another machine. It is a remote machine.
Before doing it, I backed up the *.j* files from the .node-red directory (Ras Pi)
It updated. Good.
The flow seems to be working as I am getting telemetry from it.
I load the node red web page and get the error in the subject.
(Full error:
Flows stopped as the credentials could not be decrypted.
The flow credential file is encrypted, but the project's encryption key is missing or invalid)
The files copied are plain text. I can cat them with no problem.
When I click on the requester I get a credential set up window.
(See attached)
But what was shown to "set up credentials" and the screen given are ..... not the same.
The new screen is "project settings" and doesn't really mention credentials.
Extra:
After the update I ran the node-red-start and got this:
Start Node-RED
Once Node-RED has started, point a browser at
http://192.168.0.93:1880On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to
http://flows.nodered.org Starting as a systemd service.
Started Node-RED graphical event wiring tool..
4 May 08:30:32 - [info]
Welcome to Node-RED
===================
4 May 08:30:32 - [info] Node-RED version: v0.18.4
4 May 08:30:32 - [info] Node.js version: v8.11.1
4 May 08:30:32 - [info] Linux 4.9.52+ arm LE
4 May 08:30:40 - [info] Loading palette nodes
4 May 08:30:57 - [info] Dashboard version 2.5.0 started at /ui
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named neopixel
4 May 08:31:03 - [warn] ------------------------------------------------------
4 May 08:31:03 - [warn] [node-red-contrib-gpio/gpio] Error: The module '/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
4 May 08:31:03 - [warn] [node-red-node-serialport/serialport] Error: The module '/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
4 May 08:31:03 - [warn] [node-red-node-pi-neopixel/rpi-neopixels] Error: Command failed: python -c "import neopixel"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named neopixel
(line:18)
4 May 08:31:03 - [warn] ------------------------------------------------------
4 May 08:31:03 - [info] Settings file : /home/pi/.node-red/settings.js
4 May 08:31:03 - [info] User directory : /home/pi/.node-red
4 May 08:31:03 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
4 May 08:31:03 - [info] Flows file : /home/pi/.node-red/flows_TelePi.json
4 May 08:31:03 - [info] Server now running at
http://127.0.0.1:1880/4 May 08:31:04 - [warn] Error loading credentials: SyntaxError: Unexpected token L in JSON at position 0
4 May 08:31:04 - [warn] Error loading flows: Error: Failed to decrypt credentials
^C
Where it says:
4 May 08:31:03 - [info] Settings file : /home/pi/.node-red/settings.js
4 May 08:31:03 - [info] User directory : /home/pi/.node-red
4 May 08:31:03 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
I went into settings.js and searched for "editorTheme.projects"
Not found.
Errr, ok. I'm stuck.
BTW:
The original flow seems to be working.
I am still getting telemetry from the machine.