NEWS
Kleines Problem große Auswirkung
-
Hallo !
Ich bin ein kompletter Anfänger mit ioBroker, also bitte habt Nachsicht!
Ich habe heute mein Tinkerboard mit ioBroker und CCU3 bekommen und wollte nach Anleitung den Homematic Adapter verbinden.
Nach der Installation, aber vor der endgültigen Konfiguration hatte ich die glorreiche Idee abzubrechen und zuerst ioBroker und CCU mit einer fixen IP adresse zu versehen.
Nachdem ich das getan hatte, habe ich festgestellt, dass der Adapter nicht (ganz) installiert wurde und versuchte es noch einmal.
Dabei erhielt ich folgende Fehlermeldung:
Fertig mit Fehler: reading io-package.json SyntaxError: Unexpected end of JSON input
Hier im Forum habe ich dann folgende Lösungsmöglichkeit für die "Bereinigung" gefunden
cd /opt/iobroker
sudo npm cache clean -f
- aber jetzt kommt wieder das Problem des Anfängers.
Wie kann ich ein Console-EIngabefenster öffnen?
Vielen Dank für Eure Hilfe!
-
Tinkerboard mit ioBroker und CCU3 `
ist jetzt für dein Problem wahrscheinlich unerheblich, aber was genau hast du da?Wie kann ich ein Console-EIngabefenster öffnen? `
Wie hast du denn den Rest "programmiert".Da brauchst du doch auch ein Terminalfenster?
die glorreiche Idee abzubrechen `
Wie hast du das gemacht?und versuchte es noch einmal. `
Hast du vorher den Adapter (nicht die Instanz) gelöscht?Gruß
rainer
-
Am einfachsten terminal adapter installieren dann kannst du Befehle auf konsole eingeben, wenn ssh freigegeben ist und du windows nutzt, per putty verbinden, in der Hoffnung das du user und passwort hast. So wie ich den Post verstehe hast du alles vorinstalliert bekommen?.
-
Danke Rogni, DU hast es erkannt. Ich habe das Gerät betriebsfertig bekommen.
Aber ich denke das ist nicht das Problem, das Gerät funktioniert ja.
Mein Problem ist die abgebrochene Installation des Homematic RPC Adapters die scheinbar Spuren hinterlassen hat die man entfernen müsste.
Vermutlich ist der "chache clean" ja eine ganz einfache Lösung, nur weiß ich nicht wie ich dahin komme.
Ich habe jetzt versucht den ioBroker Simple Terminal Adapter" zu installieren (einen anderen habe ich in der Adapterliste nicht gefunden) was aber leider mit folgender Fehlermeldung fehl schlug
Fertig mit Fehler: host.tinkerboard Cannot install terminal
Mich "Mit Putty verbinden" kann ich vielleicht - bräuchte dazu aber auch eine Anleitung.
Kannst Du weiterhelfen?
Danke
-
host.tinkerboard Cannot install terminal `
Dann stimmt was anderes nicht, was mit cache clean auch nicht gefixt wird.Mich "Mit Putty verbinden" kann ich vielleicht - bräuchte dazu aber auch eine Anleitung. `
-putty downloaden
-putty öffnen
-im router die IP des Tinkerboards suchen
-diese in Putty eingeben
-Port 22
-SSH
und verbinden
Gruß
Rainer
-
Das habe ich geschafft.
der "Cache clean" Befehl wurde scheinbar auch ausgeführt - zumindest gab es keine Fehlermeldung, aber genützt hat es nichts; der HM RPC Adapter lässt sich nach wie vor nicht nocheinmal installieren
Hier noch die Details der Fehlermeldung
$ ./iobroker add hm-rpc –host tinkerboard
host.tinkerboard install adapter hm-rpc
ERROR: host.tinkerboard error: reading io-package.json SyntaxError: Unexpected end of JSON input
ERROR: process exited with code 14
Hat jemand eine Idee wie ich diese "Halb-Installation" des Adapters entfernen kann?
-
Das Problem ist ja, dass es anscheinend bei allen Adaptern passiert
-
Korrekt!
Ich habe jetzt versucht den OSRAM LIghtify Adapter zu installieren - geht auch nicht.
Lösung?
-
-
Dazu müsste man wissen was und wie es installiert wurde. `
Was bei einem betriebsbereit übernommenem Gerät schwierig werden könnte.Gruß,
Eric
Von unterwegs getippert
-
So schwierig dürfte das nicht sein.
Es wurde das aktuelle Image mit ioBroker und Homematic CCU3 aufgespielt.
Mit externer Antenne und HM funkmodul in einem ELV Charlie Gehäuse eingebaut. Statt dem Raspberry wurde ein Tinkerboard verwendet.
-
Das was wissen wir nur das wie ist die frage. Die ganzen pakete haben abhängigkeiten. Dann kommt es auch noch auf die ordnerstruktur an . Versuch mal über die konsole mal apt get update && upgrade. Dann mal ein update vom iobroker, vorher stoppen. In der hoffnung das fehlermeldungen kommen was fehlt.
Starte den iobroker dann wieder mit nem sudo vornedran
-
Ja, kann ich machen.
Das stoppen des ioBroker geht mit
ioBroker stop (Richtig?)
Muss ich für den Update-Befehl in ein bestimmtes Verzeichnis wechseln?
Wie lautet der Befehl genau
apt get update && upgrade (wirklich mit 2 kaufm. UND dazwischen?)
-
wenn unter root eingeloggt dann
apt-get update && apt-get upgrade
und ja mit 2x kaufm. UND
-
Apt-get update && upgrade
Sudo iobroker stop
Sudo iobroker update
Sudo iobroker start
Bei iobroker evtl in opt/iobroker verzeichnis wechseln
-
Hat leider nichts gebracht
Hier das Protokoll des esten Befehls
app-get update && upgrade
root@tinkerboard:/# apt-get update && upgrade
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:7 https://deb.nodesource.com/node_10.x stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:8 https://www.pivccu.de/piVCCU stable InRelease
Hit:5 https://apt.armbian.com stretch InRelease
Fetched 94.3 kB in 3s (28.2 kB/s)
Reading package lists… Done
****Could not find the database of available applications, run update-command-not-found as root to fix this
upgrade: command not found****
root@tinkerboard:/#
Wie gebe ich diesen update-command-not-found Befehl ein?
Vielleicht behebt das schon den Fehler?
-
Apt-get nicht app get
Mach mal nacheinander
Apt-get update
Apt-get upgrade
-
In dieser Reihenfolge wurden einige Dateien downgeloaded und installiert.
Lieder funktioniert die Adapter-Installation noch immer nicht
Hier das Protokoll von
apt-get update
apt-get upgrade
vielleicht kann jemand etwas rauslesen?
root@tinkerboard:/# apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:4 https://deb.nodesource.com/node_10.x stretch InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:6 https://www.pivccu.de/piVCCU stable InRelease
Hit:7 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:8 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:2 https://apt.armbian.com stretch InRelease
Reading package lists… Done
root@tinkerboard:/# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libuv1
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
libssl1.0.2 nodejs pivccu-modules-dkms pivccu3
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 117 MB of archives.
After this operation, 25.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org stretch/updates/main armhf libssl1.0.2 armhf 1.0.2q-1~deb9u1 [922 kB]
Get:2 https://deb.nodesource.com/node_10.x stretch/main armhf nodejs armhf 10.15.0-1nodesource1 [13.5 MB]
Get:3 https://www.pivccu.de/piVCCU stable/main armhf pivccu-modules-dkms all 1.0.20 [24.1 kB]
Get:4 https://www.pivccu.de/piVCCU stable/main armhf pivccu3 armhf 3.41.11-14 [103 MB]
Fetched 117 MB in 18s (6,185 kB/s)
Preconfiguring packages …
(Reading database ... 76533 files and directories currently installed.)
Preparing to unpack .../pivccu-modules-dkms_1.0.20_all.deb ...
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.
-------- Uninstall Beginning --------
Module: pivccu
Version: 1.0.18
Kernel: 4.14.81-rockchip (armv7l)
Status: Before uninstall, this module version was ACTIVE on this kernel.
dummy_rx8130.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
dw_apb_raw_uart.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
eq3_char_loop.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
fake_hmrf.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
generic_raw_uart.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
led_trigger_timer.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
meson_raw_uart.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
pl011_raw_uart.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
plat_eq3ccu2.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
rpi_rf_mod_led.ko:
-
Uninstallation
-
Deleting from: /lib/modules/4.14.81-rockchip/updates/dkms/
-
Original module
-
No original module was found for this module on this kernel.
-
Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
Deleting module version: 1.0.18
completely from the DKMS tree.
Done.
Unpacking pivccu-modules-dkms (1.0.20) over (1.0.18) ...
Preparing to unpack .../pivccu3_3.41.11-14_armhf.deb ...
Removed /etc/systemd/system/multi-user.target.wants/pivccu.service.
Unpacking pivccu3 (3.41.11-14) over (3.41.11-12) ...
Preparing to unpack .../libssl1.0.2_1.0.2q-1~deb9u1_armhf.deb ...
Unpacking libssl1.0.2:armhf (1.0.2q-1~deb9u1) over (1.0.2l-2+deb9u3) ...
Preparing to unpack .../nodejs_10.15.0-1nodesource1_armhf.deb ...
Detected old npm client, removing...
Unpacking nodejs (10.15.0-1nodesource1) over (10.14.2-1nodesource1) ...
Setting up nodejs (10.15.0-1nodesource1) ...
Setting up libssl1.0.2:armhf (1.0.2q-1~deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up pivccu-modules-dkms (1.0.20) ...
Loading new pivccu-1.0.20 DKMS files...
Building for 4.14.81-rockchip
Building initial module for 4.14.81-rockchip
Done.
dummy_rx8130:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
dw_apb_raw_uart.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
eq3_char_loop.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
fake_hmrf.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
generic_raw_uart.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
hb_rf_usb.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
led_trigger_timer.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
meson_raw_uart.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
pl011_raw_uart.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
plat_eq3ccu2.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
rpi_rf_mod_led.ko:
Running module version sanity check.
-
Original module
-
No original module exists within this kernel
-
Installation
-
Installing to /lib/modules/4.14.81-rockchip/updates/dkms/
depmod...
DKMS: install completed.
Created symlink /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Processing triggers for man-db (2.7.6.1-2) ...
Setting up pivccu3 (3.41.11-14) ...
Installing new version of config file /etc/piVCCU3/lxc.config ...
Created symlink /etc/systemd/system/multi-user.target.wants/pivccu.service → /lib/systemd/system/pivccu.service.
piVCCU: DTB rk3288-tinker.dtb was already patched
-
-
Hier ist auch noch eine Fehlermeldung die nach dem Stop von ioBroker ausgegeben wurde
root@tinkerboard:/# sudo iobroker stop
Stopping iobroker controller daemon…
iobroker controller daemon stopped.
fs.js:115
throw err;
^
Error: ENOENT: no such file or directory, chmod '/opt/iobroker/node_modules/iobroker.js-controller/lib/../killall.sh'
at Object.chmodSync (fs.js:1023:3)
at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:286:32)
at Daemon.emit (events.js:187:15)
at Daemon. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:267:14)
at Daemon._tryKill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:277:23)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)</anonymous>
-
Sieht für mich aus als wäre da ein node.js fehler.
Abrr da sollte noch mal jemand anderes drüberkucken. Bin noch nicht richtig fit was linux betrifft.