NEWS
Installation ioBroker auf Cubietruck
-
Hi,
ich habe das Gefühl, dass die Installation noch etwas anfällig ist. Bei dem Versuch den hm-rega Adapter über das Admin-Interface zu installieren kam es zum oben genannten Fehler. Danach waren jedoch auf einmal alle anderen Instanzen (admin + hm-rpc) weg. Ist da eventuell was in der CouchDB im Datenmodell zerstört worden?
Bei einer Neuinstallation lösche ich derzeit immer alle Einträge der CouchDB und Redis-DB! Sollte in meinem Verständnis notwendig sein, damit keine "alten" Einträge die neue Installation stören, oder?
Bitte nicht missverstehen! Ich will nicht meckern oder so - bei dem aktuellen Stand der Software sind solche Macken normal! Ist wie immer nur ein Hinweis. Vielleicht liegt es ja auch an meiner Installation… Falls nicht, hilft es vielleicht bei der Bug-Suche.
Freu mich schon auf iobroker.vis
Viele Grüße
Trident
-
Hi,
noch ein kurzer Hinweis: Bei der Installation des hm-rega Adapters kommt es zu einer Fehlermeldung (sowohl übers Terminal, als auch übers admin-interface):
npm http 304 https://registry.npmjs.org/boom got /opt/iobroker/adapter/hm-rega/admin upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/index.html index.html text/html upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/homematic.png homematic.png image/png object system.adapter.hm-rega created TypeError: Cannot read property 'name' of undefined at /opt/iobroker/setup.js:660:48 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>
Viele Grüße
Trident
-
Habe jetzt auch den history adapter installiert und auf true gesetzt - meine Daten, die ich loggen wollte füllen sich jedoch nicht.
Dann habe ich die Timestamps der Datenpunkte angesehen.
Die stammen alee vom 03.09.
Seit diesem Datum habe ich das Problem, dass rpc hängen bleibt.
Gruß
Rainer
-
Hi ,
HQ und BF haben ganze Arbeit geleistet. Habe nur die Schritte der manuellen Installation nachvollzogen und es hat alles auf Anhieb geklappt mit Copy & Paste. Die Versionen sind jetzt auch in Farbe für einen informativen Überblick. Das Fundament macht schon einen guten Eindruck.
Danke an Rainer, Trident und John dafür, dass Ihr die größten Stolpersteine beseitigt habt. Bin heute auch von RasPi auf CubieTruck umgestiegen. Jetzt laufen CCU.IO und ioBroker parallel - fehlt nur noch LXCCU.
Gruß akamia
-
Danke an Rainer, Trident und John dafür, dass Ihr die größten Stolpersteine beseitigt habt. `
Die Stolpersteine beseitigen HQ und Bluefox - nicht ich.Ich hab jetzt meine Installation mal platt gemacht, nachdem mein rpc-Adapter die Daten seit dem 03.09. nicht mehr updatete.
jetzt gab es andere Probleme.
Installation lief schön durch. Ohne ERROR-Meldungen.
Ich habe auch jetzt die schönen "bunten" Administrationsseiten, und die Einstellungen im WebUI werden auch in die CouchDB übernommen - zumindest fast alle.
Ich habe erst einmal einen hm-rega, einen hm-rpc und den history-Adapter angelegt.
leider erscheint der hm-rega weder unter instances:
noch in der couchDB:
der log auf dem Cubie sah so aus:
2014-09-14 12:33:36.568 - info: admin.0 iobroker add hm-rega 2014-09-14 12:33:38.475 - info: admin.0 iobroker download https://github.com/ioBroker/ioBroker.hm-rega/archive/master.zip 2014-09-14 12:33:40.135 - info: admin.0 iobroker unzip /opt/iobroker/tmp/hm-rega.zip 2014-09-14 12:33:40.524 - info: admin.0 iobroker copying /opt/iobroker/tmp/ioBroker.hm-rega-master to /opt/iobroker/adapter/hm-rega 2014-09-14 12:33:40.629 - info: admin.0 iobroker delete /opt/iobroker/tmp/hm-rega.zip 2014-09-14 12:33:40.632 - info: admin.0 iobroker delete /opt/iobroker/tmp/ioBroker.hm-rega-master 2014-09-14 12:33:42.519 - info: admin.0 iobroker install adapter hm-rega 2014-09-14 12:33:42.537 - info: admin.0 iobroker npm install "/opt/iobroker/adapter/hm-rega" --production --prefix "/opt/iobroker/adapter/hm-rega" 2014-09-14 12:33:45.815 - info: admin.0 iobroker npm 2014-09-14 12:33:45.844 - info: admin.0 iobroker 2014-09-14 12:33:45.850 - info: admin.0 iobroker http 2014-09-14 12:33:45.856 - info: admin.0 iobroker 2014-09-14 12:33:45.870 - info: admin.0 iobroker GET https://registry.npmjs.org/request 2014-09-14 12:33:46.149 - info: admin.0 iobroker npm 2014-09-14 12:33:46.152 - info: admin.0 iobroker http 2014-09-14 12:33:46.155 - info: admin.0 iobroker GET 2014-09-14 12:33:46.158 - info: admin.0 iobroker https://registry.npmjs.org/xml2js 2014-09-14 12:33:46.206 - info: admin.0 iobroker npm 2014-09-14 12:33:46.210 - info: admin.0 iobroker http 2014-09-14 12:33:46.216 - info: admin.0 iobroker GET 2014-09-14 12:33:46.220 - info: admin.0 iobroker https://registry.npmjs.org/iconv-lite 2014-09-14 12:33:46.243 - info: admin.0 iobroker npm 2014-09-14 12:33:46.247 - info: admin.0 iobroker http 2014-09-14 12:33:46.250 - info: admin.0 iobroker GET 2014-09-14 12:33:46.254 - info: admin.0 iobroker https://registry.npmjs.org/extend 2014-09-14 12:33:46.756 - info: admin.0 iobroker npm 2014-09-14 12:33:46.761 - info: admin.0 iobroker http 2014-09-14 12:33:46.766 - info: admin.0 iobroker 304 https://registry.npmjs.org/request 2014-09-14 12:33:47.015 - info: admin.0 iobroker npm 2014-09-14 12:33:47.019 - info: admin.0 iobroker http 2014-09-14 12:33:47.027 - info: admin.0 iobroker 200 https://registry.npmjs.org/xml2js 2014-09-14 12:33:47.104 - info: admin.0 iobroker npm 2014-09-14 12:33:47.108 - info: admin.0 iobroker http 2014-09-14 12:33:47.113 - info: admin.0 iobroker 2014-09-14 12:33:47.119 - info: admin.0 iobroker 200 https://registry.npmjs.org/iconv-lite 2014-09-14 12:33:47.262 - info: admin.0 iobroker npm 2014-09-14 12:33:47.266 - info: admin.0 iobroker http 2014-09-14 12:33:47.270 - info: admin.0 iobroker 200 2014-09-14 12:33:47.275 - info: admin.0 iobroker https://registry.npmjs.org/extend 2014-09-14 12:33:49.353 - info: admin.0 iobroker npm 2014-09-14 12:33:49.362 - info: admin.0 iobroker 2014-09-14 12:33:49.366 - info: admin.0 iobroker http 2014-09-14 12:33:49.371 - info: admin.0 iobroker GET https://registry.npmjs.org/forever-agent 2014-09-14 12:33:49.403 - info: admin.0 iobroker npm 2014-09-14 12:33:49.407 - info: admin.0 iobroker http 2014-09-14 12:33:49.411 - info: admin.0 iobroker GET https://registry.npmjs.org/form-data 2014-09-14 12:33:49.438 - info: admin.0 iobroker npm 2014-09-14 12:33:49.442 - info: admin.0 iobroker http 2014-09-14 12:33:49.447 - info: admin.0 iobroker GET 2014-09-14 12:33:49.451 - info: admin.0 iobroker https://registry.npmjs.org/node-uuid 2014-09-14 12:33:49.477 - info: admin.0 iobroker npm 2014-09-14 12:33:49.481 - info: admin.0 iobroker http 2014-09-14 12:33:49.487 - info: admin.0 iobroker GET https://registry.npmjs.org/tunnel-agent 2014-09-14 12:33:49.531 - info: admin.0 iobroker npm 2014-09-14 12:33:49.536 - info: admin.0 iobroker http 2014-09-14 12:33:49.540 - info: admin.0 iobroker GET 2014-09-14 12:33:49.546 - info: admin.0 iobroker https://registry.npmjs.org/tough-cookie 2014-09-14 12:33:49.594 - info: admin.0 iobroker npm 2014-09-14 12:33:49.615 - info: admin.0 iobroker http GET https://registry.npmjs.org/http-signaturenpm http GET https://registry.npmjs.org/oauth-sign 2014-09-14 12:33:49.637 - info: admin.0 iobroker npm 2014-09-14 12:33:49.660 - info: admin.0 iobroker http GET https://registry.npmjs.org/hawk 2014-09-14 12:33:49.668 - info: admin.0 iobroker npm 2014-09-14 12:33:49.673 - info: admin.0 iobroker http 2014-09-14 12:33:49.678 - info: admin.0 iobroker 2014-09-14 12:33:49.683 - info: admin.0 iobroker GET https://registry.npmjs.org/aws-sign2 2014-09-14 12:33:49.694 - info: admin.0 iobroker npm 2014-09-14 12:33:49.699 - info: admin.0 iobroker http GET 2014-09-14 12:33:49.704 - info: admin.0 iobroker https://registry.npmjs.org/qs 2014-09-14 12:33:49.712 - info: admin.0 iobroker npm 2014-09-14 12:33:49.718 - info: admin.0 iobroker http GET https://registry.npmjs.org/json-stringify-safe 2014-09-14 12:33:49.730 - info: admin.0 iobroker npm 2014-09-14 12:33:49.737 - info: admin.0 iobroker http GET 2014-09-14 12:33:49.742 - info: admin.0 iobroker https://registry.npmjs.org/mime 2014-09-14 12:33:50.053 - info: admin.0 iobroker npm 2014-09-14 12:33:50.058 - info: admin.0 iobroker http GET 2014-09-14 12:33:50.064 - info: admin.0 iobroker https://registry.npmjs.org/sax 2014-09-14 12:33:50.076 - info: admin.0 iobroker npm 2014-09-14 12:33:50.081 - info: admin.0 iobroker 2014-09-14 12:33:50.086 - info: admin.0 iobroker http 2014-09-14 12:33:50.091 - info: admin.0 iobroker 304 https://registry.npmjs.org/tough-cookie 2014-09-14 12:33:50.109 - info: admin.0 iobroker npm 2014-09-14 12:33:50.113 - info: admin.0 iobroker http 2014-09-14 12:33:50.118 - info: admin.0 iobroker GET https://registry.npmjs.org/xmlbuilder 2014-09-14 12:33:50.197 - info: admin.0 iobroker npm 2014-09-14 12:33:50.203 - info: admin.0 iobroker http 2014-09-14 12:33:50.207 - info: admin.0 iobroker 304 https://registry.npmjs.org/http-signature 2014-09-14 12:33:50.273 - info: admin.0 iobroker npm 2014-09-14 12:33:50.278 - info: admin.0 iobroker http 304 2014-09-14 12:33:50.299 - info: admin.0 iobroker https://registry.npmjs.org/node-uuid 2014-09-14 12:33:50.317 - info: admin.0 iobroker npm 2014-09-14 12:33:50.321 - info: admin.0 iobroker http 2014-09-14 12:33:50.332 - info: admin.0 iobroker 304 https://registry.npmjs.org/tunnel-agent 2014-09-14 12:33:50.423 - info: admin.0 iobroker npm 2014-09-14 12:33:50.428 - info: admin.0 iobroker http 2014-09-14 12:33:50.432 - info: admin.0 iobroker 304 https://registry.npmjs.org/aws-sign2 2014-09-14 12:33:50.490 - info: admin.0 iobroker npm 2014-09-14 12:33:50.496 - info: admin.0 iobroker 2014-09-14 12:33:50.503 - info: admin.0 iobroker http 304 https://registry.npmjs.org/forever-agent 2014-09-14 12:33:50.529 - info: admin.0 iobroker npm 2014-09-14 12:33:50.534 - info: admin.0 iobroker http 2014-09-14 12:33:50.545 - info: admin.0 iobroker 304 https://registry.npmjs.org/oauth-sign 2014-09-14 12:33:50.587 - info: admin.0 iobroker npm 2014-09-14 12:33:50.592 - info: admin.0 iobroker http 304 https://registry.npmjs.org/json-stringify-safe 2014-09-14 12:33:50.622 - info: admin.0 iobroker npm 2014-09-14 12:33:50.628 - info: admin.0 iobroker http 2014-09-14 12:33:50.637 - info: admin.0 iobroker 304 https://registry.npmjs.org/hawk 2014-09-14 12:33:50.648 - info: admin.0 iobroker npm 2014-09-14 12:33:50.656 - info: admin.0 iobroker http 304 https://registry.npmjs.org/mime 2014-09-14 12:33:50.980 - info: admin.0 iobroker npm 2014-09-14 12:33:50.985 - info: admin.0 iobroker http 2014-09-14 12:33:50.992 - info: admin.0 iobroker 304 https://registry.npmjs.org/form-data 2014-09-14 12:33:51.003 - info: admin.0 iobroker npm 2014-09-14 12:33:51.010 - info: admin.0 iobroker http 304 https://registry.npmjs.org/qs 2014-09-14 12:33:51.081 - info: admin.0 iobroker npm 2014-09-14 12:33:51.086 - info: admin.0 iobroker http 2014-09-14 12:33:51.091 - info: admin.0 iobroker 200 https://registry.npmjs.org/xmlbuilder 2014-09-14 12:33:51.418 - info: admin.0 iobroker npm 2014-09-14 12:33:51.422 - info: admin.0 iobroker http 2014-09-14 12:33:51.434 - info: admin.0 iobroker GET https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-2.4.4.tgz 2014-09-14 12:33:52.095 - info: admin.0 iobroker npm 2014-09-14 12:33:52.098 - info: admin.0 iobroker http 2014-09-14 12:33:52.102 - info: admin.0 iobroker 200 https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-2.4.4.tgz 2014-09-14 12:33:53.267 - info: admin.0 iobroker npm 2014-09-14 12:33:53.272 - info: admin.0 iobroker http 2014-09-14 12:33:53.292 - info: admin.0 iobroker GET https://registry.npmjs.org/combined-stream 2014-09-14 12:33:53.324 - info: admin.0 iobroker npm 2014-09-14 12:33:53.336 - info: admin.0 iobroker http GET https://registry.npmjs.org/async 2014-09-14 12:33:53.597 - info: admin.0 iobroker npm 2014-09-14 12:33:53.602 - info: admin.0 iobroker http 304 2014-09-14 12:33:53.608 - info: admin.0 iobroker https://registry.npmjs.org/async 2014-09-14 12:33:53.676 - info: admin.0 iobroker npm 2014-09-14 12:33:53.680 - info: admin.0 iobroker http 200 https://registry.npmjs.org/sax 2014-09-14 12:33:53.845 - info: admin.0 iobroker npm 2014-09-14 12:33:53.850 - info: admin.0 iobroker http 304 https://registry.npmjs.org/combined-stream 2014-09-14 12:33:54.293 - info: admin.0 iobroker npm 2014-09-14 12:33:54.298 - info: admin.0 iobroker http 2014-09-14 12:33:54.305 - info: admin.0 iobroker GET https://registry.npmjs.org/assert-plus/0.1.2 2014-09-14 12:33:54.326 - info: admin.0 iobroker npm 2014-09-14 12:33:54.331 - info: admin.0 iobroker http 2014-09-14 12:33:54.335 - info: admin.0 iobroker GET https://registry.npmjs.org/asn1/0.1.11 2014-09-14 12:33:54.355 - info: admin.0 iobroker npm 2014-09-14 12:33:54.360 - info: admin.0 iobroker http 2014-09-14 12:33:54.366 - info: admin.0 iobroker GET https://registry.npmjs.org/ctype/0.5.2 2014-09-14 12:33:54.629 - info: admin.0 iobroker npm 2014-09-14 12:33:54.632 - info: admin.0 iobroker http 2014-09-14 12:33:54.638 - info: admin.0 iobroker 304 https://registry.npmjs.org/assert-plus/0.1.2 2014-09-14 12:33:54.672 - info: admin.0 iobroker npm 2014-09-14 12:33:54.675 - info: admin.0 iobroker http 2014-09-14 12:33:54.686 - info: admin.0 iobroker 304 https://registry.npmjs.org/ctype/0.5.2 2014-09-14 12:33:54.945 - info: admin.0 iobroker npm 2014-09-14 12:33:54.951 - info: admin.0 iobroker http GET 2014-09-14 12:33:54.956 - info: admin.0 iobroker https://registry.npmjs.org/delayed-stream/0.0.5 2014-09-14 12:33:55.428 - info: admin.0 iobroker npm 2014-09-14 12:33:55.432 - info: admin.0 iobroker http 2014-09-14 12:33:55.436 - info: admin.0 iobroker 304 https://registry.npmjs.org/delayed-stream/0.0.5 2014-09-14 12:33:56.022 - info: admin.0 iobroker npm 2014-09-14 12:33:56.026 - info: admin.0 iobroker http 2014-09-14 12:33:56.031 - info: admin.0 iobroker 304 https://registry.npmjs.org/asn1/0.1.11 2014-09-14 12:33:57.632 - info: admin.0 iobroker npm 2014-09-14 12:33:57.635 - info: admin.0 iobroker http 2014-09-14 12:33:57.654 - info: admin.0 iobroker GET https://registry.npmjs.org/punycode 2014-09-14 12:33:57.926 - info: admin.0 iobroker npm 2014-09-14 12:33:57.930 - info: admin.0 iobroker http 2014-09-14 12:33:57.934 - info: admin.0 iobroker 304 https://registry.npmjs.org/punycode 2014-09-14 12:33:57.987 - info: admin.0 iobroker npm 2014-09-14 12:33:57.992 - info: admin.0 iobroker http GET 2014-09-14 12:33:57.996 - info: admin.0 iobroker https://registry.npmjs.org/boom 2014-09-14 12:33:58.014 - info: admin.0 iobroker npm 2014-09-14 12:33:58.022 - info: admin.0 iobroker http GET https://registry.npmjs.org/cryptiles 2014-09-14 12:33:58.042 - info: admin.0 iobroker npm 2014-09-14 12:33:58.047 - info: admin.0 iobroker http 2014-09-14 12:33:58.051 - info: admin.0 iobroker GET https://registry.npmjs.org/sntp 2014-09-14 12:33:58.084 - info: admin.0 iobroker npm 2014-09-14 12:33:58.088 - info: admin.0 iobroker http 2014-09-14 12:33:58.093 - info: admin.0 iobroker GET https://registry.npmjs.org/hoek 2014-09-14 12:33:58.318 - info: admin.0 iobroker npm 2014-09-14 12:33:58.322 - info: admin.0 iobroker http 2014-09-14 12:33:58.327 - info: admin.0 iobroker 304 https://registry.npmjs.org/boom 2014-09-14 12:33:58.438 - info: admin.0 iobroker npm 2014-09-14 12:33:58.443 - info: admin.0 iobroker http 2014-09-14 12:33:58.450 - info: admin.0 iobroker 304 https://registry.npmjs.org/hoek 2014-09-14 12:33:58.774 - info: admin.0 iobroker npm http 304 https://registry.npmjs.org/cryptiles 2014-09-14 12:33:59.511 - info: admin.0 iobroker npm http 2014-09-14 12:33:59.519 - info: admin.0 iobroker GET https://registry.npmjs.org/lodash-node 2014-09-14 12:33:59.671 - info: admin.0 iobroker npm http 304 https://registry.npmjs.org/sntp 2014-09-14 12:34:00.864 - info: admin.0 iobroker npm http 200 2014-09-14 12:34:00.878 - info: admin.0 iobroker https://registry.npmjs.org/lodash-node 2014-09-14 12:34:07.079 - info: admin.0 iobroker got /opt/iobroker/adapter/hm-rega/admin 2014-09-14 12:34:07.125 - info: admin.0 iobroker upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/index.html index.html text/html 2014-09-14 12:34:07.263 - info: admin.0 iobroker upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/homematic.png homematic.png image/pn g 2014-09-14 12:34:07.625 - info: admin.0 iobroker object system.adapter.hm-rega created
Gruß
Rainer
-
Hallo Reiner,
bzgl. des fehlenden HM_Rega muss erst der RPC komplett laufen und dann den Rega istallieren.
Hat zumindest so bei mir funktioniert und so denke ich auch ist es beschrieben.
Gruß John
145_rpc.png -
ok, dann muss ich es wohl nochmal neu machen, da mir jetzt alles abgeschmiert ist.
Ich war über die Konsole rein und wollte mit ./iobroker del hm-rega den Adapter entfernen, um ihn neu zu installieren und bekam folgendes:
root@cubie:/opt/iobroker# ./iobroker del hm-rega Deleted 0 states (hm-rega.*) from redis Deleted 0 states (system.adapter.hm-rega.*) from redis no devices hm-rega found deleted 3 instances of hm-rega deleted 0 states of hm-rega no channels hm-rega found delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega delete /opt/iobroker/adapter/hm-rega deleted 24 adapters for hm-rega object hm-rega deleted object hm-rega.admin deleted
Zeitgleich verschwanden fast alle Adapter aus der Installation.
Nach dem Motto reboot tut gut neu gestartet - jetzt komme ich gar nicht mehr auf die WebUI drauf.
Sei's drum: Auf ein neues
Gruß
Rainer
-
Ok, läuft jetzt wieder
Habe diesmal erst einen rpc-Adapter aktiviert und dann den hm-rega-Adapter.
Danach hatte ich dann zwei rpc-Adapter :shock:
Ob das noch eine Leiche war, glaube ich nicht, da ich redis und couchdb komplett deinstalliert hatte und auch den ioBroker-Ordner gelöscht.
Bei der Konfig vom rega sah ich dann dass für RF, RS485 und Cux drei rpc benötigt werden. vielleicht wird automatisch ein weiterer angelegt ???
bei 2 CCU muss ich dann 6 rpc-Adapter haben?
- und 2x rega
Daten werden jetzt auch wieder gesammelt - sind allerdings nur noch 8 Seiten States (früher 13).
Bei der Installation nur noch sehr wenige "warn" wegen "common role missing" - aber einige sind noch da
(braucht ihr noch nähere infos?)
Für die (ferne) Zukunft noch ein paar Wünsche zum Instances - Tab
Beim Aktivieren vergesse ich jedesmal nach dem Setzen des Hakens auch noch "Enter" zu drücken. dort noch einen Save-Button oder so hinzufügen ???
Hier oder bei Adaptern auch noch einen delete-Button für Instances.
Aber ihr bastelt ja schneller als man alles finden kann - Wahnsinn
Gruß
Rainer
-
Habe jetzt mal versucht den DWD-Adapter anzulegen.
In der Konfig hatte ich die 0 * * * * als Cronjob interpretiert und zuerst irrtüblich gegen 15 * * * * (statt */15 * * * *) getauscht.
es passierte natürlich zunächst nichts.
Also habe ich erst einmal einen reboot gemacht. Der anschließende Log zeigte folgendes:
root@cubie:/opt/iobroker# tail -f log/iobroker.log 2014-09-18 18:55:48.981 - info: controller couchdb connected 2014-09-18 18:55:50.459 - info: controller 6 instances found 2014-09-18 18:55:50.462 - info: controller starting 5 instances 2014-09-18 18:55:50.505 - info: controller instance system.adapter.admin.0 started with pid 2438 2014-09-18 18:55:54.498 - info: controller instance scheduled system.adapter.dwd.0 15 * * * * 2014-09-18 18:55:56.928 - info: admin.0 starting 2014-09-18 18:55:57.101 - info: admin.0 requesting all states 2014-09-18 18:55:57.114 - info: admin.0 requesting all objects 2014-09-18 18:55:57.151 - info: admin.0 http server listening on port 8081 .... 2014-09-18 18:56:31.301 - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_LONG_RELEASE created 2014-09-18 18:56:31.620 - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_LONG created 2014-09-18 18:56:31.631 - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_SHORT created 2014-09-18 18:56:31.655 - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_CONT created 2014-09-18 18:56:31.882 - error: hm-rpc.0 object hm-rpc.0.JEQ0466609:3 extend: Error: Document update conflict. .... 2014-09-18 18:57:05.090 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:1 to "3_fach_01:1" 2014-09-18 18:57:05.286 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:0 to "3_fach_01:0" 2014-09-18 18:57:10.642 - info: hm-rega.0 got 63 programs 2014-09-18 18:57:11.606 - info: hm-rega.0 added/updated 60 programs 2014-09-18 18:57:11.619 - info: hm-rega.0 deleted 3 programs 2014-09-18 18:57:15.013 - info: hm-rega.0 got 58 variables 2014-09-18 18:57:16.059 - info: hm-rega.0 added/updated 58 variables 2014-09-18 18:57:16.061 - info: hm-rega.0 deleted 0 variables 2014-09-18 18:57:16.069 - info: hm-rega.0 request state values 2014-09-18 18:57:18.401 - info: hm-rega.0 got state values
wobei die Daten im Admin (Objekte) für hm-rpc.0.JEQ0466609:3 anscheinend korrekt eingetragen sind???
Um 19:15 (ich hatte 15:10 erwartet - und dann den Cronjob geändert) kamen folgende Fehlermeldungen:
2014-09-18 19:15:04.196 - info: dwd.0 starting 2014-09-18 19:15:04.776 - info: dwd.0 setting states 2014-09-18 19:15:04.794 - error: dwd.0 uncaught exception: stop is not defined 2014-09-18 19:15:04.797 - error: dwd.0 ReferenceError: stop is not defined at received (/opt/iobroker/adapter/dwd/dwd.js:187:16) at getFile (/opt/iobroker/adapter/dwd/dwd.js:85:9) at /opt/iobroker/adapter/dwd/dwd.js:70:17 at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:147:19 at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/node_modules/async/lib/async.js:142:25 at _next (/opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:108:7) at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:123:14 at iterate (/opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/node_modules/async/lib/async.js:134:13) at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/node_modules/async/lib/async.js:145:25 at _next (/opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:108:7) 2014-09-18 19:15:05.124 - error: controller instance system.adapter.dwd.0 terminated with code 1
dito um 19:30
Die settings habe ich aus dem ccu.io Adapter übernommen (nur der Kreis wird nicht mehr angegeben)
Gruß
Rainer
-
Auf einmal läuft der DWD adapter ohne Fehler:
2014-09-19 16:00:00.741 - info: controller instance system.adapter.dwd.0 started with pid 7465 2014-09-19 16:00:04.366 - info: dwd.0 starting 2014-09-19 16:00:05.416 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919131754_OMEDES_WWEM38_KXXX.xml 2014-09-19 16:00:05.568 - info: dwd.0 got weather warning 2014-09-19 16:00:06.576 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919133715_OMEDES_WUEM46_KXXX.xml 2014-09-19 16:00:06.712 - info: dwd.0 got weather warning 2014-09-19 16:00:07.826 - info: dwd.0 setting states 2014-09-19 16:00:07.842 - error: dwd.0 uncaught exception: stop is not defined 2014-09-19 16:00:07.856 - error: dwd.0 ReferenceError: stop is not defined at received (/opt/iobroker/adapter/dwd/dwd.js:187:16) at getFile (/opt/iobroker/adapter/dwd/dwd.js:85:9) at null. <anonymous>(/opt/iobroker/adapter/dwd/dwd.js:109:17) at timer._onTimeout (timers.js:210:16) at Timer.listOnTimeout [as ontimeout] (timers.js:110:15) 2014-09-19 16:00:08.183 - error: controller instance system.adapter.dwd.0 terminated with code 1 2014-09-19 16:15:00.725 - info: controller instance system.adapter.dwd.0 started with pid 7520 2014-09-19 16:15:04.431 - info: dwd.0 starting 2014-09-19 16:15:05.120 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919131754_OMEDES_WWEM38_KXXX.xml 2014-09-19 16:15:05.270 - info: dwd.0 got weather warning 2014-09-19 16:15:06.276 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919133715_OMEDES_WUEM46_KXXX.xml 2014-09-19 16:15:06.415 - info: dwd.0 got weather warning 2014-09-19 16:15:07.419 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919140854_OMEDES_WUEM46_KXXX.xml 2014-09-19 16:15:07.548 - info: dwd.0 got weather warning 2014-09-19 16:15:08.688 - info: dwd.0 setting states 2014-09-19 16:15:08.705 - error: dwd.0 uncaught exception: stop is not defined 2014-09-19 16:15:08.720 - error: dwd.0 ReferenceError: stop is not defined at received (/opt/iobroker/adapter/dwd/dwd.js:187:16) at getFile (/opt/iobroker/adapter/dwd/dwd.js:85:9) at null. <anonymous>(/opt/iobroker/adapter/dwd/dwd.js:109:17) at timer._onTimeout (timers.js:210:16) at Timer.listOnTimeout [as ontimeout] (timers.js:110:15) 2014-09-19 16:15:09.049 - error: controller instance system.adapter.dwd.0 terminated with code 1 2014-09-19 16:30:00.726 - info: controller instance system.adapter.dwd.0 started with pid 7579 2014-09-19 16:30:04.215 - info: dwd.0 starting 2014-09-19 16:30:04.917 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919131754_OMEDES_WWEM38_KXXX.xml 2014-09-19 16:34:03.986 - info: dwd.0 force terminating after 4 minutes 2014-09-19 16:34:04.015 - info: controller instance system.adapter.dwd.0 terminated with code 0 2014-09-19 16:42:43.652 - info: history.0 moving 481 entries to couchdb 2014-09-19 16:42:44.659 - info: history.0 moved 481 history datapoints from Redis history.system.host.cubie.load to CouchDB history.system.host.cubie.load.20140919 2014-09-19 16:45:00.714 - info: controller instance system.adapter.dwd.0 started with pid 7635 2014-09-19 16:45:04.424 - info: dwd.0 starting 2014-09-19 16:45:05.294 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919131754_OMEDES_WWEM38_KXXX.xml 2014-09-19 16:45:05.450 - info: dwd.0 got weather warning 2014-09-19 16:45:06.459 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919133715_OMEDES_WUEM46_KXXX.xml 2014-09-19 16:45:06.594 - info: dwd.0 got weather warning 2014-09-19 16:45:07.598 - info: dwd.0 getFile Z_CAP_C_EDZW_20140919140854_OMEDES_WUEM46_KXXX.xml 2014-09-19 16:49:04.182 - info: dwd.0 force terminating after 4 minutes 2014-09-19 16:49:04.213 - info: controller instance system.adapter.dwd.0 terminated with code 0</anonymous></anonymous>
16:00, 16:15 und 16:30 noch mit ERROR, der letzte um 16:45 jdoch ohne !?
Dabei habe ich bereits vor Stunden die Instanz versucht zu deaktivieren. Sie steht auch auf false, startet trotzdem immer noch jede 1/4 Stunde.
Wettermeldungen sind jetzt auch in der Datenbank, aber die müssten schon älter sein
Gruß
Rainer
-
Habe eben ein git pull gemacht.
Danach liess sich im webui nichts mehr auswählen.
Dann reboot vom cubie, ioBroker Start und log angesehen:
2014-09-28 09:46:36.259 - info: hm-rega.0 renamed hm-rpc.0.KEQ1070107 to "BWM_Garage" 2014-09-28 09:46:36.409 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:6 to "3_fach_01:6" 2014-09-28 09:46:36.546 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:5 to "3_fach_01:5" 2014-09-28 09:46:36.666 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:4 to "3_fach_01:4" 2014-09-28 09:46:36.793 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:3 to "3_fach_01:3" 2014-09-28 09:46:36.908 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:2 to "3_fach_01:2" 2014-09-28 09:46:37.121 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:1 to "3_fach_01:1" 2014-09-28 09:46:37.297 - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:0 to "3_fach_01:0" 2014-09-28 09:46:45.739 - info: hm-rega.0 got 60 programs 2014-09-28 09:46:46.536 - info: hm-rega.0 added/updated 60 programs 2014-09-28 09:46:46.538 - info: hm-rega.0 deleted 0 programs 2014-09-28 09:46:49.669 - info: controller instance system.adapter.hm-rpc.0 started with pid 2468 2014-09-28 09:46:50.300 - info: hm-rega.0 got 58 variables 2014-09-28 09:46:52.168 - info: hm-rega.0 added/updated 58 variables 2014-09-28 09:46:52.171 - info: hm-rega.0 deleted 0 variables 2014-09-28 09:46:52.175 - info: hm-rega.0 request state values 2014-09-28 09:46:56.985 - info: hm-rega.0 got state values 2014-09-28 09:46:57.232 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7
Gruß
Rainer
Gesendet von meinem LIFETAB_E10320 mit Tapatalk
-
Habe eben auf dem Tablet mit juicessh ein iobroker update gezogen.
Leider ist die schrift fast nicht zu lesen.
Es schien aber ein update für Admin und rpc zu geben.
Da sich die webui weiter aufhängt. Habe ich mit ioBroker upgrade die Adapter auf den neuesten Stand gebracht.
Leider hängt die webui immer noch.
2014-09-28 21:09:26.088 - info: hm-rega.0 got 58 variables 2014-09-28 21:09:27.357 - info: hm-rega.0 added/updated 58 variables 2014-09-28 21:09:27.360 - info: hm-rega.0 deleted 0 variables 2014-09-28 21:09:27.363 - info: hm-rega.0 request state values 2014-09-28 21:09:31.349 - info: hm-rega.0 got state values 2014-09-28 21:09:33.690 - info: controller instance system.adapter.hm-rpc.0 started with pid 2467 2014-09-28 21:09:41.983 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7 2014-09-28 21:09:48.145 - info: history.0 enabled logging of hm-rega.0.2042 2014-09-28 21:09:50.071 - info: history.0 disabled logging of hm-rega.0.12885 2014-09-28 21:09:50.138 - info: history.0 enabled logging of hm-rega.0.12886 2014-09-28 21:10:12.016 - info: controller instance system.adapter.hm-rpc.0 started with pid 2472 2014-09-28 21:10:15.177 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7 2014-09-28 21:10:45.214 - info: controller instance system.adapter.hm-rpc.0 started with pid 2474 2014-09-28 21:10:48.095 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7 2014-09-28 21:11:18.133 - info: controller instance system.adapter.hm-rpc.0 started with pid 2479 2014-09-28 21:11:21.114 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7 2014-09-28 21:11:51.144 - info: controller instance system.adapter.hm-rpc.0 started with pid 2481 2014-09-28 21:11:54.944 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7 2014-09-28 21:12:24.975 - info: controller instance system.adapter.hm-rpc.0 started with pid 2487 2014-09-28 21:12:28.056 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7 2014-09-28 21:12:58.090 - info: controller instance system.adapter.hm-rpc.0 started with pid 2489 2014-09-28 21:13:01.172 - error: controller instance system.adapter.hm-rpc.0 terminated with code 7
Ganz zu Beginn kam noch ein error
2014-09-28 21:16:05.445 - info: controller instance system.adapter.admin.0 started with pid 2615 2014-09-28 21:16:09.442 - info: controller instance system.adapter.history.0 started with pid 2618 2014-09-28 21:16:11.636 - error: admin.0 : message handler implemented, but messagebox not enabled. Define common.messagebox in io-package.json for adapter or delete message handler. 2014-09-28 21:16:11.651 - info: admin.0 starting 2014-09-28 21:16:13.447 - info: controller instance system.adapter.hm-rega.0 started with pid 2626 2014-09-28 21:16:14.888 - info: history.0 starting 2014-09-28 21:16:15.573 - info: admin.0 received all states
Ich hoffe ich habe beim upgrade alles richtig gemacht. Bei ioBroker update bin ich jedenfalls up to date.
Gruß
Rainer
Gesendet von meinem LIFETAB_E10320 mit Tapatalk
-
Neues Spiel neues Glück
heute war sowohl mit git pull neues da, als auch mit iobroker update eine neue admin - version.
Der eine Error weg - ein anderer da:
2014-10-01 19:38:17.359 - info: hm-rega.0 got 60 programs 2014-10-01 19:38:18.420 - info: hm-rega.0 added/updated 62 programs 2014-10-01 19:38:18.605 - error: uncaught exception: Cannot find module 'homematic-xmlrpc' 2014-10-01 19:38:18.423 - info: hm-rega.0 deleted 0 programs 2014-10-01 19:38:19.068 - error: controller instance system.adapter.hm-rpc.0 terminated with code 1 2014-10-01 19:38:22.152 - info: hm-rega.0 got 58 variables 2014-10-01 19:38:23.347 - info: hm-rega.0 added/updated 58 variables 2014-10-01 19:38:23.349 - info: hm-rega.0 deleted 0 variables 2014-10-01 19:38:23.353 - info: hm-rega.0 request state values 2014-10-01 19:38:24.951 - info: hm-rega.0 got state values 2014-10-01 19:38:42.057 - info: history.0 enabled logging of hm-rega.0.2042 2014-10-01 19:38:43.623 - info: history.0 disabled logging of hm-rega.0.12885 2014-10-01 19:38:43.653 - info: history.0 enabled logging of hm-rega.0.12886 2014-10-01 19:38:49.102 - info: controller instance system.adapter.hm-rpc.0 started with pid 17033 2014-10-01 19:38:52.250 - error: uncaught exception: Cannot find module 'homematic-xmlrpc' 2014-10-01 19:38:52.275 - error: Error: Cannot find module 'homematic-xmlrpc' 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/adapter/hm-rpc/hm-rpc.js:96:14) 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 Function.Module.runMain (module.js:497:10) 2014-10-01 19:38:52.515 - info: hm-rpc.0 starting 2014-10-01 19:38:52.535 - error: uncaught exception: Cannot call method 'createClient' of undefined 2014-10-01 19:38:52.545 - error: TypeError: Cannot call method 'createClient' of undefined at main (/opt/iobroker/adapter/hm-rpc/hm-rpc.js:106:21) at Object.require.ready (/opt/iobroker/adapter/hm-rpc/hm-rpc.js:7:9) at initAdapter (/opt/iobroker/lib/adapter.js:1241:58) at /opt/iobroker/lib/adapter.js:137:29 at /opt/iobroker/lib/couch.js:153: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) 2014-10-01 19:38:52.595 - error: controller instance system.adapter.hm-rpc.0 terminated with code 1</anonymous></anonymous>
Ich bin mit der lxccu auf meinen bananapi umgezogen und musste im rega und rpc.o noch die IP-Adressen ändern.
Danach hat iobroker die Datenpunkte eingelesen und die obige Fehlermeldung gezeigt.
Kann aber sein, dass ich die Konfig noch nicht ganz sauber habe
gruß
Rainer
-
@Homoran: gehe zu adapter/hm-rpc in der console und starte "npm install"
-
@Homoran: gehe zu adapter/hm-rpc in der console und starte "npm install" `
Danke,Ist jetzt durchgestartet.
Der Fehler
2014-10-02 14:43:18.279 - info: controller starting 4 instances 2014-10-02 14:43:18.357 - info: controller instance system.adapter.admin.0 started with pid 971 2014-10-02 14:43:22.299 - info: controller instance system.adapter.history.0 started with pid 975 2014-10-02 14:43:24.829 - error: admin.0 : message handler implemented, but messagebox not enabled. Define common.messagebox in io-package.json for adapter or delete message handler. 2014-10-02 14:43:24.839 - info: admin.0 starting
Existiert noch.
Und
2014-10-02 14:44:30.076 - info: hm-rega.0 renamed hm-rpc.0.JEQ0112571 to "Markise" 2014-10-02 14:44:30.163 - error: hm-rpc.0 object hm-rpc.0.JEQ0112571:0 extend: Error: Document update conflict. 2014-10-02 14:44:30.267 - info: hm-rpc.0 object hm-rpc.0.JEQ0112571:1.STOP extended 2014-10-02 14:44:30.274 - info: hm-rpc.0 object hm-rpc.0.JEQ0112571:1.INHIBIT extended 2014-10-02 14:44:30.291 - info: hm-rpc.0 object hm-rpc.0.JEQ0112571:1.LEVEL extended 2014-10-02 14:44:30.301 - info: hm-rpc.0 object hm-rpc.0.JEQ0112571:1.INSTALL_TEST extended 2014-10-02 14:44:30.310 - info: hm-rpc.0 object hm-rpc.0.JEQ0112571:1.WORKING extended 2014-10-02 14:44:30.479 - error: hm-rpc.0 object hm-rpc.0.JEQ0112571:1 extend: Error: Document update conflict. 2014-10-02 14:44:31.280 - info: hm-rpc.0 xmlrpc -> getParamsetDescription ["JEQ0140901:1","VALUES"]
Gruß
Rainer
Gesendet von meinem Cynus T7 mit Tapatalk
-
Hi zusammen,
nochmal ein kurzes Feedback von meiner Seite:
Nach längerer "Pause" habe ich heute mal eine komplette Neuinstallation durchgeführt. Dabei kam beim Schritt "iobroker update" die folgende Fehlermeldung:
` > root@cubie:/opt/iobroker# ./iobroker update
/conf/sources.json does not exits - ignore
Cannot get version of "virtual".
Cannot get version of "socketio".
Cannot get version of "geofency".
update done
Adapter "yr" : 0.0.4
Adapter "websocket" : 0.0.1
Adapter "web" : 0.0.1
/opt/iobroker/setup.js:1175
text += ': ' + sources[name].version + ((sources[name].version.length <
^
TypeError: Cannot read property 'length' of undefined
at /opt/iobroker/setup.js:1175:75
at download [as _onTimeout] (/opt/iobroker/setup.js:1136:27)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
root@cubie:/opt/iobroker# `
Habt ihr da was umgestellt? Der Rest scheint zu funktionieren - Bei Bedarf eventuell mal die Anleitung aktualisieren. (Falls Ihr Zeit habt :))
Viele Grüße
Trident
-
Was die ersten Fehlermeldungen angeht würde ich mir keine Sorge machen.
Die erwähnten Adapter haben z.Zt. keine Versionsnummer:
Ansonsten ist es das selbe was John schon mit dem RasPi festgestellt hat:
http://forum.iobroker.org/viewtopic.php … 1046#p1046
Gruß
Rainer
-
Hallo Trident, hab den gleichen Effekt im Raspi part auch gepostet. Seitdem kann man auch die instances nicht mehr aus dem Admin starten.
Gruss John.
Gesendet von iPhone
-
Sorry, meinte Instances installieren…..
Gesendet von iPhone
-
Sorry, meinte Instances installieren…..
Gesendet von iPhone `
Hm.. Ich kann das Verhalten nicht reproduzieren.Aber es steht auch ein PullRequest da. HQ: kannst du denn mergen?