HOW TO LOSE YOUR WORK: git project style

If you use the new Git?project BEWARE! Make sure you have backups.

After all the repeated nagging by the UI I decided to create a project last night.
I created a project but quickly gave up because of the lack of documentation and non intuitive interface.

This afternoon I glanced at my home console to find it reset to the default ui-builder page.
Opening the node-red control panel confirms it has completely removed all my local files.
It didn't just overwrite the default files, it removed the svg's and images that I added.

Who thought it was a good idea that opening the control panel should do a silent deploy to production? I'm really struggling to avoid four letter words here.

How do I opt out of the node-red console auto updates?
This update was ill thought out and botched.

Hi @jsprenkle

The projects mode would only be enabled if you turned it on in your settings file.

If you disable it again and restart Node-RED, then it will go back to using the flows file in your .node-red directory which should be what you had before you tried creating the project

1 Like

Thank you.

Instructions for reset:

Login to your node-red server.

For linux:
sudo vi /home/you/.node-red/settings.js

Search for:

        projects: {
            /** To enable the Projects feature, set this value to true */
            enabled: false,
            workflow: {
                /** Set the default projects workflow mode.
                 *  - manual - you must manually commit changes
                 *  - auto - changes are automatically committed
                 * This can be overridden per-user from the 'Git config'
                 * section of 'User Settings' within the editor
                 */
                mode: "manual"
            }
        },

Change the "enabled" option and reboot

1 Like