NEWS
Nach Einspielen von Backup bleiben alle Instanzen rot…
-
und ich sehe in der Konfiguration der Instanzen: File index_m.html not found
Folgende Hardware:
Intel Nuc Nt-535 mit 320GB HDD und Debian 9.0 Installation. Neu aufgesetzter ioBroker und viele Adapter und Objekte.
Ich will die 320GB HDD gegen eine 120GB SSD tauschen.
Leider bin ich nicht der Linuxkönig und finde keine vernünftigen Anleitungen, die Platte einfach auf die SSD zu klonen.
Also habe ich ein Backup gemacht im Verzeichnis backups.
Dann die 120GB SSD eingebaut und auf gleichem Wege Debian und ioBroker installiert. Dann das Verzeichnis backups angelegt und das Backup zurück geholt. Dann mit sudo iobroker restore 0 zurück geschrieben. Wenn ich dann in die Weboberfläche gehe, dann werden einge der Instanzen grün, aber es bleiben
harmony.0
alexa2.0
info.0 und
backitup.0 rot. In der Konfiguration dieser 4 Adapter steht dann File index_m.html not found.
Im Log kommt z.B. unter telegram der beunruhigende Fehler:
telegram.0 2018-10-10 01:15:16.289 error polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
Kann mir jemand sagen, was da schief läuft? Ist das gezogene Backup defekt oder kann man gar nicht von der HDD ein Backup auf der SSD zurück spielen (was ich schlicht nicht glauben kann).
Kann wer helfen? Habe das jetzt drei mal neu aufgesetzt (fast 8 Stunden Arbeit), aber es bleibt mistig.
Danke Jo
-
Doch, vom Prinzip her passt das so. Du kannst jedoch Daten von Node-Red, History-Adapter oder vis verlieren, wenn Du nur restore 0 machst.
Ich gehe davon aus, dass ioBroker die grünen Adapter selbst nachinstalliert hat. Wie lange hast Du auf die roten gewartet? Das kann durchaus > 30min dauern, bis die nachinstalliert werden. Geduld.
Was sagt das Log zu den roten? Gab es zu denen schon Installationsmeldungen?
-
Ok, ich sollte mich in Geduld üben. Inzwischen sind die Adapter tatsächlich alle grün.
Im Log spinnt Telegram weiter mit:
telegram.1 2018-10-10 01:39:02.724 error polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
telegram.0 2018-10-10 01:38:58.320 error polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
telegram.1 2018-10-10 01:38:55.973 error polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
telegram.0 2018-10-10 01:38:51.558 error polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
telegram.1 2018-10-10 01:38:48.998 error polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
Der Versuch, harmony zu installieren bringt das:
Fertig mit Fehler: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
$ ./iobroker add harmony –host debianioBroker
NPM version: 4.6.1
npm install iobroker.harmony --production --save --prefix "/opt/iobroker" (System call)
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
npm WARN
addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29
npm WARN addRemoteGit
at FSReqWrap.oncomplete (fs.js:152:21)npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cd ... ltx-parser resetting remote /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: git
npm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
npm WARN
addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
npm WARN addRemoteGit
at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOGIT' }
npm
ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
npm
WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>
npm ERR! code ENOGIT
npm ERR! not found: gitnpm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-10-09T23_37_04_339Z-debug.log
host.debianioBroker create instance harmony
ERROR: host.debianioBroker error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
ERROR: process exited with code 20
-
Na, die Fehlermeldung ENOGIT sagt doch alles. [emoji56]
GIT fehlt.
sudo apt-get install build-essential gitin der Kommandozeile und dann noch mal die Installation von Harmony anstoßen.
-
Hallo,
das Problem konnte teilweise gelöst werden. Fast schon peinlich zu sagen, dass ich nach dem Wechseln eines Zigbee-USB-Moduls und Neutart beider Maschinen plötzlich zwei Broker laufen hatte. Dies löste das Telegram-Problem.
Das mit Git hatte ich dann auch gesehen, nachinstalliert und versucht Harmony zu installieren. Das gelingt auch teilweise. der Adpater startet und wird auch grün. Aber im Konfigurationsreiter wird nach wie vor angezeigt: File index.html not found
Noch eine gute Idee, woher das kommen kann.