NEWS
History will mich net!
-
Ich wollte mal anfangen, Systemzustände zu loggen.
Aber irgendwie will History mich net.
Ich habe einen USB-Stick reingesteckt und in der Config-Seite als Speicherort /dva/sda1/ eingegeben.
Dabei kam das dann raus:host.rock64 2019-06-30 23:24:57.762 error instance system.adapter.history.0 terminated with code 0 (OK) host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: path: '/dev/sda1/history/' } host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: code: 'ENOTDIR', host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: syscall: 'mkdir', host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: errno: -20, host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:25) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:830:13) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:54) host.rock64 2019-06-30 23:24:57.760 error Caught by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5288:62) host.rock64 2019-06-30 23:24:57.760 error Caught by controller[0]: at Object.ready (/opt/iobroker/node_modules/iobroker.history/main.js:144:22) host.rock64 2019-06-30 23:24:57.760 error Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12) host.rock64 2019-06-30 23:24:57.759 error Caught by controller[0]: at Object.mkdirSync (fs.js:757:3) host.rock64 2019-06-30 23:24:57.759 error Caught by controller[0]: { Error: ENOTDIR: not a directory, mkdir '/dev/sda1/history/' host.rock64 2019-06-30 23:24:56.217 info instance system.adapter.history.0 started with pid 7129Dann wollte ich sudo mkdir /dev/sda1 machen, aber mein Rock64 erzählt mir, die Dateien existieren schon.
Hat jemand eine Idee?
Als System habe ich mal das Bild hier eingefügt:

Gruß,
Mathias -
Ich wollte mal anfangen, Systemzustände zu loggen.
Aber irgendwie will History mich net.
Ich habe einen USB-Stick reingesteckt und in der Config-Seite als Speicherort /dva/sda1/ eingegeben.
Dabei kam das dann raus:host.rock64 2019-06-30 23:24:57.762 error instance system.adapter.history.0 terminated with code 0 (OK) host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: path: '/dev/sda1/history/' } host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: code: 'ENOTDIR', host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: syscall: 'mkdir', host.rock64 2019-06-30 23:24:57.762 error Caught by controller[0]: errno: -20, host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:25) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:830:13) host.rock64 2019-06-30 23:24:57.761 error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:869:54) host.rock64 2019-06-30 23:24:57.760 error Caught by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5288:62) host.rock64 2019-06-30 23:24:57.760 error Caught by controller[0]: at Object.ready (/opt/iobroker/node_modules/iobroker.history/main.js:144:22) host.rock64 2019-06-30 23:24:57.760 error Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12) host.rock64 2019-06-30 23:24:57.759 error Caught by controller[0]: at Object.mkdirSync (fs.js:757:3) host.rock64 2019-06-30 23:24:57.759 error Caught by controller[0]: { Error: ENOTDIR: not a directory, mkdir '/dev/sda1/history/' host.rock64 2019-06-30 23:24:56.217 info instance system.adapter.history.0 started with pid 7129Dann wollte ich sudo mkdir /dev/sda1 machen, aber mein Rock64 erzählt mir, die Dateien existieren schon.
Hat jemand eine Idee?
Als System habe ich mal das Bild hier eingefügt:

Gruß,
Mathias@MathiasJ ja mit einfach reinstecken ist das aber nicht getan

https://linuxhint.com/how-to-mount-usb-drive-on-linux/ -
Hat der User iobroker überhaupt genügend Rechte auf '/dev/sda1/' ?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden