fragolinux / dockeriot Goto Github PK
View Code? Open in Web Editor NEWA collection of Docker scripts to setup a complete IOT development platform
A collection of Docker scripts to setup a complete IOT development platform
I am getting the following error, although I run DockerIOT under root. Did I miss something in the readme?
nodered | Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js'
nodered | at Object.copyFileSync (node:fs:2847:3)
nodered | at copyFile (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:64:6)
nodered | at onFile (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:50:25)
nodered | at getStats (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:42:44)
nodered | at Object.copySync (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:32:10)
nodered | at Object.<anonymous> (/usr/src/node-red/node_modules/node-red/red.js:129:20)
nodered | at Module._compile (node:internal/modules/cjs/loader:1198:14)
nodered | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
nodered | at Module.load (node:internal/modules/cjs/loader:1076:32)
nodered | at Function.Module._load (node:internal/modules/cjs/loader:911:12) {
nodered | errno: -13,
nodered | syscall: 'copyfile',
nodered | code: 'EACCES',
nodered | path: '/usr/src/node-red/node_modules/node-red/settings.js',
nodered | dest: '/data/settings.js'
nodered | }
nodered | node:internal/fs/utils:347
nodered | throw err;
nodered | ^
nodered |
nodered | Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js'
nodered | at Object.copyFileSync (node:fs:2847:3)
nodered | at copyFile (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:64:6)
nodered | at onFile (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:50:25)
nodered | at getStats (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:42:44)
nodered | at Object.copySync (/usr/src/node-red/node_modules/fs-extra/lib/copy/copy-sync.js:32:10)
nodered | at Object.<anonymous> (/usr/src/node-red/node_modules/node-red/red.js:129:20)
nodered | at Module._compile (node:internal/modules/cjs/loader:1198:14)
nodered | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
nodered | at Module.load (node:internal/modules/cjs/loader:1076:32)
nodered | at Function.Module._load (node:internal/modules/cjs/loader:911:12) {
nodered | errno: -13,
nodered | syscall: 'copyfile',
nodered | code: 'EACCES',
nodered | path: '/usr/src/node-red/node_modules/node-red/settings.js',
nodered | dest: '/data/settings.js'
nodered | }
root@raspberrypi:DockerIOT:12:54[0]>
Hi,
I just found a link to Peter Scargill's script and as I liked to get a similar setup on docker environments because of the flexibility, ease of use and ease of upgrade. Looking around if someone has done this already I found this project and wonder if there is a chance to contribute. I'm using docker/docker-compose already since almost 2 years and thus have some humble on hand experience.
A useful an low hanging fruit could be to use real (not self-signed) certificates with traefik and LetsEncrypt and I'm looking for some starter information to accelerate the bigin of using DockerIOT.
Is there a chance to get a short description what id the fast-start of these artefacts to get a default working environment to add my adaptions?
One of the issues with traeffik is that it normally uses a acme.json file to store all the certificates, but if used in the containers als well they might be extracted and provided in the "normal way" wir CER and PEM files.
Regards
Detlef
With Nodered “influxdb out” node I get “HttpError: unauthorized access”
In the node :
URL : http://host:8086/
Token : “all access” generated on http://”host”:8086/org from an other computer
If I try with the container ip address of influxdb (172.25.0.2) I get “RequestTimedOutError: Request timed out”
No trouble with nodered and mosquito (with “host”)
What may be wrong ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.