Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installationsimage für den Banana Pi

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installationsimage für den Banana Pi

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 last edited by

      Das sieht so aus, als würde der js-controller laufen, aber keine Instanzen. Überprüfe das bitte mit top

      top
      

      Shift-m (großes M) sortiert nach RAM-Verbrauch und holt so die ioBeroker-Prozesse nach oben.

      1 Reply Last reply Reply Quote 0
      • G
        grogo last edited by

        Hier auch nochmal eine Abfrage mit Fehlermeldung:

        root@bananapim3:/opt/iobroker# node node_modules/iobroker.js-controller/controller.js --logs
        2019-02-08 17:52:17.762  - info: host.bananapim3 iobroker.js-controller version 1.4.2 js-controller starting
        2019-02-08 17:52:17.774  - info: host.bananapim3 Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker
        2019-02-08 17:52:17.775  - info: host.bananapim3 hostname: bananapim3, node: v8.15.0
        2019-02-08 17:52:17.787  - info: host.bananapim3 ip addresses: 192.168.0.215 fe80::20dd:f4f7:320c:cd63
        2019-02-08 17:52:17.980  - info: host.bananapim3  inMem-states listening on port 9000
        2019-02-08 17:52:18.031  - info: host.bananapim3  inMem-objects listening on port 9001
        2019-02-08 17:52:18.066  - error: Another instance is running or some application uses port!
        2019-02-08 17:52:18.067  - error: uncaught exception: listen EADDRINUSE 127.0.0.1:9000
        2019-02-08 17:52:18.079  - info: host.bananapim3 terminated
        2019-02-08 17:52:18.094  - info: iobroker _restart
        listen EADDRINUSE 127.0.0.1:9001
        Error: listen EADDRINUSE 127.0.0.1:9001
            at Server.setupListenHandle [as _listen2] (net.js:1360:14)
            at listenInCluster (net.js:1401:12)
            at doListen (net.js:1510:7)
            at _combinedTickCallback (internal/process/next_tick.js:142:11)
            at process._tickCallback (internal/process/next_tick.js:181:9)
            at Function.Module.runMain (module.js:696:11)
            at startup (bootstrap_node.js:204:16)
            at bootstrap_node.js:625:3
        root@bananapim3:/opt/iobroker#
        
        

        Aber er schein auf die Adresse zu hören:

        root@bananapim3:/opt/iobroker# netstat -n -a -p TCP
        Active Internet connections (servers and established)
        Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
        tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      761/iobroker.js-con
        tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      761/iobroker.js-con
        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      792/sshd
        tcp        0    176 192.168.0.215:22        192.168.0.2:51168       ESTABLISHED 1399/sshd: pi [priv
        tcp6       0      0 :::22                   :::*                    LISTEN      792/sshd
        udp        0      0 192.168.0.215:123       0.0.0.0:*                           1417/ntpd
        udp        0      0 127.0.0.1:123           0.0.0.0:*                           1417/ntpd
        udp        0      0 0.0.0.0:123             0.0.0.0:*                           1417/ntpd
        udp        0      0 0.0.0.0:68              0.0.0.0:*                           1186/dhclient
        udp6       0      0 fe80::20dd:f4f7:320:123 :::*                                1417/ntpd
        udp6       0      0 ::1:123                 :::*                                1417/ntpd
        udp6       0      0 :::123                  :::*                                1417/ntpd
        raw6       0      0 :::58                   :::*                    7           680/NetworkManager
        Active UNIX domain sockets (servers and established)
        
        
        1 Reply Last reply Reply Quote 0
        • G
          grogo last edited by

          root@bananapim3:/opt/iobroker# top
          top - 17:55:25 up 8 min,  1 user,  load average: 0.00, 0.08, 0.07
          Tasks: 134 total,   1 running,  74 sleeping,   0 stopped,   0 zombie
          %Cpu(s):  0.0 us,  0.2 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
          KiB Mem :  2062236 total,  1836292 free,    98912 used,   127032 buff/cache
          KiB Swap:  1031104 total,  1031104 free,        0 used.  1897532 avail Mem
          
            PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
            761 iobroker  20   0  120368  32480  19788 S   0.0  1.6   0:05.37 iobroker.js-con
            680 root      20   0   78100  12700  10800 S   0.0  0.6   0:01.01 NetworkManager
            870 root      20   0   37544   5768   5080 S   0.0  0.3   0:00.15 polkitd
           1420 pi        20   0    9208   5644   3828 S   0.0  0.3   0:00.32 systemd
              1 root      20   0   26872   5360   3808 S   0.0  0.3   0:04.77 systemd
           1399 root      20   0    9856   4972   4152 S   0.0  0.2   0:00.57 sshd
            792 root      20   0    8504   4072   3552 S   0.0  0.2   0:00.20 sshd
            375 root      20   0    7216   4052    988 S   0.0  0.2   0:01.78 haveged
            287 root      20   0    8168   3796   3400 S   0.0  0.2   0:01.28 systemd-journal
           1494 pi        20   0    5616   3624   2244 S   0.0  0.2   0:00.23 bash
            685 root      20   0    6064   3464   3064 S   0.0  0.2   0:00.16 systemd-logind
           1493 pi        20   0    9856   3436   2616 S   0.0  0.2   0:00.16 sshd
           1560 root      20   0    7180   2968   2400 R   2.0  0.1   0:00.87 top
           1505 root      20   0    6272   2860   2480 S   0.0  0.1   0:00.15 sudo
           1186 root      20   0    5260   2836   2136 S   0.0  0.1   0:00.04 dhclient
            637 message+  20   0    5336   2740   2360 S   0.0  0.1   0:00.55 dbus-daemon
           1510 root      20   0    4580   2656   2248 S   0.0  0.1   0:00.10 bash
           1417 ntp       20   0    6556   2612   2240 S   0.0  0.1   0:00.08 ntpd
            330 root      20   0   13132   2520   2064 S   0.0  0.1   0:01.10 systemd-udevd
           1509 root      20   0    6032   2484   2124 S   0.0  0.1   0:00.02 su
            631 root      20   0   23092   2100   1676 S   0.0  0.1   0:00.28 rsyslogd
            689 root      20   0    4656   2100   1876 S   0.0  0.1   0:00.04 cron
           1421 pi        20   0    9912   1724    100 S   0.0  0.1   0:00.00 (sd-pam)
           1295 root      20   0    3476   1508   1396 S   0.0  0.1   0:00.01 agetty
           1293 root      20   0    3696   1164   1056 S   0.0  0.1   0:00.01 agetty
              2 root      20   0       0      0      0 S   0.0  0.0   0:00.02 kthreadd
              3 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 rcu_gp
              4 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 rcu_par_gp
              7 root      20   0       0      0      0 I   0.0  0.0   0:00.16 kworker/u16:0-e
              8 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_wq
              9 root      20   0       0      0      0 S   0.0  0.0   0:00.01 ksoftirqd/0
             10 root      20   0       0      0      0 I   0.0  0.0   0:00.21 rcu_sched
             11 root      20   0       0      0      0 I   0.0  0.0   0:00.00 rcu_bh
             12 root      rt   0       0      0      0 S   0.0  0.0   0:00.11 migration/0
             13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0
             14 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1
             15 root      rt   0       0      0      0 S   0.0  0.0   0:00.11 migration/1
             16 root      20   0       0      0      0 S   0.0  0.0   0:00.01 ksoftirqd/1
             18 root       0 -20       0      0      0 I   0.0  0.0   0:00.03 kworker/1:0H-kb
             19 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/2
             20 root      rt   0       0      0      0 S   0.0  0.0   0:00.11 migration/2
             21 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ksoftirqd/2
             24 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/3
             25 root      rt   0       0      0      0 S   0.0  0.0   0:00.11 migration/3
             26 root      20   0       0      0      0 S   0.0  0.0   0:00.01 ksoftirqd/3
             29 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/4
             30 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/4
             31 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ksoftirqd/4
             33 root       0 -20       0      0      0 I   0.0  0.0   0:00.10 kworker/4:0H-kb
             34 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/5
             35 root      rt   0       0      0      0 S   0.0  0.0   0:00.11 migration/5
          
          
          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 last edited by

            @grogo:

            Habe in SSH schon "iobroker restart" und versucht mit "iobroker add admin –enabled --port 9000" eine neue Seite aufzumachen, ohne Erfolg. `
            Port 9000 wird für die States benötigt. Hier kollidiert es mit Admin ?

            EDIT: Wie vermutet: Es läuft nur der js-controller, keine Instanz.

            1 Reply Last reply Reply Quote 0
            • G
              grogo last edited by

              Und wie kann ich die Instanz wieder starten?

              Es hat ja funktioniert nach der Installation , dann habe ich die Grundeinstellungen gemacht und die Instanzen hm-rega, zwei hm-rpc und die Ping Instanz installiert. Die haben auch alle Funktioniert und die Objekte angezeigt. Dann wollte ich neu starten und nach dem Reboot kam ich nicht mehr auf das Web interface

              1 Reply Last reply Reply Quote 0
              • paul53
                paul53 last edited by

                @grogo:

                Und wie kann ich die Instanz wieder starten? `
                Da kann ich auch nur auf die http://www.iobroker.net/docu/?page_id=3928&lang=de#Pruefen_ob_Admin-Adapter_laeuft verweisen.

                1 Reply Last reply Reply Quote 0
                • G
                  grogo last edited by

                  Die hatte ich schon durch. Vieles sieht gut aus, manches macht keinen Sinn:

                  root@bananapim3:/opt/iobroker# iobroker add admin --port 8089
                  
                  host.bananapim3 install adapter admin
                  got /opt/iobroker/node_modules/iobroker.admin/admin
                  upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                  upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                  upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                  upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                  { status_code: 404, status_text: 'Cannot find view "system"' }
                  host.bananapim3 object system.adapter.admin created
                  host.bananapim3 error: view instanceStats [object Object]
                  
                  root@bananapim3:/opt/iobroker# iobroker list instance
                  Unknown type: instance
                  root@bananapim3:/opt/iobroker#
                  
                  

                  Da bleibe ich dann in der Doku stecken. Denn es wird mir keine Zeile außer "Unkown type: Instance" angezeigt.

                  Wenn ich das Log file auslese, bekomme ich auch nur Infos zu Dingen, die vor dem Neustart passiert sind.

                  Hier die letzten Zeilen:

                  ...
                  2019-02-08 16:21:14.910  - info: iobroker host.bananapim3 install adapter web
                  2019-02-08 16:21:17.067  - info: iobroker NPM version: 6.4.1
                  2019-02-08 16:21:17.071  - info: iobroker npm install iobroker.web --production --save --prefix "/opt/iobroker" (System call)
                  2019-02-08 16:17:10.487  - info: host.bananapim3 iobroker.js-controller version 1.4.2 js-controller starting
                  2019-02-08 16:17:10.505  - info: host.bananapim3 Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker
                  2019-02-08 16:17:10.506  - info: host.bananapim3 hostname: bananapim3, node: v8.15.0
                  2019-02-08 16:17:10.518  - info: host.bananapim3 ip addresses: fe80::20dd:f4f7:320c:cd63
                  2019-02-08 16:17:10.586  - error: host.bananapim3 Cannot parse /opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json: SyntaxError: Unexpected end of JSON input
                  2019-02-08 16:17:10.598  - error: host.bananapim3 Cannot parse /opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json.bak: SyntaxError: Unexpected token d in JSON at position 0
                  2019-02-08 16:17:10.833  - info: host.bananapim3  inMem-states listening on port 9000
                  2019-02-08 16:17:11.413  - error: host.bananapim3 Cannot parse /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: SyntaxError: Unexpected token s in JSON at position 2025096
                  2019-02-08 16:17:11.594  - error: host.bananapim3 Cannot parse /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json.bak: SyntaxError: Unexpected token / in JSON at position 0
                  2019-02-08 16:17:11.601  - info: host.bananapim3  inMem-objects listening on port 9001
                  2019-02-08 16:17:11.658  - info: host.bananapim3 InMemoryDB connected
                  2019-02-08 16:17:11.694  - error: host.bananapim3 _design/system missing - call node iobroker.js setup
                  2019-02-08 16:17:12.286  - info: Created UUID: 944eb8e0-8604-726d-1615-fef38f84b077
                  root@bananapim3:/opt/iobroker#
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 last edited by

                    @grogo:

                    root@bananapim3:/opt/iobroker# iobroker list instance 
                    Unknown type: instance
                    ```` `  
                    

                    Da fehlt ein s am Ende

                    iobroker list instances
                    
                    1 Reply Last reply Reply Quote 0
                    • G
                      grogo last edited by

                      okay aber auch hier keinerlei Infos:

                      
                      root@bananapim3:~# iobroker list instances
                      root@bananapim3:~#
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • G
                        grogo last edited by

                        Hi,

                        ich habe nochmal alles von vorne begonnen. Image, Installation von Node und IOBroker ohne Probleme. Danach war die Weboberfläche erreichbar, dann....

                        1. sudo reboot / Weboberfläche danach wieder erreichbar
                        2. Versorgungsspannung kurzzeitig unterbrochen / Weboberfläche danach wieder erreichbar
                        3. Auf der Weboberfläche angemeldet, Lizenzvertrag bestätigt, discovery.0 eingestellt, VCC kurzzeitig unterbrochen / Weboberfläche danach wieder erreichbar
                        4. Auf der Weboberfläche angemeldet, Lizenzvertrag bestätigt, discovery.0 eingestellt (komisch dass ich dies nochmal machen musste) dann Instanzen Homematic ReGAHSS und Homematic RPC installiert und konfiguriert ohne Geräte zu syncronisieren, VCC kurzzeitig unterbrochen, danach kam ich nicht mehr auf die Webseite

                        Bei Schritt 1.-3. waren immer die iobroker.js-con, io.admin.0 und io.discovery.0 gestartet und auch iobroker list instances zeigten mir die beiden Instanzen an.

                        Als ich bei Schritt 4. top aufrufte, war nur noch iobroker.js-con gestartet und iobroker list instances zeigte kein Ergebnis mehr.

                        warum kann ich bei der Neuinstallation keine Instanzen hinzufügen, und warum hat er sich auch nicht meine Eingaben in discovery.0 gespeichert. Es schien so als hätte ich mich noch nie vorher auf der Webseite angemeldet.

                        Was läuft da schief? Sind das irgendwelche Rechte, dass er nicht in bestimmte Dateien/Ordner schreiben darf und es deswegen nach dem hinzufügen anderer Instanzen zu Problemen kommt und er deswegen auch die Instanzen discovery.0 und admin.0 nicht startet?????

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          @grogo said in Installationsimage für den Banana Pi:

                          ich habe nochmal alles von vorne begonnen. Image

                          welches Image für den M3 nimmst du?

                          "mein aktuellstes" ist vom 13.7.2017 ein Ubuntu Mate

                          Gruß
                          Rainer

                          1 Reply Last reply Reply Quote 0
                          • G
                            grogo last edited by

                            Ich habe als Betriebssystem-Image ARMBIAN (Armbian_5.69_Bananapim3_Debian_stretch_next_4.19.13) genommen, was Paul53 oben empfohlen hat

                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by Homoran

                              WOW!
                              Armbian hatte immer abgelehnt den M3 zu unterstützen.
                              Nachdem ich ihn hatte konnte ich das sogar nachvollziehen.

                              Nur mit einem massiven Kühlkörper und unmittelbar vor einem großen Lüfter lief er jetzt mal ein paar Monate durch.

                              M3_Kuehli.png

                              Gruß
                              Rainer
                              PS werde das armbian mal testen

                              1 Reply Last reply Reply Quote 0
                              • G
                                grogo last edited by

                                Hab es nochmals ausprobiert, immer wenn ich versuche, irgendwelche Instanzen (auch nur die PING-Instanz) über das Webinterface zu installieren, startet der Dienst beim nächsten Neustart nicht mehr 😞 Tritt der Fehler wirklich nur beim Armbian Image auf? Soll ich mal Ubuntu Mate versuchen? Würde gerne auf Armbian bleiben.

                                Muss man den IOBroker immer mit den Kühlkörpern betreiben? Bis jetzt (läuft ja nicht wirklich) denke ich noch ich komme ohne Kühlkörper und Lüfter aus.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate
                                FAQ Cloud / IOT
                                HowTo: Node.js-Update
                                HowTo: Backup/Restore
                                Downloads
                                BLOG

                                477
                                Online

                                31.9k
                                Users

                                80.2k
                                Topics

                                1.3m
                                Posts

                                3
                                25
                                2903
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo