NEWS
[gelöst]Umzug vom Pi auf Rock64-nichts geht, benötige Hilfe
-
Hi,
ich bin dabei vom Pi3 auf einen Rock64 umzuziehen. Dafür nutze ich das fertige Image vom 11.12.2017.
Gestern habe ich mit hängen und würgen ioBroker auf dem Rock64 zum Laufen gebracht und mein Backup vom Pi auch eingespielt bekommen.
Das System und alle Adapter konnte ich gestern auch updaten.
Danach gab es mit ein paar Adaptern noch Schwierigkeiten, was ich mit "reinstall.sh" fixen wollte, aber nicht ging, weil er mit "reinstall.sh" irgendwie nichts anfangen konnte - war schon spät, also erstmal Pause…
Heute wollte ich weitermachen und habe nun auch noch das Problem, dass ich nicht mehr auf das Webif. komme.
Der Admin-Adapter sowie iobroker scheinen aber zu laufen:
top - 12:29:56 up 26 min, 1 user, load average: 0,45, 0,83, 0,79 Tasks: 154 total, 2 running, 152 sleeping, 0 stopped, 0 zombie %Cpu(s): 3,1 us, 1,0 sy, 0,0 ni, 95,9 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 4018596 total, 2708068 free, 880576 used, 429952 buff/cache KiB Swap: 2009280 total, 2009280 free, 0 used. 3023108 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1654 root 20 0 1170332 147400 18356 S 1,0 3,7 0:43.51 io.javascript.0 1488 root 20 0 1263304 110168 18532 S 5,9 2,7 3:07.82 iobroker.js-con 5203 root 20 0 1068420 72380 19120 S 2,6 1,8 0:06.54 io.cloud.0 1502 root 20 0 1091040 68484 18292 S 0,0 1,7 0:11.26 io.admin.0 1884 root 20 0 993228 52640 18496 S 0,0 1,3 0:11.26 io.rpi2.0 2362 root 20 0 994268 52172 18404 S 0,3 1,3 0:06.58 io.broadlink2.0 1721 root 20 0 991068 51020 18320 S 0,0 1,3 0:11.53 io.hm-rega.0 1734 root 20 0 1187212 50788 19104 S 0,0 1,3 0:11.24 io.radar.0 5095 root 20 0 1182584 50160 18584 S 0,0 1,2 0:06.83 node 1711 root 20 0 989676 48600 18408 S 0,0 1,2 0:07.40 io.fritzdect.0 2295 root 20 0 986624 45180 18500 S 1,3 1,1 0:28.74 io.mqtt.0 1630 root 20 0 985456 43980 18344 S 0,3 1,1 0:05.92 io.web.0 5197 root 20 0 980168 43256 18460 S 0,0 1,1 0:03.27 io.scenes.0 5077 root 20 0 986560 43104 19244 S 0,0 1,1 0:04.16 io.vis.0 3769 root 20 0 975108 42204 19080 S 0,3 1,1 0:07.01 io.modbus.0 1678 root 20 0 975016 41572 18408 S 1,0 1,0 0:07.55 io.ping.0 4821 root 20 0 969348 39600 18472 S 0,0 1,0 0:02.66 io.email.0 1754 root 20 0 973964 39564 18340 S 0,0 1,0 0:05.29 io.sonoff.0 1764 root 20 0 1039808 39272 18464 S 0,0 1,0 0:04.82 io.backitup.0 1644 root 20 0 970908 37860 18304 S 0,0 0,9 0:05.28 io.history.0 2356 root 20 0 972544 37192 18492 S 0,0 0,9 0:04.76 io.denon.0 1610 root 20 0 970992 37092 18236 S 0,0 0,9 0:04.61 io.discovery.0 3456 root 20 0 971976 36640 18568 S 0,3 0,9 0:03.80 io.sayit.0 762 root 20 0 277020 14656 12592 S 0,0 0,4 0:00.33 NetworkManager 5333 root 20 0 592416 12424 10808 R 1,3 0,3 0:00.04 node 1496 root 20 0 11344 5784 4888 S 0,0 0,1 0:00.53 sshd 1073 root 20 0 229892 5576 4936 S 0,0 0,1 0:00.04 polkitd 1 root 20 0 154468 5256 3348 S 0,0 0,1 0:03.93 systemd 1595 root 20 0 8584 4904 3168 S 0,0 0,1 0:00.15 bash 1017 root 20 0 9772 4812 4152 S 0,0 0,1 0:00.05 sshd 348 root 20 0 7600 4364 1284 S 0,0 0,1 0:01.88 haveged 1372 ntp 20 0 14520 4080 3528 S 0,0 0,1 0:00.17 ntpd 1513 root 20 0 5916 3764 3164 S 0,0 0,1 0:00.06 systemd 4810 root 20 0 9600 3484 2916 R 1,3 0,1 0:01.60 topHier enden nun auch meine bescheidenen Fähigkeiten. Hat jemand ne Idee, wie ich weiterkomme?
-
Hi @wendy2702,
die IP ist unverändert.
Hier das Log:
root@ioBroker-Rock64:/opt/iobroker# tail -f /opt/iobroker/log/iobroker.2018-11-19.log 2018-11-19 13:00:52.707 - error: Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:83:11) 2018-11-19 13:00:52.707 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9) 2018-11-19 13:00:52.708 - error: Caught by controller[0]: code: 'EADDRNOTAVAIL', 2018-11-19 13:00:52.708 - error: Caught by controller[0]: errno: 'EADDRNOTAVAIL', 2018-11-19 13:00:52.709 - error: Caught by controller[0]: syscall: 'listen', 2018-11-19 13:00:52.709 - error: Caught by controller[0]: address: '192.168.xxx.xxx', 2018-11-19 13:00:52.709 - error: Caught by controller[0]: port: 2010 } 2018-11-19 13:00:52.710 - error: host.ioBroker-Rock64 instance system.adapter.hm-rpc.2 terminated with code 0 (OK) 2018-11-19 13:00:52.710 - info: host.ioBroker-Rock64 Restart adapter system.adapter.hm-rpc.2 because enabled 2018-11-19 13:00:53.063 - info: denon.0 [CONNECT] Trying to connect to 192.168.xxx.xxx:23 2018-11-19 13:00:56.069 - warn: denon.0 AVR unreachable, check the Network Config of your AVR 2018-11-19 13:00:57.404 - info: host.ioBroker-Rock64 instance system.adapter.hm-rpc.0 started with pid 8691 2018-11-19 13:00:59.450 - info: hm-rpc.0 starting. Version 1.7.8 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v6.14.4 2018-11-19 13:00:59.844 - info: hm-rpc.0 binrpc server is trying to listen on 192.168.xxx.xxx:2001 2018-11-19 13:00:59.848 - info: hm-rpc.0 binrpc client is trying to connect to 192.168.xxx.xxx:2001/ with ["xmlrpc_bin://192.168.xxx.xxx:2001","hm-rpc.0"] 2018-11-19 13:00:59.914 - error: hm-rpc.0 uncaught exception: listen EADDRNOTAVAIL 192.168.xxx.xxx:2001 2018-11-19 13:00:59.915 - error: hm-rpc.0 Error: listen EADDRNOTAVAIL 192.168.xxx.xxx:2001 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1258:19) at listen (net.js:1307:10) at net.js:1417:9 at _combinedTickCallback (internal/process/next_tick.js:83:11) at process._tickCallback (internal/process/next_tick.js:104:9) 2018-11-19 13:00:59.919 - info: hm-rpc.0 binrpc -> 192.168.xxx.xxx:2001/ init ["xmlrpc_bin://192.168.xxx.xxx:2001",""] 2018-11-19 13:00:59.947 - info: hm-rpc.0 Connected 2018-11-19 13:00:59.980 - info: hm-rpc.0 Disconnected 2018-11-19 13:00:59.992 - info: hm-rpc.0 terminating 2018-11-19 13:01:00.028 - error: Caught by controller[0]: { Error: listen EADDRNOTAVAIL 192.168.xxx.xxx:2001 2018-11-19 13:01:00.029 - error: Caught by controller[0]: at Object.exports._errnoException (util.js:1020:11) 2018-11-19 13:01:00.030 - error: Caught by controller[0]: at exports._exceptionWithHostPort (util.js:1043:20) 2018-11-19 13:01:00.030 - error: Caught by controller[0]: at Server._listen2 (net.js:1258:19) 2018-11-19 13:01:00.031 - error: Caught by controller[0]: at listen (net.js:1307:10) 2018-11-19 13:01:00.031 - error: Caught by controller[0]: at net.js:1417:9 2018-11-19 13:01:00.031 - error: Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:83:11) 2018-11-19 13:01:00.032 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9) 2018-11-19 13:01:00.032 - error: Caught by controller[0]: code: 'EADDRNOTAVAIL', 2018-11-19 13:01:00.033 - error: Caught by controller[0]: errno: 'EADDRNOTAVAIL', 2018-11-19 13:01:00.034 - error: Caught by controller[0]: syscall: 'listen', 2018-11-19 13:01:00.034 - error: Caught by controller[0]: address: '192.168.xxx.xxx', 2018-11-19 13:01:00.035 - error: Caught by controller[0]: port: 2001 } 2018-11-19 13:01:00.035 - error: host.ioBroker-Rock64 instance system.adapter.hm-rpc.0 terminated with code 0 (OK) 2018-11-19 13:01:00.036 - info: host.ioBroker-Rock64 Restart adapter system.adapter.hm-rpc.0 because enabled 2018-11-19 13:01:08.637 - info: host.ioBroker-Rock64 instance system.adapter.hm-rpc.1 started with pid 8704 2018-11-19 13:01:10.535 - info: hm-rpc.1 starting. Version 1.7.8 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v6.14.4 2018-11-19 13:01:11.098 - info: hm-rpc.1 binrpc server is trying to listen on 192.168.xxx.xxx:8701 2018-11-19 13:01:11.102 - info: hm-rpc.1 binrpc client is trying to connect to 192.168.xxx.xxx:8701/ with ["xmlrpc_bin://192.168.xxx.xxx:8701","hm-rpc.1"] 2018-11-19 13:01:11.168 - error: hm-rpc.1 uncaught exception: listen EADDRNOTAVAIL 192.168.xxx.xxx:8701 2018-11-19 13:01:11.169 - error: hm-rpc.1 Error: listen EADDRNOTAVAIL 192.168.xxx.xxx:8701 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1258:19) at listen (net.js:1307:10) at net.js:1417:9 at _combinedTickCallback (internal/process/next_tick.js:83:11) at process._tickCallback (internal/process/next_tick.js:104:9) 2018-11-19 13:01:11.173 - info: hm-rpc.1 binrpc -> 192.168.xxx.xxx:8701/ init ["xmlrpc_bin://192.168.xxx.xxx:8701",""] 2018-11-19 13:01:11.217 - info: hm-rpc.1 terminating 2018-11-19 13:01:11.256 - error: Caught by controller[0]: { Error: listen EADDRNOTAVAIL 192.168.xxx.xxx:8701 2018-11-19 13:01:11.257 - error: Caught by controller[0]: at Object.exports._errnoException (util.js:1020:11) 2018-11-19 13:01:11.258 - error: Caught by controller[0]: at exports._exceptionWithHostPort (util.js:1043:20) 2018-11-19 13:01:11.258 - error: Caught by controller[0]: at Server._listen2 (net.js:1258:19) 2018-11-19 13:01:11.259 - error: Caught by controller[0]: at listen (net.js:1307:10) 2018-11-19 13:01:11.259 - error: Caught by controller[0]: at net.js:1417:9 2018-11-19 13:01:11.259 - error: Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:83:11) 2018-11-19 13:01:11.260 - error: Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9) 2018-11-19 13:01:11.260 - error: Caught by controller[0]: code: 'EADDRNOTAVAIL', 2018-11-19 13:01:11.261 - error: Caught by controller[0]: errno: 'EADDRNOTAVAIL', 2018-11-19 13:01:11.261 - error: Caught by controller[0]: syscall: 'listen', 2018-11-19 13:01:11.261 - error: Caught by controller[0]: address: '192.168.xxx.xxx', 2018-11-19 13:01:11.262 - error: Caught by controller[0]: port: 8701 } 2018-11-19 13:01:11.262 - error: host.ioBroker-Rock64 instance system.adapter.hm-rpc.1 terminated with code 0 (OK) 2018-11-19 13:01:11.263 - info: host.ioBroker-Rock64 Restart adapter system.adapter.hm-rpc.1 because enabled 2018-11-19 13:01:14.409 - error: rpi2.0 No Value found for cpu_voltage 2018-11-19 13:01:14.410 - error: rpi2.0 No Value found for mem_arm 2018-11-19 13:01:14.411 - error: rpi2.0 No Value found for mem_gpu 2018-11-19 13:01:14.420 - error: rpi2.0 Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk1p1 30341564 2211472 27790520 8% / /1024 2018-11-19 13:01:14.422 - error: rpi2.0 Cannot evaluate: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk1p1 30341564 2211472 27790520 8% / /1024 ^C root@ioBroker-Rock64:/opt/iobroker#@paul53 - berichtigt, meinte natürlich das vom 11.12.2017 ;)
-
iobroker list instancesnode -vnpm -vSind die Versionen gleich mit der vom PI ?
Warum kann der Rock deine CCU nicht erreichen?
Warum kannst du````
reinstall.sh -
Hier die Augabe von " iobroker list instances":
` > root@ioBroker-Rock64:/opt/iobroker# iobroker list instances
system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.backitup.0 : backitup - enabled
system.adapter.broadlink2.0 : broadlink2 - enabled
system.adapter.cloud.0 : cloud - enabled
system.adapter.denon.0 : denon - enabled
system.adapter.discovery.0 : discovery - enabled
system.adapter.email.0 : email - enabled
system.adapter.flot.0 : flot - enabled
system.adapter.fritzdect.0 : fritzdect - enabled
system.adapter.history.0 : history - enabled
system.adapter.hm-rega.0 : hm-rega - enabled
system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0
system.adapter.hm-rpc.1 : hm-rpc - enabled, port: 0
system.adapter.hm-rpc.2 : hm-rpc - enabled, port: 0
system.adapter.ical.0 : ical - enabled
system.adapter.icons-icons8.0 : icons-icons8 - enabled
system.adapter.icons-mfd-png.0 : icons-mfd-png - enabled
system.adapter.javascript.0 : javascript - enabled
system.adapter.mobile.0 : mobile - enabled
system.adapter.modbus.0 : modbus - enabled
system.adapter.mqtt.0 : mqtt - enabled, port: 1886
system.adapter.ping.0 : ping - enabled
system.adapter.radar.0 : radar - enabled
system.adapter.rpi2.0 : rpi2 - enabled
system.adapter.sayit.0 : sayit - enabled, port: 0
system.adapter.scenes.0 : scenes - enabled
system.adapter.sonoff.0 : sonoff - enabled, port: 1883, bind: 0.0.0.0
system.adapter.vis-bars.0 : vis-bars - enabled
system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges - enabled
system.adapter.vis-colorpicker.0 : vis-colorpicker - enabled
system.adapter.vis-fancyswitch.0 : vis-fancyswitch - enabled
system.adapter.vis-history.0 : vis-history - enabled
system.adapter.vis-hqwidgets.0 : vis-hqwidgets - enabled
system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd - enabled
system.adapter.vis-justgage.0 : vis-justgage - enabled
system.adapter.vis-metro.0 : vis-metro - enabled
system.adapter.vis-players.0 : vis-players - enabled
system.adapter.vis-timeandweather.0 : vis-timeandweather - enabled
system.adapter.vis.0 : vis - enabled
system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
root@ioBroker-Rock64:/opt/iobroker# `
OK, die node und npm sind unterschiedlich: PI –> npm = 4.6.1 node = 8.11.2 / Rock --> npm = 3.10.10 node = 6.14.4
Bei reinstall.sh kommt folgende Meldung: reinstall.sh: command not found
Die CCU ist mom. nicht erreichbar, baue hier gerade so einiges um. Die CCU ist auf nem PI und der soll auf die Hutschiene mit in den Verteilerkasten.
-
Ja,
root@ioBroker-Rock64:/opt/iobroker# ls -la /opt/iobroker/ total 72 drwxrwxrwx 8 root root 4096 Nov 19 12:27 . drwxr-xr-x 3 root root 4096 Dez 11 2017 .. drwxrwxrwx 2 root root 4096 Nov 18 21:15 backups drwxrwxrwx 2 root root 4096 Nov 19 13:15 cache drwxrwxrwx 2 root root 4096 Dez 11 2017 etc -rwxrwxrwx 1 root root 297 Dez 11 2017 install.sh -rwxrwxrwx 1 root root 67 Dez 11 2017 iobroker drwxrwxrwx 5 root root 4096 Nov 18 22:17 iobroker-data -rwxrwxrwx 1 root root 92 Nov 18 22:00 killall.sh drwxrwxrwx 2 root root 4096 Nov 19 13:12 log drwxrwxrwx 618 root root 20480 Nov 19 12:27 node_modules -rwxrwxrwx 1 root root 827 Nov 19 12:27 package.json -rw-r--r-- 1 root root 676 Nov 19 01:00 reinstall.dos -rw-r--r-- 1 root root 676 Nov 19 01:03 reinstall.sh root@ioBroker-Rock64:/opt/iobroker# reinstall.sh reinstall.sh: command not found root@ioBroker-Rock64:/opt/iobroker# -
@Hicks:PI –> npm = 4.6.1 node = 8.11.2 / Rock --> npm = 3.10.10 node = 6.14.4 `
Dann sollte Node/NPM <u>vor</u> dem Einspielen des Backups auf die entsprechende Version "hochgezogen" werden. In dem Fall braucht es kein ./reinstall.sh nach dem Restore. -
Hm, reinstall geht immer nocht nicht:
root@ioBroker-Rock64:/opt/iobroker# chmod +x reinstall.sh root@ioBroker-Rock64:/opt/iobroker# reinstall.sh reinstall.sh: command not found root@ioBroker-Rock64:/opt/iobroker#Muss ich das System jetzt neu aufsetzen, da ich den Backup nun schon eingespielt habe?
-
Hallo ihr beiden,
er lebt! "./reinstall" ist fertig, das Webif. ist erreichbar und alle Adapter sind grün :D
Jetzt bekommt der Kleine ein lauschiges Plätzchen neben der CCU im Verteilerschrank.
Nochmals besten Dank euch beiden für die schnelle Hilfe.