Probleme mit klein0r fhem-docker

Begonnen von ChrisW, 30 Januar 2019, 10:23:45

Vorheriges Thema - Nächstes Thema

ChrisW

Hallo,
ich nutze klein0r/fhem-docker Info: https://github.com/klein0r/fhem-docker

Irgendwie habe ich murks gemacht Fhem, mysql und mqtt laufen wunderbar. Fhem habe ich über DSM docker erhöhte rechte gegeben für USB.

Leider funktionieren die Container notered und habridge einfach nicht mehr richtig ..


Ich habe ebenfalls Portainer drauf. Ich habe nodered udn habridge gelöscht mit den volume dahinter.

Danach führe ich als SSH root auf der Diskstation wieder folgendes aus :
docker-compose up -d
Das klappt auch fhem bleibt und nodered + habridge werden Installiert. Leider habridge nicht im Netzwerk sondern als Host was dann Probleme mit dem Port 80 bringt ..
Ebenfalls habe ich beoi nodered usw. auch schreibfehler im Data ordner . Ich habe vorher die Dateien alles wieder wie hier https://github.com/klein0r/fhem-docker/tree/master/nodered/data aufgebaut. Also vorher die Dateien so reingepackt..

Jetzt die frage was kann da los sein ? Anfangs meine ich das es geklappt hat .. Nodered war ich im Webinterface und habridge habe ich im Log gesehen die Statusmeldungen von FHEM ..

Wie kann ich die folgenden Contaier grund auch neu Aufsetzen lassen OHNE das mit FHEM usw. nun etwas passiert ?


EDIT:
Habridge bricht ab weil es ein Host Containe rist und Port 80 schon von der Diskstation gebraucht wird ...

Nodered selbst mit hohen Rechten Fehler:
npm ERR! node v6.14.1,
npm ERR! npm  v3.10.10,
npm ERR! code ELIFECYCLE,
npm ERR! node-red-docker@1.0.0 start: `node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"`,
npm ERR! Exit status 1,,
,
npm ERR! Failed at the node-red-docker@1.0.0 start script 'node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"'.,
npm ERR! Make sure you have the latest version of node.js and npm installed.,
npm ERR! If you do, this is most likely a problem with the node-red-docker package,,
npm ERR! not with npm itself.,
npm ERR! Tell the author that this fails on your system:,
npm ERR!     node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data",
npm ERR! You can get information on how to open an issue for this project with:,
npm ERR!     npm bugs node-red-docker,
npm ERR! Or if that isn't available, you can get their info via:,
npm ERR!     npm owner ls node-red-docker,
npm ERR! There is likely additional logging output above.,
npm ERR! Linux 4.4.59+,
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" "--" "--userDir" "/data",
npm ERR! node v6.14.1,
npm ERR! npm  v3.10.10,
npm ERR! path npm-debug.log.896050243,
npm ERR! code EACCES,
npm ERR! errno -13,
npm ERR! syscall open,
,
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.896050243',
npm ERR!     at Error (native),
npm ERR!  { Error: EACCES: permission denied, open 'npm-debug.log.896050243',
npm ERR!     at Error (native),
npm ERR!   errno: -13,,
m ERR!   code: 'EACCES',,
npm ERR!   syscall: 'open',,
npm ERR!   path: 'npm-debug.log.896050243' },,
,
npm ERR! Please try running this command again as root/Administrator.,
,
npm ERR! Please include the following file with any support request:,
npm ERR!     /usr/src/node-red/npm-debug.log,
,
> node-red-docker@1.0.0 start /usr/src/node-red,
> node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data",
,,
2,
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);,
                 ^,
,
Error: EACCES: permission denied, open '/data/settings.js',
    at Error (native),
    at Object.fs.openSync (fs.js:642:18),
    at copyFileFallback (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:93:18),
    at copyFile (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:85:10),
    at onFile (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:58:12),
    at getStats (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:51:39),
    at startCopy (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:41:10),
    at Object.copySync (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:36:10),
    at Object.<anonymous> (/usr/src/node-red/node_modules/node-red/red.js:104:20),
    at Module._compile (module.js:577:32),
,
npm ERR! Linux 4.4.59+,
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" "--" "--userDir" "/data",
npm ERR! node v6.14.1,
npm ERR! npm  v3.10.10,
npm ERR! code ELIFECYCLE,
npm ERR! node-red-docker@1.0.0 start: `node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"`,
npm ERR! Exit status 1,,
,
npm ERR! Failed at the node-red-docker@1.0.0 start script 'node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"'.,
npm ERR! Make sure you have the latest version of node.js and npm installed.,
npm ERR! If you do, this is most likely a problem with the node-red-docker package,,
npm ERR! not with npm itself.,
npm ERR! Tell the author that this fails on your system:,
npm ERR!     node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data",
npm ERR! You can get information on how to open an issue for this project with:,
npm ERR!     npm bugs node-red-docker,
npm ERR! Or if that isn't available, you can get their info via:,
npm ERR!     npm owner ls node-red-docker,
npm ERR! There is likely additional logging output above.,
npm ERR! Linux 4.4.59+,
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" "--" "--userDir" "/data",
npm ERR! node v6.14.1,
npm ERR! npm  v3.10.10,
npm ERR! path npm-debug.log.896050243,
npm ERR! code EACCES,
npm ERR! errno -13,
npm ERR! syscall open,
,
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.896050243',
npm ERR!     at Error (native),
npm ERR!  { Error: EACCES: permission denied, open 'npm-debug.log.896050243',
npm ERR!     at Error (native),
npm ERR!   errno: -13,,
m ERR!   code: 'EACCES',,
npm ERR!   syscall: 'open',,
npm ERR!   path: 'npm-debug.log.896050243' },,
,
npm ERR! Please try running this command again as root/Administrator.,
,
npm ERR! Please include the following file with any support request:,
npm ERR!     /usr/src/node-red/npm-debug.log,
Raspberry PI3 mit allem möglichen.

Otto

Hi,

um zu sehen was beim Start passiert einfach nur docker-compose up

Ich kann auch gerne über deine yml Datei schauen, evt. gibt es ein Port Problem?
Gruss Otto

.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.

docker - homematic

CoolTux

Persönlich bin ich der Meinung das da der Herr Kleine doch bitte Support geben möge. Man kann bei Github Issues auf machen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net