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

      Nach dem heutigen git pull war immer noch die Fehlermeldung "admin.0 port missing und der damit verbundene Versuch alle 20-30sec. den Adapter neu zu starten da.

      Auch eine Rücksetzung des Ports auf 8080 half nicht.

      ich habe daraufhin versucht den adapter mit ./iobroker del admin.0 zu löschen - was anscheinend auch geklappt hat.

      Der Versuch den Adapter mit ./iobroker add admin –enabled neu zu installieren endete mit der Meldung:

      root@cubie:/opt/iobroker# ./iobroker add admin --enabled
      
      module.js:340
          throw err;
                ^
      Error: Cannot find module 'mime'
          at Function.Module._resolveFilename (module.js:338:15)
          at Function.Module._load (module.js:280:25)
          at Module.require (module.js:364:17)
          at require (module.js:380:17)
          at Object. <anonymous>(/opt/iobroker/setup.js:96:25)
          at Module._compile (module.js:456:26)
          at Object.Module._extensions..js (module.js:474:10)
          at Module.load (module.js:356:32)
          at Function.Module._load (module.js:312:12)
          at Module.require (module.js:364:17)</anonymous> 
      

      auch ein Versuch mit ./iobroker del admin (ohne.0) zu löschen ergab zwar die Löschung von weiteren 4 objects von admin, die Fehlermeldung mein Versuch der neuinstallation war jedoch die gleiche.

      Gruß

      Rainer

      PS ich denke ich werde mal eine neue Komplettinstallation machen - oder?

      EDIT:

      neue Komplettinstallation - sieht ja ganz anders aus; Da kommt man ja mit dem Testen gar nicht nach - was ihr da ständig neu einbaut;

      Bei der Installation nur die Warnhinweise wegen der Versionsnummern von node;

      bei iobroker update gab es eine Fehlermeldung, dass ein Ordner nicht existiert, war leider aus dem Zwischenspeicher weg;

      Habe jetzt admin, 2x rega und 2x rpc.

      Habe alle (?) Datenpunkte auch die live-Punkte

      Habe dann noch den legacy adapter installiert - immer mit code 8 beendet - und hat das gesamte ioBroker abgeschossen - wieder deinstalliert

      SPITZE!!

      1 Reply Last reply Reply Quote 0
      • T
        Trident last edited by

        Hallo zusammen,

        habe mir heute meinen neuen Cubietruck bestellt. Bin mir aber noch nicht sicher, welche Debian Distribution ich am besten installiere.

        Welche habt Ihr im Einsatz?

        Danke vorab und ich freu mich aufs testen! 😉

        Viele Grüße

        Trident

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

          Hallo,

          ich benutze http://www.igorpecovnik.com/2013/12/24/ … ard-image/

          die ist jedoch "headless" = keine grafische Oberfläche, dafür sauschnell!

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • T
            Trident last edited by

            Hi,

            so mein Cubietruck ist installiert (gleiche Distribution wie Homoran).

            Bin auch schon soweit, dass ich Adapter installieren konnte und ioBroker ist über das Webinterface erreichbar. Leider stürzen die Adapter bei mir direkt wieder ab!

            014-08-20 18:43:28.768  - info: controller instance system.adapter.hm-rpc.0 started with pid 3841
            2014-08-20 18:43:31.333  - error: controller instance system.adapter.hm-rega.0 terminated with code 8
            2014-08-20 18:43:32.058  - warn: controller instance system.adapter.hm-rpc.0 already running with pid 3841
            2014-08-20 18:43:32.381  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
            2014-08-20 18:43:38.201  - info: controller instance system.adapter.hm-rpc.0 started with pid 3847
            2014-08-20 18:43:41.203  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
            2014-08-20 18:43:42.752  - info: controller instance system.adapter.hm-rega.0 started with pid 3849
            2014-08-20 18:43:43.270  - info: controller instance system.adapter.hm-rpc.0 started with pid 3851
            2014-08-20 18:43:46.880  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
            2014-08-20 18:43:46.925  - error: controller instance system.adapter.hm-rega.0 terminated with code 8
            

            geht immer so weiter … werde jetzt ioBroker nochmal stoppen 😉

            Jemand eine Idee?

            Viele Grüße

            Trident

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

              hatte ich auch schon nach reboot lief es wieder;

              alleine iobroker stop - couchdb restart - iobroker start hatte nicht geholfen

              Viel Glück

              Rainer

              1 Reply Last reply Reply Quote 0
              • T
                Trident last edited by

                Hi,

                kurz zur Info: Neustart des Cubietruck brachte keine Verbesserung…

                Viele Grüße

                Trident

                1 Reply Last reply Reply Quote 0
                • T
                  Trident last edited by

                  Ich bin es nochmal:

                  Nach ein bisschen Lesen im Nachbar-Thema "Installation auf Raspi" habe ich versucht das installations shell-file zu starten.

                  Dabei kamen diesmal leider ein paar Fehlermeldungen:

                  gyp ERR! build error 
                  gyp ERR! stack Error: not found: make
                  gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
                  gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
                  gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
                  gyp ERR! stack     at Object.oncomplete (fs.js:107:15)
                  gyp ERR! System Linux 3.4.101-sun7i+
                  gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                  gyp ERR! node -v v0.10.22
                  gyp ERR! node-gyp -v v0.11.0
                  gyp ERR! not ok 
                  npm WARN optional dep failed, continuing hiredis@0.1.17
                  object system.group.user created
                  object system.group.administrator created
                  object _design/system created
                  object system.user.admin created
                  database setup done. you can add adapters and start iobroker now
                  loading system.adapter.*
                  loading conf/sources.json
                  loading conf/sources-dist.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.yr/master/io-package.json
                  http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.yr/master/io-package.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.mobile/master/io-package.json
                  http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.mobile/master/io-package.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.legacy/master/io-package.json
                  http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.legacy/master/io-package.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.hue/master/io-package.json
                  http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.hue/master/io-package.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rpc/master/io-package.json
                  http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rpc/master/io-package.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rega/master/io-package.json
                  http 200 https://raw.githubusercontent.com/ioBroker/ioBroker.hm-rega/master/io-package.json
                  http GET https://raw.githubusercontent.com/ioBroker/ioBroker.dwd/master/io-package.json
                  http 404 https://raw.githubusercontent.com/ioBroker/ioBroker.dwd/master/io-package.json
                  http GET https://raw.githubusercontent.com/hobbyquaker/ioBroker.cul/master/io-package.json
                  http 200 https://raw.githubusercontent.com/hobbyquaker/ioBroker.cul/master/io-package.json
                  update done
                  
                  

                  Der "Code 8"-Fehler besteht leider weiterhin … Wenn ihr weitere Infos braucht --> Einfach melden 😉

                  Viele Grüße

                  Trident

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

                    Habe jetzt auf einem BananaPi versucht ioBroker zu installieren.

                    Wenn's mehr wird mache ich dafür eine extra thread auf 😉

                    OS: Bananian mit Kernel 3.90

                    geht eigentlich ganz gut, lediglich bei npm install –production gibt es bösen Ärger:

                    root@bananapi /opt/iobroker (git)-[master] # npm install --production
                    npm WARN package.json daemonize2@0.4.2 No repository field.
                    npm http GET https://registry.npmjs.org/node-windows
                    npm http GET https://registry.npmjs.org/hiredis
                    npm http GET https://github.com/hobbyquaker/node-schedule/tarball/master
                    npm http 304 https://registry.npmjs.org/hiredis
                    npm http 304 https://registry.npmjs.org/node-windows
                    npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/master
                    npm WARN optional dep failed, continuing node-windows@0.1.5
                    npm http GET https://registry.npmjs.org/nan
                    npm http GET https://registry.npmjs.org/bindings
                    npm http 304 https://registry.npmjs.org/nan
                    npm http 304 https://registry.npmjs.org/bindings
                    
                    > hiredis@0.1.17 install /opt/iobroker/node_modules/hiredis
                    > node-gyp rebuild
                    
                    make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
                      CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
                    make: cc: Command not found
                    make: *** [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 127
                    make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
                    gyp ERR! build error
                    gyp ERR! stack Error: `make` failed with exit code: 2
                    gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
                    gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
                    gyp ERR! System Linux 3.4.90
                    gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                    gyp ERR! node -v v0.10.22
                    gyp ERR! node-gyp -v v0.11.0
                    gyp ERR! not ok
                    npm WARN optional dep failed, continuing hiredis@0.1.17
                    npm install --production  15.78s user 2.17s system 87% cpu 20.571 total
                    
                    

                    Anschließend auch hier terminating system.adapter.admin.0 with code 8

                    keine anderen Adapter installiert

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • Eisbaeeer
                      Eisbaeeer Developer last edited by

                      Sorry Leute. Meint ihr es macht im Moment schon Sinn, zu testen?

                      Lasst doch HQ und Bluefox noch Zeit, das in die Alpha Version zu bringen. Dann geht die Testerei erst los. Warum meint Ihr, dass sich keiner der zwei meldet? Es ist noch zu früh.

                      Gruß Eisbaeeer

                      Gesendet von meinem Z30 mit Tapatalk

                      1 Reply Last reply Reply Quote 0
                      • T
                        Trident last edited by

                        Hi Eisbaeeer,

                        ich erwarte zur jetzigen Zeit auch keine Reaktion der zwei … Stört doch auch niemanden, wenn wir hier testen. Vielleicht freut es die beiden ja auch, dass es schon erste begeisterte Tester gibt 😉

                        Vielleicht helfen unsere Hinweise - und falls nicht bekommen die beiden das bestimmt ausgeblendet.

                        Viele Grüße und noch einen schönen Abend

                        Trident

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

                          @Eisbaeeer:

                          Sorry Leute. Meint ihr es macht im Moment schon Sinn, zu testen?

                          Lasst doch HQ und Bluefox noch Zeit, das in die Alpha Version zu bringen. Dann geht die Testerei erst los. Warum meint Ihr, dass sich keiner der zwei meldet? Es ist noch zu früh.

                          Gruß Eisbaeeer

                          Gesendet von meinem Z30 mit Tapatalk `

                          das ist mir schon klar, ich denke nur, dass die zwei sich über input "freuen" um nicht alleine nach Fehlern suchen zu müssen.

                          Immerhin wird hier mit verschiedenster Hardware und OS "getestet".

                          Aber vielleicht sollten sich die zwei dazu äußern. Wenn unsere Inputs nerven sollten habe ich kein Problem damit erst einmal aufzuhören

                          Gruß

                          Rainer

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

                            @Homoran:

                            @Eisbaeeer:

                            Sorry Leute. Meint ihr es macht im Moment schon Sinn, zu testen?

                            Lasst doch HQ und Bluefox noch Zeit, das in die Alpha Version zu bringen. Dann geht die Testerei erst los. Warum meint Ihr, dass sich keiner der zwei meldet? Es ist noch zu früh.

                            Gruß Eisbaeeer

                            Gesendet von meinem Z30 mit Tapatalk `

                            das ist mir schon klar, ich denke nur, dass die zwei sich über input "freuen" um nicht alleine nach Fehlern suchen zu müssen.

                            Immerhin wird hier mit verschiedenster Hardware und OS "getestet".

                            Aber vielleicht sollten sich die zwei dazu äußern. Wenn unsere Inputs nerven sollten habe ich kein Problem damit erst einmal aufzuhören

                            Gruß

                            Rainer `
                            Also Eisbaeeer hat Recht und Trident hat recht. Man darf jetzt nicht erwarten, dass es laufen wird. Obwohl die Fehlermeldungen, die hier gepostet waren haben schon uns geholfen die Probleme zu erkennen und zu beseitigen.

                            Fazit: es ist toll, dass jemand schon auf so einem frühen Stadium die Software testet, man darf aber nicht auf sofortige Reaktion warten. Wir müssen noch sehr viel machen, bis wir 0.1.0 erreichen 🙂

                            Frage, gibt es Sinn ein LXC Container oder sogar http://docker.io/ Container vorbereiten, damit man eine Umgebung hat, wo mindestens irgendwas läuft? Kennt jemand überhaupt LXC und Docker?

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

                              Hallo bluefox - mal die Finger von der Tastatur genommen?

                              -ach nein, dann hättest du den post nicht tippen können 😉

                              @Bluefox:

                              man darf aber nicht auf sofortige Reaktion warten. `
                              Ich denke das ist der Kernpunkt!

                              @Bluefox:

                              Kennt jemand überhaupt LXC und Docker? `
                              mit ersterem läuft bei mir die LXCCU (auf zwei rechnern), die auch wunderbar vom hm-rega und hm-rpc adapter erkannt werden.

                              benötigt aber lxc-fähigen Kernel (hat RasPi und bei Cubie ist es in Igor Pecovniks Image enthalten, bei BananaPi lief es in RaspBian 3.0, in 3.1.1 hab ich noch Probleme damit)

                              letzteres ist mir nicht bekannt, heisst aber nichts, da ich erst seit 1/2 Jahr mich in Linux einarbeite.

                              Aber vielleicht nimmst du diesbezüglich mal mit bullshit im HM-Forum kontakt auf, der hat mit PaulG4H die LXCCU gebastelt

                              Gruß

                              Rainer
                              48_img_007.png

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

                                aktueller Stand nach update und git pull:

                                system.adapter.admin.0 steigt weiter mit Code 8 aus, der Rest (hm-Rega.0 und .1 und hm-rpc.0 und.1 laufen) anscheinend.

                                neue adapter sind eingespielt, nur ohne admin kann ich es nicht überprüfen 😞

                                Habe nochmals npm install –production durchlaufen lassen, diesmal mit folgender Fehlermeldung:

                                root@cubie:/opt/iobroker# npm install --production
                                npm WARN package.json daemonize2@0.4.2 No repository field.
                                npm http GET https://registry.npmjs.org/node-windows
                                npm http GET https://registry.npmjs.org/hiredis
                                npm http GET https://github.com/hobbyquaker/node-schedule/tarball/master
                                npm http 304 https://registry.npmjs.org/node-windows
                                npm http 304 https://registry.npmjs.org/hiredis
                                npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/master
                                npm WARN optional dep failed, continuing node-windows@0.1.5
                                npm http GET https://registry.npmjs.org/nan
                                npm http GET https://registry.npmjs.org/bindings
                                npm http 304 https://registry.npmjs.org/nan
                                npm http 304 https://registry.npmjs.org/bindings
                                
                                > hiredis@0.1.17 install /opt/iobroker/node_modules/hiredis
                                > node-gyp rebuild
                                
                                make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
                                  CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
                                make: cc: Command not found
                                make: *** [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 127
                                make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
                                gyp ERR! build error
                                gyp ERR! stack Error: `make` failed with exit code: 2
                                gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
                                gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
                                gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
                                gyp ERR! System Linux 3.4.101-sun7i+
                                gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                                gyp ERR! node -v v0.10.22
                                gyp ERR! node-gyp -v v0.11.0
                                gyp ERR! not ok
                                npm WARN optional dep failed, continuing hiredis@0.1.17
                                
                                

                                Viel Glück

                                Rainer

                                EDIT:

                                Habe den admin-Adapter gelöscht mit ./iobroker del admin.

                                kamen folgende Fehlermeldungen:

                                root@cubie:/opt/iobroker# ./iobroker del admin
                                { [Error: missing]
                                  name: 'Error',
                                  scope: 'couch',
                                  status_code: 404,
                                  'status-code': 404,
                                  request:
                                   { method: 'GET',
                                     headers:
                                      { 'content-type': 'application/json',
                                        accept: 'application/json' },
                                     uri: 'http://localhost:5984/iobroker/_design/admin/_view/state',
                                     jar: false },
                                  headers:
                                   { date: 'Fri, 22 Aug 2014 18:44:03 GMT',
                                     'content-type': 'application/json',
                                     'cache-control': 'must-revalidate',
                                     'status-code': 404,
                                     uri: 'http://localhost:5984/iobroker/_design/admin/_view/state' },
                                  errid: 'non_200',
                                  error: 'not_found',
                                  reason: 'missing',
                                  description: 'missing',
                                  stacktrace:
                                   [ 'Error: missing',
                                     '    at Request._callback (/opt/iobroker/node_modules/nano/nano.js:319:39)',
                                     '    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',
                                     '    at process._tickCallback (node.js:415:13)' ] }
                                deleted 5 instances of admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                delete /opt/iobroker/adapter/admin
                                deleted 11 adapters for admin
                                deleted 2 system.states of admin</anonymous></anonymous> 
                                

                                Nach Neuinstallation ./iobroker add admin läuft jetzt das WebUI wieder!!

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Trident last edited by

                                  Hi,

                                  Auch bei mir nun kein Code 8 mehr.

                                  Im Log steht auch, dass variable und räume etc. Gesynct wurden!

                                  Jedoch sehe ich im Web-Admin noch keine States !

                                  Viele Grüße

                                  Trident
                                  709_screenbackup.jpg
                                  709_screen_backup.jpg

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

                                    make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
                                      CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
                                    make: cc: Command not found
                                    make: *** [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 127
                                    make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
                                    gyp ERR! build error
                                    gyp ERR! stack Error: `make` failed with exit code: 2
                                    gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
                                    gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
                                    gyp ERR! System Linux 3.4.101-sun7i+
                                    gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                    gyp ERR! cwd /opt/iobroker/node_modules/hiredis
                                    gyp ERR! node -v v0.10.22
                                    gyp ERR! node-gyp -v v0.11.0
                                    gyp ERR! not ok
                                    npm WARN optional dep failed, continuing hiredis@0.1.17
                                    
                                    

                                    Das hier ist nicht schlimm. Es gibt zwei Nöglichkeiten, wie man aus redis die Daten liest:

                                    • Über RestAPI (http://127.0.0.1/redis/get/system.admin) oder

                                    • Über Native C Kode - Redis API.

                                    Hiredis ist RedisAPI und ist nicht zwingend erforderlich für die Kommunikation mit Redis. Es sollte schneller sein, als RestFULL, aber für unsere Applikation ist nicht erforderlich.

                                    Unter Windows gibt es auch keine Möglichkeit Hiredis zu übersetzen.

                                    root@cubie:/opt/iobroker# ./iobroker del admin
                                    { [Error: missing]
                                      name: 'Error',
                                      scope: 'couch',
                                      status_code: 404,
                                      'status-code': 404,
                                      request:
                                       { method: 'GET',
                                         headers:
                                          { 'content-type': 'application/json',
                                            accept: 'application/json' },
                                         uri: 'http://localhost:5984/iobroker/_design/admin/_view/state',
                                         jar: false },
                                      headers:
                                       { date: 'Fri, 22 Aug 2014 18:44:03 GMT',
                                         'content-type': 'application/json',
                                         'cache-control': 'must-revalidate',
                                         'status-code': 404,
                                         uri: 'http://localhost:5984/iobroker/_design/admin/_view/state' },
                                      errid: 'non_200',
                                      error: 'not_found',
                                      reason: 'missing',
                                      description: 'missing',
                                      stacktrace:
                                       [ 'Error: missing',
                                         '    at Request._callback (/opt/iobroker/node_modules/nano/nano.js:319:39)',
                                         '    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',
                                         '    at process._tickCallback (node.js:415:13)' ] }
                                    deleted 5 instances of admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    delete /opt/iobroker/adapter/admin
                                    deleted 11 adapters for admin
                                    deleted 2 system.states of admin</anonymous></anonymous> 
                                    

                                    Diese Fehlermeldung ist auch gefixt. Danke ans Melden. Da war Fehler drin.

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

                                      @Trident:

                                      Hi,

                                      Auch bei mir nun kein Code 8 mehr.

                                      Im Log steht auch, dass variable und räume etc. Gesynct wurden!

                                      Jedoch sehe ich im Web-Admin noch keine States !

                                      Viele Grüße

                                      Trident `
                                      Läuft bei dir DashUI? Will nur ausschließen, das es nicht grundsätzliches Problem mit WebSockets ist.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Trident last edited by

                                        Hi Bluefox,

                                        auf meinem Cubietruck habe das bisher noch nicht getestet. Kann ich gerne heute Abend machen und Feedback geben. Ich gehe davon aus, dass die Installation mit "./iobroker add adapter …" funktioniert?

                                        Meine derzeitige "operative" CCU.IO Installation liegt nicht auf dem Cubie sondern auf meinem "alten" Raspi - daher kann ich das spontan nicht beantworten.

                                        Ich werde heute Abend ein bisschen testen und mich nochmal melden!

                                        Viele Grüße

                                        Trident

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Trident last edited by

                                          Hallo zusammen,

                                          leider habe ich mit meinem testen wohl die Installation nachhaltig zerschossen. Es kommt jetzt Immer ein Code 1 beim Start der Adapter. Eine einfache Neuinstallation hat das Problem nicht behoben.
                                          ` > 2014-08-26 21:00:29.274 - error: controller instance system.adapter.admin.0 terminated with code 1

                                          2014-08-26 21:00:58.098 - info: controller instance system.adapter.hm-rpc.0 started with pid 6524

                                          2014-08-26 21:00:59.301 - info: controller instance system.adapter.admin.0 started with pid 6528

                                          2014-08-26 21:01:04.256 - error: controller instance system.adapter.hm-rpc.0 terminated with code 1

                                          2014-08-26 21:01:07.238 - error: controller instance system.adapter.admin.0 terminated with code 1

                                          2014-08-26 21:01:34.275 - info: controller instance system.adapter.hm-rpc.0 started with pid 6547

                                          2014-08-26 21:01:37.254 - info: controller instance system.adapter.admin.0 started with pid 6549

                                          2014-08-26 21:01:37.598 - error: controller instance system.adapter.hm-rpc.0 terminated with code 1

                                          2014-08-26 21:01:43.317 - error: controller instance system.adapter.admin.0 terminated with code 1

                                          2014-08-26 21:01:48.506 - info: controller object change system.adapter.admin.0 `

                                          Ich werde die Tage in Ruhe nochmal ganz von vorne anfangen 😉

                                          Viele Grüße

                                          Trident

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Trident last edited by

                                            Kurze Ergänzung: Bei der Neuinstallation und dem Command "npm install –production" kam der folgende Auszug (Teil mit der Warnung):

                                            npm http 304 https://registry.npmjs.org/oauth-sign
                                            npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
                                            npm http GET https://registry.npmjs.org/combined-stream
                                            npm http 304 https://registry.npmjs.org/combined-stream
                                            npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
                                            npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
                                            npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
                                            npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
                                            npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
                                            npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
                                            
                                            

                                            Der Rest lief (zumindest was die Anzeigen angeht) gut durch. Vielleicht ist es ja interessant…

                                            Viele Grüße

                                            Trident

                                            Edit: Nach der Installation wieder das "Code 8" Problem...

                                            Edit 2: Scheinbar habe ich noch "Reste" der alten Installation ... Er gibt nun folgende Meldung im Log:

                                            2014-08-26 21:52:32.704  - warn: controller stopInstance system.adapter.hm-rpc.0 not running
                                            2014-08-26 21:52:42.716  - info: controller force terminated after 10s
                                            2014-08-26 21:52:49.019  - info: ioBroker.nodejs version 0.0.16 io.controller starting
                                            2014-08-26 21:52:49.036  - info: Copyright (c) 2014 hobbyquaker, bluefox
                                            2014-08-26 21:52:49.038  - info: controller hostname: cubie
                                            2014-08-26 21:52:49.038  - info: controller ip addresses: xxx.xxx.xxx.xx yyy
                                            2014-08-26 21:52:51.743  - info: controller 3 instances found
                                            2014-08-26 21:52:51.747  - info: controller starting 3 instances
                                            2014-08-26 21:52:51.783  - info: controller instance system.adapter.admin.0 started with pid 3005
                                            2014-08-26 21:52:52.449  - error: controller instance system.adapter.admin.0 terminated with code 8
                                            2014-08-26 21:52:55.778  - info: controller instance system.adapter.admin.1 started with pid 3008
                                            2014-08-26 21:52:56.282  - error: controller instance system.adapter.admin.1 terminated with code 8
                                            2014-08-26 21:52:59.773  - info: controller instance system.adapter.hm-rpc.0 started with pid 3010
                                            2014-08-26 21:53:00.199  - error: controller instance system.adapter.hm-rpc.0 terminated with code 8
                                            2014-08-26 21:53:22.474  - info: controller instance system.adapter.admin.0 started with pid 3013
                                            2014-08-26 21:53:22.985  - error: controller instance system.adapter.admin.0 terminated with code 8
                                            2014-08-26 21:53:26.308  - info: controller instance system.adapter.admin.1 started with pid 3015
                                            2014-08-26 21:53:26.798  - error: controller instance system.adapter.admin.1 terminated with code 8
                                            2014-08-26 21:53:30.229  - info: controller instance system.adapter.hm-rpc.0 started with pid 3017
                                            
                                            

                                            Und das nachdem ich das Verzeichnis gelöscht und genau nach Anleitung neuinstalliert habe (bis inklusive des Punkts "Install admin Adapter" –> Aber nicht weiter). Trotzdem kennt Er scheinbar noch den "alten" HM-RPC Adapter. Wahrscheinlich reicht es nicht das Verzeichnis zu löschen... Da werde noch "Reste" in der CouchDB hängen...:)

                                            Das soweit von mir.

                                            Schönen Abend noch!

                                            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

                                            670
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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