Replies: 2 comments
-
|
You are using a third party template file. It seems to be using the yaml below which requires a specific folder structure to exist on the host. I've changed the stack using the Editor in Portainer to the below and it works |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
you could also fix the issue by doing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ask a Question!
Hi,
I installed portainer on a fresh raspberrypi-4 with OS-bullseye. Everything went well. With the information on https://portainer-templates.as93.net i installed a couple of containers. All are running.

I tried to setup Node-red and followed the steps on https://portainer-templates.as93.net/nodered. Steps 4 "Head to Home → App Templates", and the list of apps will show up. Step 5 "Select the app you wish to deploy, fill in any config options, and hit Deploy" is a little more difficult. You have to "Copy as Custom", so i did.
I gave the template a title and description, choose "web-editor" and did not change anything to the docker compose file and pushed the button "create custom template". I pushed the button "deploy the stack". After a while "nodered"appeared in the stacks list, but was not running.
node:internal/fs/utils:347 the log file: throw err; ^ Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js' at Object.copyFileSync (node:fs:2847:3) at copyFile (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:73:6) at onFile (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:59:25) at getStats (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:51:44) at handleFilterAndCopy (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:36:10) at Object.copySync (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:29:10) at Object.<anonymous> (/usr/src/node-red/node_modules/node-red/red.js:129:20) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Module.load (node:internal/modules/cjs/loader:1076:32) { errno: -13, syscall: 'copyfile', code: 'EACCES', path: '/usr/src/node-red/node_modules/node-red/settings.js', dest: '/data/settings.js' }I think i followed all steps, but.....
Can anyone help to solved this problem?
Thanks
Paul
Beta Was this translation helpful? Give feedback.
All reactions