Node-RED Projects will not start

I have a rpi that I can't get project to load. I have enabled projects in settings.js

        projects: {
            /** To enable the Projects feature, set this value to true */
            enabled: true,
            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: "auto"
            }
        },

Here is the boot info..

Aug 30 21:09:58 svarcDashboard Node-RED[413]: 30 Aug 21:09:58 - [info] Node-RED version: v4.0.2
Aug 30 21:09:58 svarcDashboard Node-RED[413]: 30 Aug 21:09:58 - [info] Node.js  version: v20.17.0
Aug 30 21:09:58 svarcDashboard Node-RED[413]: 30 Aug 21:09:58 - [info] Linux 6.6.31+rpt-rpi-v8 arm64 LE
Aug 30 21:09:58 svarcDashboard Node-RED[413]: 30 Aug 21:09:58 - [info] Loading palette nodes
Aug 30 21:10:02 svarcDashboard Node-RED[413]: 30 Aug 21:10:02 - [info] Dashboard version 3.6.5 started at /
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [info] Settings file  : /home/nodered/.node-red/settings.js
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [info] HTTP Static    : /home/nodered/Images > /
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [info] Context store  : 'default' [module=memory]
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [info] User directory : /home/nodered/.node-red
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [warn] Projects disabled : editorTheme.projects.enabled=false
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [info] Flows file     : /home/nodered/.node-red/flows.json
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [info] Server now running at http://127.0.0.1:1880/w4rkc/
Aug 30 21:10:03 svarcDashboard Node-RED[413]: 30 Aug 21:10:03 - [warn]

I also have git and ssh-keygen loaded as well. I even went so far and created a ~/.node-red/projects directory. Any ideas appreciated.

Regards,
Mick

Hi Mick, could you open /home/nodered/.node-red/settings.js and double check editorTheme > projects > enabled is definitely true then restart node-red

Steve, yes it is set correctly.

    projects: {
        /** To enable the Projects feature, set this value to true */
        enabled: true,
        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: auto
        }
    },

It still shows false in the logs

31 Aug 04:37:04 - [warn] Projects disabled : editorTheme.projects.enabled=false

I have even tried putting quotes and removing qoutes around the the definitions.

I figured out the issue. I had 2 copies of Node-RED in my dir structure and was editing the wrong copy. It now shows...

31 Aug 05:08:19 - [info] Projects directory: /home/nodered/.node-red/projects

Thanks

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