Hallo Bluefox
Bei mir ist heute auch wohl was schief gelaufen als ich den Admin upgedatet habe. Über das Webinterface ging es nicht; also hab ich auf der Console folgendes eingegeben:
root@bananapi:/opt/iobroker# iobroker stop
Stopping iobroker controller daemon...
iobroker controller daemon stopped.
Exit code for "killall.sh": 123
root@bananapi:/opt/iobroker# iobroker upgrade admin
npm install iobroker.admin --production --prefix "/opt/iobroker" (System call)
npm ERR! tar.unpack untar error /root/.npm/raw-body/2.1.6/package.tgz
npm ERR! Linux 3.4.109-banana
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.adm in" "--production" "--prefix" "/opt/iobroker"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
npm ERR! invalid tar file
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log
host.bananapi Cannot install iobroker.admin: 1
root@bananapi:/opt/iobroker#</https:>
Ich habe dann gegoogelt und gefunden, dass man den js-controller updaten soll.
Das sah dann so aus:
root@bananapi:/opt/iobroker# cd /opt/iobroker
root@bananapi:/opt/iobroker# ./iobroker stop
iobroker controller daemon is not running
root@bananapi:/opt/iobroker# npm install iobroker.js-controller
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fai l on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possibl e.
npm ERR! tar.unpack untar error /root/.npm/raw-body/2.1.6/package.tgz
npm WARN optional dep failed, continuing iobroker.admin@1.0.2
> iobroker.js-controller@0.8.7 install /opt/iobroker/node_modules/iobroker.js-controller
> node lib/setup.js setup first
npm WARN unmet dependency /opt/iobroker/node_modules/iobroker.js-controller/node_modules/iobroker.admin/node_modules/body-parser/node_modules/raw-body requires bytes@'2.3.0' but will load
npm WARN unmet dependency /opt/iobroker/node_modules/iobroker.js-controller/node_modules/iobroker.admin/node_modules/body-parser/node_modules/bytes,
npm WARN unmet dependency which is version 2.2.0
iobroker.js-controller@0.8.7 node_modules/iobroker.js-controller
├── daemonize2@0.4.2
├── mime@1.3.4
├── ncp@2.0.0
├── node.extend@1.1.5 (is@3.1.0)
├── adm-zip@0.4.7
├── semver@4.3.6
├── node-schedule@1.0.0 (long-timeout@0.0.2, cron-parser@1.1.0)
├── yargs@3.32.0 (decamelize@1.2.0, camelcase@2.1.1, y18n@3.2.1, window-size@0.1.4, cliui@3.2.0, string-width@1.0.1, os-locale@1.4.0)
├── socket.io@1.4.5 (has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, engine.io@1.6.8, socket.io-adapter@0.4.0)
├── winston@1.1.2 (cycle@1.0.3, stack-trace@0.0.9, isstream@0.1.2, eyes@0.1.8, pkginfo@0.3.1, async@1.0.0, colors@1.0.3)
├── socket.io-client@1.4.5 (to-array@0.1.4, component-emitter@1.2.0, component-bind@1.0.0, indexof@0.0.1, backo2@1.0.2, object-component@0.0.3, has-binary@0.1.7, debug@2.2.0, parseuri@0.0.4, socket.io-parser@2.2.6, engine.io-client@1.6.8)
├── tar.gz@0.1.1 (commander@1.1.1, tar@0.1.20, fstream@0.1.31)
├── prompt@0.2.14 (revalidator@0.1.8, pkginfo@0.4.0, read@1.0.7, utile@0.2.1, winston@0.8.3)
├── request@2.72.0 (is-typedarray@1.0.0, aws-sign2@0.6.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.5, tunnel-agent@0.4.2, oauth-sign@0.8.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, node-uuid@1.4.7, combined-stream@1.0.5, qs@6.1.0, aws4@1.3.2, mime-types@2.1.10, tough-cookie@2.2.2, form-data@1.0.0-rc4, bl@1.1.2, har-validator@2.0.6, http-signature@1.1.1, hawk@3.1.3)
└── npm@2.15.3
root@bananapi:/opt/iobroker# ./iobroker start
Hat also auch irgendwie nicht richtig geklappt.
Bevor ich jetzt noch andere Befehle eingebe, die ev. noch mehr kaputt machen, wollte ich lieber erstmal Deine Meinung zu dem Problem hören
Gruss Ralf