NEWS
Slave nach Adapterupdate nicht mehr erreichbar [gelöst]
-
Moin, erstmal frohe Ostern euch allen!
Ich habe heute morgen irgendwie mein slave abgeschossen......
Und zwar habe ich oben im Admin bei Instanzen den Slave ausgewählt und dann hat er mir bei den Adaptern 2 Updates angezeigt. Admin und Backitup. Danach habe ich natürlich den Admin geupdatet und dann beim Backitup kam schon eine Fehlermeldung und der slave war nicht mehr erreichbar.Per ssh habe ich normal zugriff. Kann man das noch irgendwie retten?
Das habe ich bisher gemacht:
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Apr 17 10:45:32 2022 from 192.168.1.120 pi@iobroker-slave-wp:~ $ iobroker start sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt pi@iobroker-slave-wp:~ $ iobroker fix library: loaded Library version=2022-02-10 ioBroker is not installed in /opt/iobroker! Cannot fix anything... pi@iobroker-slave-wp:~ $ curl -sL https://iobroker.net/fix.sh | bash - library: loaded Library version=2022-02-10 ioBroker is not installed in /opt/iobroker! Cannot fix anything... pi@iobroker-slave-wp:~ $ cd /opt/iobroker pi@iobroker-slave-wp:/opt/iobroker $ iobroker multihost connect sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@iobroker-slave-wp:/opt/iobroker $ sudo iobroker stop sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt pi@iobroker-slave-wp:/opt/iobroker $ iobroker stop sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt pi@iobroker-slave-wp:/opt/iobroker $ npm cache clean sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-04-17T08_59_59_304Z-debug.log pi@iobroker-slave-wp:/opt/iobroker $ sudo npm install iobroker --unsafe-perm sudo: Hostname iobroker-slave-wp kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker > node lib/checkVersions.js NPM version: 6.14.16 > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker > node lib/install.js ╭─────────────────────────────────────────────────────────╮ │ │ │ Manual installation of ioBroker is no longer supported │ │ on Linux, OSX and FreeBSD! │ │ Please refer to the documentation on how to install it! │ │ https://github.com/ioBroker/ioBroker/wiki/Installation │ │ │ ╰─────────────────────────────────────────────────────────╯ npm ERR! code ELIFECYCLE npm ERR! errno 100 npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js` npm ERR! Exit status 100 npm ERR! npm ERR! Failed at the iobroker@2.0.3 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-04-17T09_01_04_527Z-debug.log pi@iobroker-slave-wp:/opt/iobroker $
-
Hat sich erledigt, ich habe den ioBroker Installer drüber laufen lassen. Danach lief alles wieder.