NEWS
[gelöst] iobroker offline nach admin update
-
Cache vom Browser geleert?
Mal F5 gedrückt nach der IP:8081 Eingabe? -
tut sich leider auch nix
-
Hm. Also das ist heavy.
Bleibt noch in dem Pfad /opt/iobroker
ein
npm rebuild -
am Ende wird das hier angezeigt.
╭────────────────────────────────────────────────────────────────╮
│ │
│ New patch version of npm available! 6.13.4 → 6.13.7 │
│ Changelog: https://github.com/npm/cli/releases/tag/v6.13.7 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯ -
genau das machst du
npm install -g npm -
@haselchen sagte in iobroker nicht mehr erreichbar nach admin update:
npm install -g npm
npm install -g npm npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/bin-links npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/env-paths npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/get-caller-file npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/invert-kv npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/lcid npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mimic-fn npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/nopt npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/semver npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mem npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/os-locale npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/pacote npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/yargs npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/libnpx npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/lib/node_modules/npm/node_modules/bin-links npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links' npm ERR! { [Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/bin-links\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/lib/node_modules/npm/node_modules/bin-links' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/juju/.npm/_logs/2020-01-29T22_36_52_146Z-debug.log
muss ich das mit sudo ausführen?
-
wäre meine nächste idee gewesen
Den Befehl aber nicht im iobroker verzeichnis eingeben
sondern im hauptverzeichnis vom PI -
mit sudo
sudo npm install -g npm [sudo] Passwort für juju: /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js + npm@6.13.7 added 7 packages from 3 contributors, removed 3 packages and updated 12 packages in 62.708s
jetzt zeigt er mir admin.0 als alive!
- system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
-
@haselchen sagte in iobroker nicht mehr erreichbar nach admin update:
wäre meine nächste idee gewesen
Den Befehl aber nicht im iobroker verzeichnis eingeben
sondern im hauptverzeichnis vom PIoh das Mist ich habe es im Biobroker Verzeichnis gemacht! Hab das völlig überlesen!
-
@JRiddim
Wiederhol es einfach im Hauptverzeichnis nochmal.
Bitte sag das es jetzt funktioniert -
also einfach cd eingeben und anschließend
sudo npm install -g npm? richtig oder?
Tut mir leid ist schon der dritte Abend in Folge und langsam schwinden die Kräfte
-
genau. mit cd ins hauptverzeichnis und dann nochmal den befehl eingeben.
erstmal ohne sudo. -
installation ging nur mit sudo wieder! Jetzt wird die Instanz wieder als nicht alive angezeigt.
-
Mir fällt nur noch ein den Admin downzugraden
cd /opt/iobroker
iobroker stop
npm install iobroker.admin.0@3.7.2 --production
iobroker start oder restart (versuch erst start) -
@haselchen sagte in iobroker nicht mehr erreichbar nach admin update:
npm install iobroker.admin.0@3.7.2 --production
npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/iobroker.admin.0 - Not found npm ERR! 404 npm ERR! 404 'iobroker.admin.0@3.7.2' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-01-29T23_00_25_012Z-debug.log
sowohl als auch mit und ohne sudo
-
lass mal den punkt und die 0 weg.
npm install iobroker.admin@3.7.2 --productionhilft das auch nicht, dann ein letzter versuch:
cd /opt/iobroker
sudo npm cache clean
sudo iobroker stop
sudo npm install iobroker.admin
sudo iobroker start
-
@haselchen sagte in iobroker nicht mehr erreichbar nach admin update:
npm install iobroker.admin@3.7.2 --production
npm install iobroker.admin@3.7.2 --production npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.admin@3.7.2 updated 1 package in 23.061s 19 packages are looking for funding run `npm fund` for details
-
und nun nach
iobroker start admin.0 (oder iobroker restart)
wie sieht es aus, kommste auf die oberfläche? -
@haselchen sagte in iobroker nicht mehr erreichbar nach admin update:
iobroker start admin.0
system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.admin.1 : admin - enabled, port: 8089, bind: 0.0.0.0, run as: adminwas mich nur wundert. Auf die Ports 8082, 8088, auf die ich komme ist eine ip hinterlegt nicht so wie bei den admin Instanzen?
-
So jetzt das Finale.
Das hatte ich gestern auch.
Also.... das gibst du jetzt einsudo iobroker del admin.0
sudo iobroker del admin.1
sudo iobroker add admin.0