Node Red (v1.1.1) plugin not loading anymore

Hi all

Recently, i tried adding 8 new node flows in my Node Red.
After that, i recieved the bellow error:

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

Now, Node Red is not loading at all anymore.

I read online that for the first error, this status could be reset by below commands, but how do i execute that in

  1. Open your Node-RED settings file (typically ~/.node-red/settings.js - but Node-RED logs the full path to the file it is using so you can check).

  2. Find the credentialSecret entry. Remove the // from the start of the line to uncomment it and then change the value (a-secret-key) to be whatever string you want to use to encrypt your credentials file. You will need to remember that value if you every want to move your flows to another machine (for example).

  3. Restart Node-RED. Done.

Thanks for the help already!

Every time i try to deploy something: i get the below error

Hi @gus, what is your server? Just to take a look.

I think you can do the modifications by using the terminal Shell. But backup the flows before any action!

My server:
But i cannot see the option for the shell:

@alvarolb : any idea how to resolve this + how i ran into this issue?

Hi @gus, you can access the shell from the “Plugins” Section → Installed → Node-RED → Shell → Connect

Hi @alvarolb

Can you also advice on the needed actions?

Here they say 'find the credentialsecret entry?
But i’m not sure how this needs to be done and if this is the right approach.


Gus… we must talk in some way.

Your current approach does not scale… or can be maintained. Why are you using a Node-red Flow over and over again for each bucket? The same approach cannot be used for all buckets? What are your requirements when processing a TTN bucket?

Hi, we setup a quick MVP, i know this cannot be scaled.
I have a ticket open: #1726 → you can reach out here?

Thanks for your input!