NEWS
Umzug von PI auf NUC (Adapter Installations Problem)
-
Hallo IoBrokers!
Ich brauche mal wieder eure Hilfe.
Ich habe meine IoBroker Installation vom Raspi auf ein NUC (Ubuntu Server) umziehen lassen.
Von Backup eingespielt, angepasst, fast fertig. :(
Funktioniert alles bis auf die Kleinigkeit, dass sich keine neuen Adapter installieren lassen.
Die Rechte im /opt/iobroker/….. sind schon testhalber auf 777. Daran kann es also nicht mehr liegen.
Folgender Fehler kommt immer, egal welcher Adapter installiert werden soll.
iobroker 2017-11-06 18:34:50.691 info exit 13 iobroker 2017-11-06 18:34:50.684 error host.SmartHome Cannot install radar iobroker 2017-11-06 18:34:50.684 info host.SmartHome install adapter radar iobroker 2017-11-06 18:34:50.661 info npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log iobroker 2017-11-06 18:34:50.661 info iobroker 2017-11-06 18:34:50.504 info npm ERR! iobroker 2017-11-06 18:34:50.504 info npm ERR! If you need help, you may report this error at: iobroker 2017-11-06 18:34:50.504 info npm ERR! iobroker 2017-11-06 18:34:50.504 info npm ERR! version not found: iobroker.scriptgui@0.8.9 iobroker 2017-11-06 18:34:50.504 info npm ERR! node v6.11.4npm ERR! npm v3.5.2 iobroker 2017-11-06 18:34:50.501 info ERR! Linux 4.13.0-16-genericnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.radar" "--production" "--prefix" "/opt/iobroker" iobroker 2017-11-06 18:34:50.501 info npm iobroker 2017-11-06 18:34:50.493 info WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vuplus/package.json' iobroker 2017-11-06 18:34:50.493 info npm iobroker 2017-11-06 18:34:50.490 info WARN notsup Not compatible with your operating system or architecture: xpc-connection@0.1.4 iobroker 2017-11-06 18:34:50.489 info npm iobroker 2017-11-06 18:34:50.486 info WARN optional Skipping failed optional dependency /noble/xpc-connection: iobroker 2017-11-06 18:34:50.485 info npm iobroker 2017-11-06 18:34:42.953 info ERR! unpack Could not read data for iobroker.scriptgui@0.8.9 iobroker 2017-11-06 18:34:42.953 info iobroker 2017-11-06 18:34:42.950 info npm iobroker 2017-11-06 18:34:05.067 info npm install iobroker.radar --production --prefix "/opt/iobroker" (System call) iobroker 2017-11-06 18:34:05.009 info host.SmartHome install adapter radar iobroker 2017-11-06 18:34:04.987 info npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log iobroker 2017-11-06 18:34:04.986 info iobroker 2017-11-06 18:34:04.879 info npm ERR! If you need help, you may report this error at:npm ERR! iobroker 2017-11-06 18:34:04.876 info npm ERR! version not found: iobroker.scriptgui@0.8.9npm ERR! iobroker 2017-11-06 18:34:04.875 info npm v3.5.2 iobroker 2017-11-06 18:34:04.875 info npm ERR! iobroker 2017-11-06 18:34:04.875 info npm ERR! node v6.11.4 iobroker 2017-11-06 18:34:04.875 info ERR! Linux 4.13.0-16-genericnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.radar" "--production" "--prefix" "/opt/iobroker" iobroker 2017-11-06 18:34:04.874 info npm iobroker 2017-11-06 18:34:04.867 info WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vuplus/package.json' iobroker 2017-11-06 18:34:04.867 info npm iobroker 2017-11-06 18:34:04.864 info WARN notsup Not compatible with your operating system or architecture: xpc-connection@0.1.4 iobroker 2017-11-06 18:34:04.864 info npm iobroker 2017-11-06 18:34:04.861 info WARN optional Skipping failed optional dependency /noble/xpc-connection: iobroker 2017-11-06 18:34:04.861 info npm iobroker 2017-11-06 18:33:57.249 info ERR! unpack Could not read data for iobroker.scriptgui@0.8.9 iobroker 2017-11-06 18:33:57.249 info iobroker 2017-11-06 18:33:57.245 info npm iobroker 2017-11-06 18:33:16.954 info npm install iobroker.radar --production --prefix "/opt/iobroker" (System call) iobroker 2017-11-06 18:33:16.898 info host.SmartHome install adapter radar iobroker 2017-11-06 18:33:16.859 info npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log iobroker 2017-11-06 18:33:16.859 info iobroker 2017-11-06 18:33:16.750 info npm ERR! iobroker 2017-11-06 18:33:16.750 info npm ERR! If you need help, you may report this error at: iobroker 2017-11-06 18:33:16.750 info npm ERR! iobroker 2017-11-06 18:33:16.750 info npm ERR! version not found: iobroker.scriptgui@0.8.9 iobroker 2017-11-06 18:33:16.750 info npm ERR! node v6.11.4npm ERR! npm v3.5.2 iobroker 2017-11-06 18:33:16.749 info ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.radar" "--production" "--prefix" "/opt/iobroker" iobroker 2017-11-06 18:33:16.748 info npm iobroker 2017-11-06 18:33:16.747 info npm ERR! Linux 4.13.0-16-generic iobroker 2017-11-06 18:33:16.746 info npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.vuplus/package.json' iobroker 2017-11-06 18:33:16.746 info npm WARN optional Skipping failed optional dependency /noble/xpc-connection:npm WARN notsup Not compatible with your operating system or architecture: xpc-connection@0.1.4 iobroker 2017-11-06 18:33:08.895 info ERR! unpack Could not read data for iobroker.scriptgui@0.8.9 iobroker 2017-11-06 18:33:08.895 info iobroker 2017-11-06 18:33:08.892 info npm iobroker 2017-11-06 18:32:28.410 info npm install iobroker.radar --production --prefix "/opt/iobroker" (System call) iobroker 2017-11-06 18:32:27.950 info add radarHabt ihr einen Tip an was es liegen kann.
Hab ich etwas vergessen zu installieren, weil ubuntu?
Danke im Voraus
Liebe Grüße
-
notsup Not compatible with your operating system or architecture: xpc-connection@0.1.4 `
Hast du die reinnstall.sh ausgeführt?Ich denke der NUC hat mit Sicherheit keinen arm Prozessor ;)
Gruß
Rainer
-
Hallo Rainer!
Danke für die schnelle Antwort.
Reinstall hab ich soeben ausgeführt:
erich@SmartHome:/opt/iobroker$ sudo bash reinstall.sh module.js:471 throw err; ^ Error: Cannot find module '/usr/local/www/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:383:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:496:3 reinstall.sh: Zeile 4: /r>\r': Befehl nicht gefunden reinstall.sh: Zeile 29: Syntaxfehler beim unerwarteten Wort »done« 'einstall.sh: Zeile 29: ` done < "$BASE/reinstall.list.txt" erich@SmartHome:/opt/iobroker$Was hat es da?
Wenn ich die install.sh drüberlaufen lasse bleibt meine installation ja nicht bestehen, oder?
P.S.: Am Raspi hatte ich auch kein /usr/local/www/…...
:?
-
Erstens, zweitens und drittens :D
Da könnte jetzt soviel falsch gelaufen sein.
1.
@muckel:Wenn ich die install.sh drüberlaufen lasse bleibt meine installation ja nicht bestehen, oder? `
Doch, aber ggf. werden einige Pakete neu für die entsprechende Hardware kompiliert. Ich hoffe du meinst reinstall ;)2.
@muckel:Am Raspi hatte ich auch kein /usr/local/www/…... `
Leider, aber fas ist ein anderes Thema.Aber was machst du da?
Hast du ioBroker irrtümlich nicht in /opt/iobroker installiert gehabt?
3. Kann auch bei der Installation auf dem NUC oder beim erstellen des backups etwas schiefgelaufen sein.
Gruß
Rainer
-
am raspi wars in /opt/iobroker/
am NUC auch.
wenn ich ein install.sh mache und vorher den node_module ordner umbenenne und dann wieder zurück umbenenne könnte es doch auch gehen, oder ist dem nicht so.
mich wundert es, weil alles funktioniert bis auf install neuer adapter.
-
wenn ich ein install.sh mache `
@Homoran:Ich hoffe du meinst reinstall `
Welches nodejs und welches npm hast du auf nuc und pi benutzt.
In einem log stand node 6.x und npm 3.x
War das zur zeit der Installation auf dem NUC auch so?
Gruß
Rainer
-
das weiß ich jetzt nicht mehr. welche node version beim installieren drauf war.
nein, ich meinte wirklich install.sh und ordner zurückbenennen.
wäre das keine option?
-
wäre das keine option? `
Habe ich noch nie gemacht. -
Ohne Anspruch auf Richtigkeit und Wirkung:
Neuinstallation
Ordner /opt/ iobroker/ backups anlegen
Backup in ordner schieben
Restore ausführen
Reinstall.sh ausführen
Erst jetzt iobroker start aufrufen.
Gruß
Rainer
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