Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation ioBroker auf Cubietruck

    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

    Installation ioBroker auf Cubietruck

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Irgendwas ist schiefgegangen 😞

      Ich habe gerade den History-Adapter aktiviert und dabei fallen mir erst einige Werte, und darufhin die Timestamps auf: waren alle gegen 08:45 oder früher.

      Habe zuerst gedacht: nach update iobroker nicht neu gestartet.

      Also ./iobroker start - wars nicht: "already running"

      daraufhin stop - start - im log keinerlei Fehler - jetzt kommen langsam wieder aktuelle Werte.

      Bei der Betrachtung des logs sah ich dann:

      2014-10-24 21:46:30.807  - info: legacy.0 setting system.host.cubie.alive legacy id to 526054
      2014-10-24 21:46:30.819  - info: legacy.0 setting system.host.cubie legacy id to 526055
      2014-10-24 21:46:30.865  - info: legacy.0 setting system.host.cubie.load legacy id to 526056
      2014-10-24 21:46:30.912  - info: legacy.0 setting system.host.cubie.mem legacy id to 526057
      2014-10-24 21:46:30.936  - info: legacy.0 requesting all states
      
      

      Habe dann noch ein wenig rumgespielt und versucht die Werte im dashui anzuzeigen.

      In der Auswahl waren sie nicht, und manuell den Datenpunkt 526056 bei Cubie.load einzutragen hat auch nicht geklappt 😞

      Gruß

      Rainer

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

        Habe eben ein iobroker update gefahren.

        Da war dann u.a. ein update des admin-adapters dabei - das wurde jedoch nicht - wie üblich beendet (mit code 0)

        EDIT 22:25 neues update - bleibt dabei:

        $ ./iobroker upgrade admin
        download https://github.com/ioBroker/ioBroker.admin/archive/master.zip
        unzip /opt/iobroker/lib/../tmp/admin.zip
        downloaded /opt/iobroker/lib/../tmp/admin.zip
        copying /opt/iobroker/tmp/admin/ioBroker.admin-master to /opt/iobroker/adapter/admin(Version: 0.1.4)
        delete /opt/iobroker/tmp/admin
        npm install "/opt/iobroker/adapter/admin" --production --prefix "/opt/iobroker/adapter/admin"
        got /opt/iobroker/adapter/admin/admin
        upload admin.admin /opt/iobroker/adapter/admin/admin/index.html index.html text/html
        upload admin.admin /opt/iobroker/adapter/admin/admin/admin.png admin.png image/png
        Adapter "admin" updated
        Adapter "admin" updated
        

        außerdem noch ein update für den js-controller.

        danach waren dann die Rechte für ioBroker futsch.

        mussten wieder mit:

        chmod +x iobroker 
        

        freigegeben werden 😉

        Gruß

        Rainer
        576_verzeichnisse.png

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

          @Homoran:

          Habe eben ein iobroker update gefahren.

          Da war dann u.a. ein update des admin-adapters dabei - das wurde jedoch nicht - wie üblich beendet (mit code 0) `
          Auf dem Rechner habe ich das nie beobachtet. Vorgestern konnte ich aber denselben Effekt auf Odroid sehen…

          In der nächste Version (noch nicht da) von js-controller versuche ich zwei Mal zu senden.

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

            Hallo Bluefox,

            heute reißen die schlechten nachrichten nicht ab 😞
            144_iobroker_hm_error.jpg

            Gruß

            Rainer

            PS habt ihr gefunden, warum bei mir im dashui keine Geräte in der Auswahl angezeigt werden? http://forum.iobroker.org/viewtopic.php?f=8&t=236#p1204

            DAS IST NUR EINE FRAGE!!

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

              @Homoran:

              Hallo Bluefox,

              heute reißen die schlechten nachrichten nicht ab 😞
              filename="ioBroker_hm_error.jpg" index="0">~~

              Gruß

              Rainer

              PS habt ihr gefunden, warum bei mir im dashui keine Geräte in der Auswahl angezeigt werden? http://forum.iobroker.org/viewtopic.php?f=8&t=236#p1204

              DAS IST NUR EINE FRAGE!! `
              Ich arbeite gerade an backup/restore Lösung. Wenn ich fertig bin, will ich von dir eine Backup, damit ich die Objekte anschauen kann und den Fehler reproduzieren.

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

                @Bluefox:

                Ich arbeite gerade an backup/restore Lösung. `

                SUPER!!!

                wollte ich schon vorschlagen, aber ich dachte das wäre noch zu früh.

                Danke

                Rainer

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

                  Ich fürchte, da ist noch ein BUG!

                  Ich hatte gedacht, ich hätte die verlorenen Datenpunkte gefunden (hab ich auch! Aber dann läuft iobroker nicht mehr!)

                  Ich hatte wegen Probleme den hm-rpc Adapter mit der Adresse 0.0.0.0 versehen.

                  Habe diese auf meine Cubox-Adresse geändert…

                  ...und schon wurden die Datenpunkte eingelesen 😉

                  ... und schon konnte ich auf die WebUI nicht mehr zugreifen????

                  log mit putty angesehen -````
                  2014-11-07 22:07:14.657 - error: controller instance system.adapter.hm-rega.0 terminated with code 7

                  Der Adapter startet immer wieder neu und beendet sich ebenso immer wieder :(
                  
                  Also über futon die Adresse wieder auf 0.0.0.0 gestellt und schon bleibt der admin-Adapter sttabil, aber was ist jetzt?
                  
                  Ich habe zweimal den js-controller unter hosts!
                  
                  Was kann ich machen?
                  
                  Rainer
                  
                  PS ich kann nicht ausschließen, dass das auch meine lxCCU abgeschossen hat.
                  1 Reply Last reply Reply Quote 0
                  • T
                    Trident last edited by

                    Hallo zusammen,

                    nach längerer Pause hatte ich wieder mal Zeit ein bisschen mit ioBroker zu experimentieren.

                    Es hat sich ja einiges getan! Wahnsinn, dass es nun schon mit den Updates und scheinbar auch der Log-Anzeige klappt! Ich habe gleich den Ping-Adapter getestet. Mit einem Erfolg für die Log_Anzeige (Fehler wurde angezeigt) und einem klaren Misserfolg für den Ping-Adapter 🙂

                    Hier der Eintrag aus dem Log:
                    ` > Drucke Strg+A und danach Strg+C um inhalt in den Zwischenpufer zu kopiere. Klicke irgendwo um das Fenster zu machen.

                    ping.0 2014-11-09 20:18:59 error uncaught exception: Cannot call method 'replace' of undefined

                    ping.0 2014-11-09 20:18:59 error TypeError: Cannot call method 'replace' of undefined at /opt/iobroker/adapter/ping/main.js:191:47 at /opt/iobroker/lib/adapter.js:1092:33 at /opt/iobroker/lib/couch.js:157:13 at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11) at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22) at Request.EventEmitter.emit (events.js:98:17) at Request. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14) at Request.EventEmitter.emit (events.js:117:20) at IncomingMessage. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12) at IncomingMessage.EventEmitter.emit (events.js:117:20)

                    ping.0 2014-11-09 20:18:59 error uncaught exception: Cannot call method 'replace' of undefined

                    ping.0 2014-11-09 20:18:59 error TypeError: Cannot call method 'replace' of undefined at /opt/iobroker/adapter/ping/main.js:191:47 at /opt/iobroker/lib/adapter.js:1092:33 at /opt/iobroker/lib/couch.js:157:13 at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11) at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22) at Request.EventEmitter.emit (events.js:98:17) at Request. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14) at Request.EventEmitter.emit (events.js:117:20) at IncomingMessage. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12) at IncomingMessage.EventEmitter.emit (events.js:117:20)

                    ping.0 2014-11-09 20:18:53 info ping.0 terminating

                    ping.0 2014-11-09 20:18:59 info ping.0 starting. Version 0.0.4

                    ping.0 2014-11-09 20:17:53 info ping.0 starting. Version 0.0.4

                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141108

                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141108

                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141109

                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141109 `

                    Macht echt Spaß die Entwicklung mitzubekommen! Danke nochmal an HQ und Bluefox!

                    Viele Grüße

                    Trident

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

                      Habe heute zum ersten mal auch die Loganzeige sehen können - aber nur kurz. Auf einmal drehte(!) sich wieder das Zahnrad und nichts passierte.

                      beim refresh mit F5 kam ein ERROR_CONNECTION_REFUSED

                      Ich habe alles asuprobiert, unter futon auch mal den Port geändert - ohne Erfolg.

                      Dashui lief auf :8088 und dort kam ich jetzt sogar sn die Datenpunkte der Geräte ran.

                      Der log auf der CuBox brachte nichts spannendes:

                      2014-11-10 17:29:02.463  - info: hm-rega.0 State alarms 0
                      2014-11-10 17:29:02.465  - info: hm-rega.0 State maintenance 6
                      2014-11-10 17:29:32.544  - info: hm-rega.0 State alarms 0
                      2014-11-10 17:29:32.546  - info: hm-rega.0 State maintenance 6
                      2014-11-10 17:30:00.700  - info: controller instance system.adapter.dwd.0 started with pid 13329
                      2014-11-10 17:30:02.494  - info: hm-rega.0 State alarms 0
                      2014-11-10 17:30:02.497  - info: hm-rega.0 State maintenance 6
                      2014-11-10 17:30:02.970  - info: dwd.0 starting. Version 0.1.0
                      2014-11-10 17:30:03.556  - info: dwd.0 setting states
                      2014-11-10 17:30:08.579  - info: controller instance system.adapter.dwd.0 terminated with code 0
                      2014-11-10 17:30:32.535  - info: hm-rega.0 State alarms 0
                      2014-11-10 17:30:32.538  - info: hm-rega.0 State maintenance 6
                      2014-11-10 17:31:02.559  - info: hm-rega.0 State alarms 0
                      2014-11-10 17:31:02.562  - info: hm-rega.0 State maintenance 6
                      

                      Anscheinend läuft alles.

                      Habe dann (ohne zu wissen was ich mache) nach Befragen von Tante google mal netstat -tulpen auf der CuBox gestartet:

                      root@cubox-i:/opt/iobroker# netstat -tulpen
                      Active Internet connections (only servers)
                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
                      tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      104        4302        2483/redis-server
                      tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      0          5740        2790/io.hm-rpc.0
                      tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      1000       687         2269/ccu.io
                      tcp        0      0 0.0.0.0:2101            0.0.0.0:*               LISTEN      1000       713         2269/ccu.io
                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          680         2661/sshd
                      tcp        0      0 0.0.0.0:1880            0.0.0.0:*               LISTEN      0          8170        2812/node-red
                      tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN      0          5873        2798/io.legacy.0
                      tcp        0      0 0.0.0.0:5984            0.0.0.0:*               LISTEN      105        5490        2224/beam.smp
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          682         2661/sshd
                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          4148        1670/dhclient
                      udp        0      0 192.168.xxx.yyy:123       0.0.0.0:*                           0          4319        2491/ntpd
                      udp        0      0 127.0.0.1:123           0.0.0.0:*                           0          4318        2491/ntpd
                      udp        0      0 0.0.0.0:123             0.0.0.0:*                           0          1716        2491/ntpd
                      udp        0      0 0.0.0.0:26940           0.0.0.0:*                           0          4129        1670/dhclient
                      udp6       0      0 :::49116                :::*                                0          4130        1670/dhclient
                      udp6       0      0 fe80::d263:b4ff:fe0:123 :::*                                0          4321        2491/ntpd
                      udp6       0      0 ::1:123                 :::*                                0          4320        2491/ntpd
                      udp6       0      0 :::123                  :::*                                0          1717        2491/ntpd
                      
                      

                      Wenn ich das richtig interpretiere lauscht der nicht mehr auf :8081

                      (:8080 ist ccu.io)

                      ein apt-get update && apt-get upgrade brachte nichts.

                      Ein aktuelles ioBroker update ist nicht da.

                      Soll ich den mal platt machen??

                      Wäre kein Problem, dann kann ich auch das Manual nochmal live überprüfen.

                      Gruß

                      Rainer

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

                        jetzt habe ich auch mal den cubie mit ./iobroker update

                        root@cubie:/opt/iobroker# ./iobroker update
                        Cannot get version of "virtual".
                        Cannot get version of "geofency".
                        update done
                        Adapter    "zwave"         : 0.0.8
                        Adapter    "yr"            : 0.0.4
                        Adapter    "websocket"     : 0.0.1
                        Adapter    "web"           : 0.0.2
                        Adapter    "virtual"
                        Adapter    "sonos"         : 0.0.3
                        Adapter    "rickshaw"      : 0.0.0
                        Adapter    "pushover"      : 0.0.3
                        Adapter    "onkyo"         : 0.0.4
                        Adapter    "telnet"        : 0.0.0
                        Adapter    "socketio"      : 0.0.1
                        Adapter    "mqtt"          : 0.1.0
                        Adapter    "mobile"        : 0.0.2
                        Adapter    "legacy"        : 0.1.8    , installed 0.1.8
                        Adapter    "knx"           : 0.0.1
                        Controller "js-controller" : 0.0.35   , installed 0.0.31 [Updateable]
                        Adapter    "javascript"    : 0.1.1
                        Adapter    "hue"           : 0.1.4
                        Adapter    "hm-rpc"        : 0.2.5    , installed 0.2.5
                        Adapter    "hm-rega"       : 0.1.8    , installed 0.1.8
                        Adapter    "history"       : 0.0.7
                        Adapter    "highcharts"    : 0.0.0
                        Adapter    "graphite"      : 0.1.0
                        Adapter    "geofency"
                        Adapter    "example"       : 0.1.1    , installed 0.1.1
                        Adapter    "email"         : 0.0.3
                        Adapter    "dwd"           : 0.1.0    , installed 0.1.0
                        Adapter    "cul"           : 0.0.2
                        Adapter    "b-control-em"  : 0.0.3
                        Adapter    "artnet"        : 0.0.3
                        Adapter    "admin"         : 0.1.7    , installed 0.1.4 [Updateable]
                        
                        ````und ./iobroker upgrade auf den neusetn Stand bringen wollen.
                        
                        Immerhin komme ich da noch auf die WebUI - Die Datenpunkte der Geräte sind NICHT da.
                        
                        und der errorlog sah so aus:
                        

                        npm http GET https://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz
                        npm WARN optional dep failed, continuing node-windows@0.1.7
                        npm http 200 https://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz
                        npm ERR! Error: ENOTEMPTY, rmdir '/opt/iobroker/node_modules/tar.gz/node_modules'
                        npm ERR! If you need help, you may report this log at:
                        npm ERR! <http: github.com/isaacs/npm/issues="">npm ERR! or email it to:
                        npm ERR! npm-@googlegroups.comnpm ERR! System Linux 3.4.104-sunxi
                        npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "/opt/iobroker" "--production" "--prefix" "/opt/iobroker"
                        npm ERR! cwd /opt/iobroker
                        npm ERR! node -v v0.10.22
                        npm ERR! npm -v 1.3.14
                        npm ERR! path /opt/iobroker/node_modules/tar.gz/node_modules
                        npm ERR! code ENOTEMPTY
                        npm ERR! errno 53
                        npm ERR!
                        npm ERR! Additional logging details can be found in:
                        npm ERR! /opt/iobroker/npm-debug.log
                        npm ERR! not ok code 0
                        Host "cubie" updated
                        npm http GET https://registry.npmjs.org/minimist/0.0.8
                        npm http 200 https://registry.npmjs.org/minimist/0.0.8
                        npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
                        npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
                        npm ERR! Error: ENOENT, chmod '/opt/iobroker/node_modules/tar.gz/bin/targz'
                        npm ERR! If you need help, you may report this log at:
                        npm ERR! <http: github.com/isaacs/npm/issues="">npm ERR! or email it to:
                        npm ERR! npm-@googlegroups.comnpm ERR! System Linux 3.4.104-sunxi
                        npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "/opt/iobroker" "--production" "--prefix" "/opt/iobroker"
                        npm ERR! cwd /opt/iobroker
                        npm ERR! node -v v0.10.22
                        npm ERR! npm -v 1.3.14
                        npm ERR! path /opt/iobroker/node_modules/tar.gz/bin/targz
                        npm ERR! code ENOENT
                        npm ERR! errno 34
                        npm ERR!
                        npm ERR! Additional logging details can be found in:
                        npm ERR! /opt/iobroker/npm-debug.log
                        npm ERR! not ok code 0
                        Host "cubie" updated/npm-@googlegroups.com</http:>/npm-@googlegroups.com</http:>

                        
                        :(
                        
                        Gruß
                        
                        Rainer
                        1 Reply Last reply Reply Quote 0
                        • Bluefox
                          Bluefox last edited by

                          @Homoran:

                          jetzt habe ich auch mal den cubie mit ./iobroker update

                          😞

                          Gruß

                          Rainer `
                          Kannst du folgendes ausführen:

                          cd /opt/iobroker/node_modules/
                          sudo rm -R *
                          cd ..
                          npm install --production
                          
                          

                          Dann sollte das Problem behoben sein.

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

                            Leider nein,

                            erst kam ein Fehler:

                            root@cubie:/opt/iobroker# npm install --production
                            npm http GET https://registry.npmjs.org/node.extend
                            npm http GET https://registry.npmjs.org/redis
                            npm http GET https://registry.npmjs.org/hiredis
                            npm http GET https://registry.npmjs.org/request
                            npm http GET https://registry.npmjs.org/winston
                            npm http GET https://registry.npmjs.org/yargs
                            npm http GET https://registry.npmjs.org/mime
                            npm http GET https://registry.npmjs.org/tar.gz
                            npm http GET https://registry.npmjs.org/node-windows
                            npm http GET https://registry.npmjs.org/adm-zip
                            npm http GET https://registry.npmjs.org/daemonize2
                            npm http GET https://registry.npmjs.org/ncp
                            npm http GET https://registry.npmjs.org/nano
                            npm http GET https://github.com/hobbyquaker/node-schedule/tarball/master
                            npm http 304 https://registry.npmjs.org/node.extend
                            npm http 304 https://registry.npmjs.org/yargs
                            npm http 304 https://registry.npmjs.org/hiredis
                            npm http 304 https://registry.npmjs.org/mime
                            npm http 304 https://registry.npmjs.org/tar.gz
                            npm http 304 https://registry.npmjs.org/adm-zip
                            npm http 200 https://registry.npmjs.org/winston
                            npm http 200 https://registry.npmjs.org/redis
                            npm http 200 https://registry.npmjs.org/request
                            npm http 503 https://registry.npmjs.org/daemonize2
                            [b][color]npm ERR! registry error parsing json[/color][/b]
                            npm http 304 https://registry.npmjs.org/ncp
                            npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/master
                            npm http 304 https://registry.npmjs.org/node-windows
                            npm http 200 https://registry.npmjs.org/nano
                            npm http GET https://registry.npmjs.org/daemonize2
                            npm http 304 https://registry.npmjs.org/daemonize2
                            npm WARN optional dep failed, continuing node-windows@0.1.7
                            npm http GET https://registry.npmjs.org/is
                            npm http 304 https://registry.npmjs.org/is
                            npm http GET https://registry.npmjs.org/fstream
                            npm http GET https://registry.npmjs.org/tar
                            npm http GET https://registry.npmjs.org/commander
                            npm http 304 https://registry.npmjs.org/fstream
                            npm http 304 https://registry.npmjs.org/tar
                            npm http 304 https://registry.npmjs.org/commander
                            npm http GET https://registry.npmjs.org/keypress
                            npm http 304 https://registry.npmjs.org/keypress
                            npm http GET https://registry.npmjs.org/node-uuid
                            npm http GET https://registry.npmjs.org/aws-sign2
                            npm http GET https://registry.npmjs.org/stringstream
                            npm http GET https://registry.npmjs.org/tough-cookie
                            npm http GET https://registry.npmjs.org/form-data
                            npm http GET https://registry.npmjs.org/tunnel-agent
                            npm http GET https://registry.npmjs.org/http-signature
                            npm http GET https://registry.npmjs.org/oauth-sign
                            npm http GET https://registry.npmjs.org/hawk/1.1.1
                            npm http GET https://registry.npmjs.org/qs
                            npm http GET https://registry.npmjs.org/json-stringify-safe
                            npm http GET https://registry.npmjs.org/mime-types
                            npm http GET https://registry.npmjs.org/forever-agent
                            npm http GET https://registry.npmjs.org/minimist
                            npm http 304 https://registry.npmjs.org/aws-sign2
                            npm http 304 https://registry.npmjs.org/stringstream
                            npm http 304 https://registry.npmjs.org/tough-cookie
                            npm http 304 https://registry.npmjs.org/tunnel-agent
                            npm http 304 https://registry.npmjs.org/oauth-sign
                            npm http 200 https://registry.npmjs.org/node-uuid
                            npm http 304 https://registry.npmjs.org/hawk/1.1.1
                            npm http 200 https://registry.npmjs.org/form-data
                            npm http 304 https://registry.npmjs.org/qs
                            npm http 304 https://registry.npmjs.org/http-signature
                            npm http 304 https://registry.npmjs.org/json-stringify-safe
                            npm http 200 https://registry.npmjs.org/mime-types
                            npm http 304 https://registry.npmjs.org/forever-agent
                            npm http GET https://registry.npmjs.org/graceful-fs
                            npm http GET https://registry.npmjs.org/inherits
                            npm http GET https://registry.npmjs.org/mkdirp
                            npm http GET https://registry.npmjs.org/rimraf
                            npm http 200 https://registry.npmjs.org/minimist
                            npm http 304 https://registry.npmjs.org/inherits
                            npm http 304 https://registry.npmjs.org/mkdirp
                            npm http 304 https://registry.npmjs.org/graceful-fs
                            npm http 304 https://registry.npmjs.org/rimraf
                            npm http GET https://registry.npmjs.org/combined-stream
                            npm http GET https://registry.npmjs.org/async
                            npm http GET https://registry.npmjs.org/nan
                            npm http GET https://registry.npmjs.org/bindings
                            npm http 304 https://registry.npmjs.org/combined-stream
                            npm http 200 https://registry.npmjs.org/async
                            npm http 200 https://registry.npmjs.org/nan
                            npm http 304 https://registry.npmjs.org/bindings
                            npm http GET https://registry.npmjs.org/block-stream
                            npm http 304 https://registry.npmjs.org/block-stream
                            npm http GET https://registry.npmjs.org/assert-plus/0.1.2
                            npm http GET https://registry.npmjs.org/asn1/0.1.11
                            npm http GET https://registry.npmjs.org/ctype/0.5.2
                            npm http 304 https://registry.npmjs.org/asn1/0.1.11
                            npm http
                            
                            

                            Dann blieb er hängen.

                            sonst mach ich den auch noch platt - aber nicht mehr heute 😉

                            Gruß

                            Rainer

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

                              An alle, die jetzt neuen "admin" Adapter installiert haben, bevor js-controller upgedatet wurde;

                              bitte in der Konsole:

                              cd /opt/iobroker
                              node iobroker.js upgrade self
                              
                              

                              ausführen.

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

                                …und danach wieder

                                chmod +x iobroker 
                                

                                :mrgreen:

                                und

                                reboot

                                und ./iobroker start

                                Das log in der Webui sah dann so aus:

                                admin.0	2014-11-10 22:46:09	info	admin.0 received all objects
                                cubie	2014-11-10 22:46:08	error	Invalid request getInstalled. "callback" or "from" is null
                                cubie	2014-11-10 22:46:08	error	Invalid request getRepository. "callback" or "from" is null
                                admin.0	2014-11-10 22:46:09	info	admin.0 received all objects
                                admin.0	2014-11-10 22:46:07	info	admin.0 received all states
                                

                                Alle io-Datenpunkte der Geräte sind da - aber nicht in der Auswahlbox von dashui 😞

                                Ich mach den dann auch nochmal platt

                                Gute Nacht

                                Rainer

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

                                  @Homoran:

                                  …und danach wieder

                                  chmod +x iobroker 
                                  

                                  :mrgreen:

                                  und

                                  reboot

                                  und ./iobroker start

                                  Das log in der Webui sah dann so aus:

                                  admin.0	2014-11-10 22:46:09	info	admin.0 received all objects
                                  cubie	2014-11-10 22:46:08	error	Invalid request getInstalled. "callback" or "from" is null
                                  cubie	2014-11-10 22:46:08	error	Invalid request getRepository. "callback" or "from" is null
                                  admin.0	2014-11-10 22:46:09	info	admin.0 received all objects
                                  admin.0	2014-11-10 22:46:07	info	admin.0 received all states
                                  

                                  Alle io-Datenpunkte der Geräte sind da - aber nicht in der Auswahlbox von dashui 😞

                                  Ich mach den dann auch nochmal platt

                                  Gute Nacht

                                  Rainer Kannst du > node iobroker.js backup `
                                  ausführen? Und dann mir die Datei aus /opt/iobroker/backups schicken? dogafox at gmail.com

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

                                    Gut dass ich den noch nicht platt gemacht habe 😉

                                    Backup ist unterwegs

                                    Gruß

                                    Rainer

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

                                      Ich hatte gesehen, dass die Daten nicht mehr refreshed wurden und daraufhin ./ioBroker stop und wieder ./ioBroker start gemacht.

                                      in dem darauf folgenden log versteckte sich:

                                      2014-11-13 19:18:57.537  - [31merror[39m: TypeError: Cannot read property 'UNIT' of undefined
                                          at /opt/iobroker/adapter/hm-rpc/hm-rpc.js:144:74
                                          at /opt/iobroker/lib/couch.js:91:13
                                          at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
                                          at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
                                          at Request.EventEmitter.emit (events.js:98:17)
                                          at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
                                          at Request.EventEmitter.emit (events.js:117:20)
                                          at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
                                          at IncomingMessage.EventEmitter.emit (events.js:117:20)
                                          at _stream_readable.js:920:16</anonymous></anonymous>
                                      

                                      Gruß

                                      Rainer

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

                                        Ich hatte gehofft, dass ihr in einem wohlverdienten Urlaub seid, weil es so ruhig wurde.

                                        Doch jetzt kam wieder ein Update, leider ist der Fehler:

                                        2014-11-16 10:45:27.153  - error: uncaught exception: Cannot read property 'UNIT' of undefined
                                        2014-11-16 10:45:27.171  - error: TypeError: Cannot read property 'UNIT' of undefined
                                            at /opt/iobroker/adapter/hm-rpc/hm-rpc.js:144:74
                                            at /opt/iobroker/lib/couch.js:91:13
                                            at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
                                            at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
                                            at Request.EventEmitter.emit (events.js:98:17)
                                            at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
                                            at Request.EventEmitter.emit (events.js:117:20)
                                            at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
                                            at IncomingMessage.EventEmitter.emit (events.js:117:20)
                                            at _stream_readable.js:920:16
                                        2014-11-16 10:45:27.292  - info: hm-rpc.0 xmlrpc server listening on 0.0.0.0:2000
                                        2014-11-16 10:45:27.293  - info: hm-rpc.0 xmlrpc -> 192.168.xxx.yyy:2001 init ["http://0.0.0.0:2000","hm-rpc.0"]
                                        2014-11-16 10:45:27.486  - error: controller instance system.adapter.hm-rpc.0 terminated with code 6
                                        2014-11-16 10:45:27.487  - info: Restart adapter system.adapter.hm-rpc.0 because enabled
                                        2014-11-16 10:45:56.286  - info: hm-rega.0 State alarms 0
                                        2014-11-16 10:45:56.289  - info: hm-rega.0 State maintenance 4
                                        2014-11-16 10:45:57.518  - info: controller instance system.adapter.hm-rpc.0 started with pid 1728
                                        2014-11-16 10:45:59.654  - info: hm-rpc.0 starting. Version 0.2.5
                                        2014-11-16 10:45:59.726  - error: uncaught exception: Cannot read property 'UNIT' of undefined
                                        2014-11-16 10:45:59.743  - error: TypeError: Cannot read property 'UNIT' of undefined
                                            at /opt/iobroker/adapter/hm-rpc/hm-rpc.js:144:74
                                            at /opt/iobroker/lib/couch.js:91:13
                                            at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
                                            at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
                                            at Request.EventEmitter.emit (events.js:98:17)
                                            at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
                                            at Request.EventEmitter.emit (events.js:117:20)
                                            at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
                                            at IncomingMessage.EventEmitter.emit (events.js:117:20)
                                            at _stream_readable.js:920:16
                                        2014-11-16 10:45:59.902  - info: hm-rpc.0 xmlrpc server listening on 0.0.0.0:2000
                                        2014-11-16 10:45:59.903  - info: hm-rpc.0 xmlrpc -> 192.168.xxx.yyy:2001 init ["http://0.0.0.0:2000","hm-rpc.0"]
                                        2014-11-16 10:46:00.058  - error: controller instance system.adapter.hm-rpc.0 terminated with code 6
                                        2014-11-16 10:46:00.059  - info: Restart adapter system.adapter.hm-rpc.0 because enabled</anonymous></anonymous></anonymous></anonymous> 
                                        

                                        immer noch vorhanden.

                                        Beim Update des Adapter admin bleibt das Install-Fenster zum Schluss offen

                                        $ ./iobroker upgrade admin
                                        download https://github.com/ioBroker/ioBroker.admin/archive/master.zip
                                        downloaded /opt/iobroker/lib/../tmp/admin.zip
                                        unzip /opt/iobroker/lib/../tmp/admin.zip
                                        copying /opt/iobroker/tmp/admin/ioBroker.admin-master to /opt/iobroker/adapter/admin(Version: 0.1.9)
                                        delete /opt/iobroker/tmp/admin
                                        npm install "/opt/iobroker/adapter/admin" --production --prefix "/opt/iobroker/adapter/admin"
                                        got /opt/iobroker/adapter/admin/admin
                                        upload admin.admin /opt/iobroker/adapter/admin/admin/index.html index.html text/html
                                        upload admin.admin /opt/iobroker/adapter/admin/admin/admin.png admin.png image/png
                                        Adapter "admin" updated
                                        

                                        Gruß

                                        Rainer

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

                                          @Homoran:

                                          Ich hatte gehofft, dass ihr in einem wohlverdienten Urlaub seid, weil es so ruhig wurde.

                                          Doch jetzt kam wieder ein Update, leider ist der Fehler: `
                                          War leider krank.

                                          @Homoran:

                                          2014-11-16 10:45:27.153  - error: uncaught exception: Cannot read property 'UNIT' of undefined
                                          
                                          ```` `  
                                          

                                          Habe gerade hm-rpc upgedated. Was sagt adapter jetzt?

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

                                            @Bluefox:

                                            War leider krank. `
                                            Dann erst mal: Gute Besserung!!!

                                            @Bluefox:

                                            Habe gerade hm-rpc upgedated. Was sagt adapter jetzt? `
                                            :oops: :oops: Ich hatte heute Mittag die Cubox plattgemacht und neu aufgesetzt. Danach kam der Fehler nicht mehr. :oops: :oops:

                                            Beim Cubietruck läuft der Neustart nach dem aktuellen update ohne Probleme durch.

                                            Bei der Cubox ebenfalls.

                                            In dashui sehe ich immer noch nicht die Datenpunkte der Geräte (weder bei CT noch bei der Cubox 😞 )

                                            Nach dem Neuaufsetzen startete der log im admin aber erst nach ./iobroker stop und wieder start.

                                            Außerdem muss man nach dem Update des js-controller (immer noch 😉 ) chmod +x iobroker auf der Konsole eingeben, damit man stoppen und starten kann.

                                            Führt das beim Update aus dem Admin nicht zu Problemen, wenn man erst den controller und dann die Adapter updated?

                                            Gruß

                                            Rainer

                                            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

                                            633
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            19
                                            176
                                            39468
                                            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