Recovering flows from console?

I have created an inadvertent loop running in node-red that is maxing out the cpu well, yes it's a pi one..

SSH still working, just so disabled node-red

Can I recover the flows.json file, and is it possible to restart node-red with flows disabled.?

And I do have a backup..

Use node-red-stop to ensure it’s stopped. Then from the command line run node-red —safe to start but not run. Then you should be able to edit and fix your flow before deploying again to restart.

Really helpful reply much appreciated, I did have a Google about first,

Thanks Aidan

PS - the flows file should be in your ~/.node-red directory - along with the credentials file ...creds.json and one level of backup - as hidden files .. use ls -a to see them

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.