NEWS
iobroker startet nicht mehr
-
@thomas-braun
Das hört sich gut an. Und du denkst, ioBroker startet jetzt wieder? Trau mich fast nicht...@bfm
Der Befehl den js-controller sauber zu installieren ist:cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller -
@bfm
Der Befehl den js-controller sauber zu installieren ist:cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controllernpm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-06T10_43_39_320Z-debug.logIch glaube, da ist ganz schön viel im argen...
-
npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-06T10_43_39_320Z-debug.logIch glaube, da ist ganz schön viel im argen...
@bfm sagte in iobroker startet nicht mehr:
Ich glaube, da ist ganz schön viel im argen...
Glaube ich auch. Die ganzen versteckten Odner mit Punkt am Anfang habe ich bei mir in der Installation auch gar nicht.
-
@bfm
Versuch halt mal.
Backup hast du ja in der Hinterhand. -
Habe das Backup gerade probiert. Leider ohne Erfolg
technikkram@tinkerboard:/opt/iobroker$ sudo iobroker restore 0 [sudo] password for technikkram: node:internal/modules/cjs/loader:944 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15) at Function.Module._load (node:internal/modules/cjs/loader:774:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }Das wird langsam echt komisch
-
Habe das Backup gerade probiert. Leider ohne Erfolg
technikkram@tinkerboard:/opt/iobroker$ sudo iobroker restore 0 [sudo] password for technikkram: node:internal/modules/cjs/loader:944 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15) at Function.Module._load (node:internal/modules/cjs/loader:774:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }Das wird langsam echt komisch
@bfm
Das macht man auch mit dem Backup Adapter, weils einfach einfacher ist ;)
Und wenn der JS wie bei Dir nicht mehr will, dann löscht man den IOBroker Ordner, installiert IOBroker samt Backitup Adapter neu und restort dann, weil das auf alle Fälle wieder alles gerade zieht. -
Auch auf die Gefahr hin dass ich gelyncht werde... Gibts ne Erklärung für Dummies?:confounded:
-
Das mit den Backups rauskopieren macht Sinn!
Leider habe ich ioBroker noch nicht installiert. War bei mir fertig mit im Image drin. Aber ich denke, da wird mit Tante Google sicher helfen@bfm
Und man packt iobroker nicht mit sudo an. -
Das mit den Backups rauskopieren macht Sinn!
Leider habe ich ioBroker noch nicht installiert. War bei mir fertig mit im Image drin. Aber ich denke, da wird mit Tante Google sicher helfen@bfm
Ein Blick oben in die Doku und den einen Befehl, dazu brauchst nicht mal Tante Google ;)https://www.iobroker.net/#de/documentation/install/windows.md
Das mit Node kannst auch vergessen, da IOBroker automatisch Node12 installiert. Es sei denn Du hast da vorher schon was zerfummelt.
-
Das mit sudo werde ich beherzigen ;-). Und ich mach ersma ne Pause. Bei mir scheitert es ja schon am kopieren meiner backups. Vielleicht sollte ich ersma ein Bierchen trinken.
-
@jan1
Ach ja stimmt! Bei uns sagt man: Vater und Mutter so gescheite Leute und der Bub wie ein Depp!
Ich habe es kopiert ;-) -
technikkram@tinkerboard:/opt/iobroker$ npm install iobroker [sudo] password for technikkram: npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-06T15_19_17_362Z-debug.log technikkram@tinkerboard:/opt/iobroker$ich werd wahnsinnig!
-
technikkram@tinkerboard:/opt/iobroker$ npm install iobroker [sudo] password for technikkram: npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-06-06T15_19_17_362Z-debug.log technikkram@tinkerboard:/opt/iobroker$ich werd wahnsinnig!
@bfm Das macht man ja auch nicht so.
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller -
@bfm Das macht man ja auch nicht so.
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@thomas-braun
Was auch genau so in der Doku steht die ich verlinkt hatte, bevor er die auch nicht findet -
Sorry Leute. Aber ich habe iobroker jetzt so installiert:
curl -sLf https://iobroker.net/install.sh | bash -Ist auch sauber durchgelaufen.
Habe dann mal den Status abgefragt (nachdem ich nicht draufgekommen bin im Browser). Folgendes kam heraus:technikkram@tinkerboard:/opt/iobroker$ iobroker status node:internal/modules/cjs/loader:944 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15) at Function.Module._load (node:internal/modules/cjs/loader:774:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } technikkram@tinkerboard:/opt/iobroker$