ERROR: Invalid settings.palette.nodesExcludes When trying to enable persistent file storage node in docker
- Dominant language
- JavaScript
- Stars
- 400
- Forks
- 89
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 149
Description
### Current Behavior
Running docker instance of flowforge by following the procedure outlined here -
https://github.com/flowforge/flowforge/blob/main/docs/install/docker/README.md
I have it up and running successfully and I can deploy instances no problem.
I had my flowforge instance updated from a community license to an enterprise license, and I wanted access to the flowforge specific nodes, one of those being the persistent storage node. So I followed the steps in handbook here -
https://flowforge.com/docs/user/filenodes/#enabling-persistent-file-storage
I modified the default template to allow the ability to exclude nodes by filename so I could exclude `10-file-js` as described in the handbook.
### Expected Behavior
When checking the box I shouldn't get an error, and I should have access to the flowforge persistent file storage node.
### Steps To Reproduce
I suspended the instance, went to the instance pallet settings and added `10-file-js` to "exclude nodes by filename.
I got this message

Here is the stacktrace of the error provided by the docker container log -
`[2023-06-13T17:17:40.017Z] ERROR: Invalid settings.palette.nodesExcludes {"reqId":"req-4g","req":{"method":"PUT","url":"/api/v1/projects/afcedd68-20a8-42f0-be48-ac36aaca0a33","hostname":"forge.alvesmeyer.com","remoteAddress":"71.52.23.83","remotePort":52976},"res":{"statusCode":500}}
err: {
"type": "Error",
"message": "Invalid settings.palette.nodesExcludes",
"stack":
Error: Invalid settings.palette.nodesExcludes
at Object.validateSettings (/usr/src/forge/app/node_modules/@flowforge/flowforge/forge/db/controllers/ProjectTemplate.js:131:35)
at Object. (/usr/src/forge/app/node_modules/@flowforge/flowforge/forge/routes/api/project.js:433:68)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
}`
### Environment
- FlowForge version: 1.6.1
- Node.js version: 16.20.0
- npm version: 8.19.4
- Platform/OS: docker
- Browser: chrome
### Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Contributor guide
Assessment
This issue has not been assessed yet.