WebUIs (DashUI, yahui, ...), Adapter (Hue, IRTrans, Sonos, ...), Logging, Scripting
Moderator: Co-Administratoren
-
stryke
- Beiträge: 477
- Registriert: 09.03.2012, 14:39
- Wohnort: Rhein-Main
Beitrag
von stryke » 05.10.2013, 15:04
Habe doch etwas in den LOGs gefunden was auf eine unregelmäßigkeit deutet.
Code: Alles auswählen
2013-10-04 17:55:34.274 info : socket.io <-- readdir /usr/local/addons/ccu.io/log
at Object.write (/usr/local/addons/ccu.io/node_modules/xml2js/node_modules/sax/lib/sax.js:1254:29)2013-10-04 18:07:53.995 info : ccu.io stats cuxd: 0msg/min, wired: 57msg/min, rf: 0msg/min
2013-10-04 18:07:53.997 info : ccu.io stats 3 Socket.IO Clients connected
-
hobbyquaker
- Beiträge: 3978
- Registriert: 12.07.2009, 20:01
- Hat sich bedankt: 17 Mal
- Danksagung erhalten: 176 Mal
-
Kontaktdaten:
Beitrag
von hobbyquaker » 07.10.2013, 21:40
Hab eben CCU.IO Version 0.9.30 auf Github gestellt, damit sollte das Problem dass manchmal nach ein paar Tagen keine Logs mehr geschrieben wurden erledigt sein.
stryke hat geschrieben:Hatte gestern Abend ab 18 Uhr das Phänomän, dass CCU.IO die Systemvariablen nicht mehr ausgelesen hat, die CCU hatte andere Werte als CCU.IO
Hier hab ich leider noch keine mögliche Ursache finden können, aber bin dran.
-
Fugazzy
- Beiträge: 259
- Registriert: 11.09.2011, 21:00
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Köln
Beitrag
von Fugazzy » 09.10.2013, 19:21
Fehlt in 0.9.33 etwas?
Code: Alles auswählen
Starting ccu.io daemon...
/volume1/web/ccu.io/node_modules/daemonize2/lib/daemonize.js:136
throw new Error(msg.error);
^
Error: Error: Cannot find module 'uglify-js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/volume1/web/ccu.io/node_modules/socket.io-client/bin/builder.js:13:14)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at ChildProcess.Daemon.start.child.send.type (/volume1/web/ccu.io/node_modules/daemonize2/lib/daemonize.js:136:19)
at ChildProcess.EventEmitter.emit (events.js:99:17)
at handleMessage (child_process.js:274:12)
at Pipe.channel.onread (child_process.js:301:11)
-
hobbyquaker
- Beiträge: 3978
- Registriert: 12.07.2009, 20:01
- Hat sich bedankt: 17 Mal
- Danksagung erhalten: 176 Mal
-
Kontaktdaten:
Beitrag
von hobbyquaker » 09.10.2013, 20:34
autsch, ohja, sorry. habe die node module alle auf den neusten stand gebracht und vergessen die zu adden. Lad es in 5 Minuten noch mal runter, dann sollte es komplett sein.
Grüße
-
Fugazzy
- Beiträge: 259
- Registriert: 11.09.2011, 21:00
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Köln
Beitrag
von Fugazzy » 09.10.2013, 23:08
Hmm, ich komme etwas weiter, aber in den Logs taucht folgendes auf:
Code: Alles auswählen
2013-10-09 21:12:51.911 info : ccu.io starting version 0.9.34 copyright (c) 2013 hobbyquaker http://hobbyquaker.github.io
2013-10-09 21:12:54.695 info : ccu.io stringtable loaded
2013-10-09 21:12:54.811 info : ccu.io indexing favorites
2013-10-09 21:12:55.217 info : ccu.io indexing variables
2013-10-09 21:12:55.446 info : ccu.io indexing programs
2013-10-09 21:12:55.530 info : ccu.io indexing rooms
2013-10-09 21:12:55.670 info : ccu.io indexing functions
2013-10-09 21:12:56.763 info : ccu.io indexing devices
2013-10-09 21:13:05.181 info : ccu.io indexing channels
2013-10-09 21:13:16.047 info : ccu.io indexing datapoints
2013-10-09 21:13:16.150 info : rega data succesfully loaded
2013-10-09 21:13:16.151 info : binrpc binrpc starting
2013-10-09 21:13:16.213 info : webserver listening on port 8081
Error: Cannot find module 'multiparty'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/volume1/web/ccu.io/node_modules/connect/lib/middleware/multipart.js:12:18)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)2013-10-09 21:13:16.315 info : binrpc server listening on port 2101
2013-10-09 21:13:16.375 info : binrpc <-- init on 192.168.178.24:8701 successful
2013-10-09 21:13:16.386 warn : binrpc <-- method listDevices undefined
2013-10-09 21:13:19.514 info : binrpc <-- init on 192.168.178.24:2001 successful
2013-10-09 21:13:24.416 warn : binrpc <-- method newDevices undefined
2013-10-09 21:13:24.432 warn : rega <-- unknown variable 40
TypeError: Cannot read property 'sockets' of undefined
at sendEvent (/volume1/web/ccu.io/ccu.io.js:113:7)
at setDatapoint (/volume1/web/ccu.io/ccu.io.js:131:9)
at /volume1/web/ccu.io/ccu.io.js:189:13
at rega.runScriptFile (/volume1/web/ccu.io/rega.js:130:17)
at rega.script (/volume1/web/ccu.io/rega.js:162:21)
at Parser.exports.Parser.Parser.parseString (/volume1/web/ccu.io/node_modules/xml2js/lib/xml2js.js:255:20)
at Parser.EventEmitter.emit (events.js:96:17)
at Object.exports.Parser.Parser.reset.saxParser.onclosetag (/volume1/web/ccu.io/node_modules/xml2js/lib/xml2js.js:225:24)
at emit (/volume1/web/ccu.io/node_modules/xml2js/node_modules/sax/lib/sax.js:602:33)
at emitNode (/volume1/web/ccu.io/node_modules/xml2js/node_modules/sax/lib/sax.js:607:3)
-
hobbyquaker
- Beiträge: 3978
- Registriert: 12.07.2009, 20:01
- Hat sich bedankt: 17 Mal
- Danksagung erhalten: 176 Mal
-
Kontaktdaten:
Beitrag
von hobbyquaker » 10.10.2013, 18:03
Hab die 0.9.35 auf Github gepushed, hoffe das damit dieses Problem aus der Welt ist.
Grüße
-
Fugazzy
- Beiträge: 259
- Registriert: 11.09.2011, 21:00
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Köln
Beitrag
von Fugazzy » 11.10.2013, 18:36
super, vielen Dank, geht wieder alles
-
stryke
- Beiträge: 477
- Registriert: 09.03.2012, 14:39
- Wohnort: Rhein-Main
Beitrag
von stryke » 13.10.2013, 21:41
Hatte heute beim testen des Installers wieder das Problem dass sich ccu.io nicht beenden lässt. Werde wohl in einer zukünftigen Version des Installers ein sleep und kill einbauen müssen.
-
hobbyquaker
- Beiträge: 3978
- Registriert: 12.07.2009, 20:01
- Hat sich bedankt: 17 Mal
- Danksagung erhalten: 176 Mal
-
Kontaktdaten:
Beitrag
von hobbyquaker » 13.10.2013, 22:22
Hallo Stryke!
Nach spätestens 30 Sekunden Wartezeit "sollte" sich CCU.IO von alleine killen.
Viele Grüße