Web Oberfläche plötzlich nicht mehr aufrufbar

Das Langzeitarchiv für HomeMatic

Moderator: Co-Administratoren

Antworten
Joetra
Beiträge: 65
Registriert: 10.09.2015, 13:06
Hat sich bedankt: 1 Mal

Web Oberfläche plötzlich nicht mehr aufrufbar

Beitrag von Joetra » 31.10.2019, 11:49

Hallo,

"plötzlich und unerwartet" kann ich mit dem Browser (FF, Opera, Chrome) die WebUI von Historian (2.0.0. Beta 4) nicht mehr aufrufen.
Es erscheint die Meldung, dass die Website nicht errechbar sei.
Bis gestern ging es problemlos. Und ich habe nichts an dem System verändert.
Ich kann mittels Putty oder Filezilla auf das System zugreifen.
Ein Neustart hat allerdings nichts gebracht.
Historian läuft bei mir auf einem eigenständigen Raspi.
Meine Config sieht wie folgt aus:

Code: Alles auswählen

// CCU-Historian Konfiguration
// 
// Hinweise:
// Kommentarzeilen starten mit zwei Schrägstrichen (//). Alle Zeichen nach den Schrägstrichen
// werden ignoriert. Zeichenketten als Optionswert müssen von einfachen Anführungszeichen (')
// umschlossen sein. Weitere Informationen sind auch im Abschnitt 3 des Handbuchs zu finden.
//
// Liste der zur Verfügung stehen Konfigurationsoptionen mit ihren jeweiligen Standardwerten:
//
// logSystem.consoleLevel=Level.INFO
// logSystem.fileLevel=Level.OFF
logSystem.fileName='/opt/ccu-historian/ccu-historian-%g.log'
// logSystem.fileLimit=1000000
// logSystem.fileCount=5
// logSystem.binRpcLevel=Level.WARNING
database.dir='/opt/ccu-historian/data'
// database.name='history'
// database.user='sa'
// database.password='ccu-historian'
database.backup='backup'
// database.webEnable=true
// database.webPort=8082
database.webAllowOthers=true
// database.tcpEnable=false
// database.tcpPort=9092
// database.tcpAllowOthers=false
// database.pgEnable=false
// database.pgPort=5435
// database.pgAllowOthers=false
webServer.port=80
webServer.dir='/opt/ccu-historian/webapp'
// webServer.logLevel=Level.WARNING
webServer.historianAddress='192.168.0.151'
// webServer.trendDesigns ... (s.a. Abschnitt 7.4.1 im Handbuch)
// webServer.apiKeys=[]
// webServer.menuLinks ... (s.a. Abschnitt 4.4 im Handbuch)
// historian.metaCycle=3600000 // 1 Stunde
// historian.bufferCount=5000
// historian.bufferTime=0 
// devices.historianBinRpcPort=2099
// devices.historianXmlRpcPort=2098
devices.historianAddress='192.168.0.151'
// 
// Für jede Zentrale bzw. jedes Gerät müssen folgende zwei Optionen gesetzt werden
// (s.a. Abschnitt 3.2 im Handbuch):
// devices.device1.type=CCU2 
// devices.device1.address='192.168.0.150'
//
// Optional können noch folgende Optionen gesetzt werden:
// devices.device<Nr.>.plugin<Nr.>.type=<CUXD oder HMWLGW>
// devices.device<Nr.>.sysVarDataCycle=30000
// devices.device<Nr.>.reinitTimeout=300000
// devices.device<Nr.>.writeAccess=false
// devices.device<Nr.>.watchdogProgram=''
// devices.device<Nr.>.watchdogCycle=300000 // 5 Minuten
// Bei Anbindung von mehreren Zentralen muss ein Präfix je Zantrale gesetzt werden!
// devices.device<Nr.>.prefix=''
//
// Es muss im Folgenden mindestens eine Zentrale bzw. Gerät konfiguriert werden:

// Typ der Zentrale: CCU1 oder CCU2
devices.device1.type=CCU2
// IP-Adresse der Zentrale
devices.device1.address='192.168.0.150'

// Falls CUxD verwendet wird, die Kommentarzeichen (//) vor folgender Zeile entfernen:
// devices.device1.plugin1.type=CUXD

// Falls das HomeMatic Wired LAN Gateway verwendet wird, die Kommentarzeichen (//) vor 
// folgender Zeile entfernen:
// devices.device1.plugin1.type=HMWLGW

// Falls CUxD UND das HMWLGW verwendet wird, die Kommentarzeichen (//) vor folgenden
// zwei Zeilen entfernen:
devices.device1.plugin1.type=CUXD
devices.device1.plugin2.type=HMWLGW

// Zum Freischalten der Web-Links zu den Beispiel-Web-Seiten, die Kommentarzeichen (//) vor folgenden
// zwei Zeilen entfernen:
// webServer.menuLinks.link1.text='Beispiel 1 - Vorjahresvergleich'
// webServer.menuLinks.link1.address='/custom/example1.html'
Die Firewall meiner CCU sieht wie folgt aus:
FW CCU.JPG
Als CCU3 ist ein Raspi eingesetzt (Vers. 3.47.18.20190918). Ein Update auf die Version 3.47.22.20191026 heute morgen hat ebenfalls nichts in Bezug auf Historian gebracht.

Wie bereits geschrieben: ohne das ich etwas verändert habe, tritt das Phänomen auf.
Leider bin ich in Sachen Linux alles andere als "Sattelfest".

Vielleicht kann mir jemand aus Eurer Runde einen Tip geben.

Vielen lieben Dank schon mal.

Jörg

Mathias
Beiträge: 1783
Registriert: 03.11.2010, 10:25
System: CCU
Wohnort: Aachen
Hat sich bedankt: 58 Mal
Danksagung erhalten: 259 Mal
Kontaktdaten:

Re: Web Oberfläche plötzlich nicht mehr aufrufbar

Beitrag von Mathias » 01.11.2019, 11:47

Ich denke, dass nur ein Blick in die Log-Datei weiterhelfen wird. Bitte mal die Optionen, wie im Handbuch beschrieben, in die ccu-historian.config eintragen.

Gruß
Mathias

Joetra
Beiträge: 65
Registriert: 10.09.2015, 13:06
Hat sich bedankt: 1 Mal

Re: Web Oberfläche plötzlich nicht mehr aufrufbar

Beitrag von Joetra » 05.11.2019, 19:35

Hallo Mathias,

vielen Dank für Deine Rückmeldung.
Ich habe meine config vor ca. 2 Stunden, gem. dem Handbuch/Deinem Link, bearbeitet.
Allerdings ist bis jetzt (noch) keine Log-Datei vorhanden. Vielleicht dauert es aber auch ein wenig.

Noch eine kurze Info: Ich habe mittlerweile auf 2.2.0 geupdatet, in der Hoffnung, dass Historian wieder läuft. Leider Fehlanzeige. Ich bekomme im Browser immer noch nur "Die Website ist nicht erreichbar" angezeigt.

Meine Datenbank ist ca. 2.4 GB groß. Die SD Karte hat eine Kapazität von 32 GB.

Über SSH komme ich auf das System - leider bin ich mit meinem "Linux-Latein" am Ende :-(

Viele Grüße und vorab ein dickes Danke an Dich

Jörg

Bastelgeselle
Beiträge: 36
Registriert: 11.12.2018, 18:45
System: Alternative CCU (auf Basis OCCU)
Wohnort: St.Gallen
Hat sich bedankt: 9 Mal

Re: Web Oberfläche plötzlich nicht mehr aufrufbar

Beitrag von Bastelgeselle » 25.12.2019, 00:40

Mir geht es ähnlich,
nach dem Deinstallieren der V 2.2, weil seit 04.Dez keine Daten mehr aufgezeichnet wurden,
und dem Reinstallieren der V 2.3.0 sehe ich, wie unter Port 8082 neue Daten wieder aufgezeichnet werden,
allerdings bekomme ich den eingebauten Webserver nicht angesprochen.

Die Config Datei auf dem Synology konte ich mir zugänglich machen via soft-Link auf appstore, den ich dann als Gemeinsamen Ordner neu angelegt habe. Diesen Ordner konnte ich mir dann als Netzwerkordner auf meinen Windows PC mappen.
Jetzt kann ich die config Datei mit notepad++ bearbeiten.
Mathias hat geschrieben:
01.11.2019, 11:47
Ich denke, dass nur ein Blick in die Log-Datei weiterhelfen wird. Bitte mal die Optionen, wie im Handbuch beschrieben, in die ccu-historian.config eintragen.

Code: Alles auswählen

2019-12-25 01:07:33|FINE   |Timestamp 1970-01-01 01:00:00 of system variable DutyCycle-Alarm is out of range
2019-12-25 01:07:33|FINE   |Timestamp 1970-01-01 01:00:00 of system variable WatchDog-Alarm is out of range
2019-12-25 01:07:33|FINER  |Event received: SysVar.950.VALUE, Mon Dec 23 20:03:27 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.1238.VALUE, Wed Dec 25 01:07:00 CET 2019, 13.0, 2
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.950.VALUE
2019-12-25 01:07:33|FINER  |Event received: SysVar.8289.VALUE, Wed Dec 25 01:07:33 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.12928.VALUE, Mon Dec 23 20:02:34 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.5263.VALUE, Mon Dec 23 20:02:43 CET 2019, 23.12.2019 20:02:43, 2
2019-12-25 01:07:33|FINE   |Database: Inserting (Mon Dec 23 20:03:27 CET 2019, false, 10) into D_SYSVAR_950_VALUE
2019-12-25 01:07:33|FINER  |Event received: SysVar.6638.VALUE, Wed Dec 25 00:11:30 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.6637.VALUE, Wed Dec 25 00:16:07 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.11226.VALUE, Tue Dec 24 22:45:00 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.1238.VALUE
2019-12-25 01:07:33|FINER  |Event received: SysVar.5753.VALUE, Mon Dec 23 20:02:34 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.12668.VALUE, Mon Dec 23 20:02:34 CET 2019, false, 2
2019-12-25 01:07:33|FINE   |Database: Inserting (Wed Dec 25 01:07:00 CET 2019, 13.0, 10) into D_SYSVAR_1238_VALUE
2019-12-25 01:07:33|FINER  |Event received: SysVar.10390.VALUE, Mon Dec 23 20:05:43 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Event received: SysVar.6253.VALUE, Wed Dec 25 01:07:33 CET 2019, false, 2
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.8289.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Wed Dec 25 01:07:33 CET 2019, false, 10) into D_SYSVAR_8289_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.12928.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Mon Dec 23 20:02:34 CET 2019, false, 10) into D_SYSVAR_12928_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.5263.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Mon Dec 23 20:02:43 CET 2019, 23.12.2019 20:02:43, 10) into C_SYSVAR_5263_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.6638.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Wed Dec 25 00:11:30 CET 2019, false, 10) into D_SYSVAR_6638_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.6637.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Wed Dec 25 00:16:07 CET 2019, false, 10) into D_SYSVAR_6637_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.11226.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Tue Dec 24 22:45:00 CET 2019, false, 10) into D_SYSVAR_11226_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.5753.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Mon Dec 23 20:02:34 CET 2019, false, 10) into D_SYSVAR_5753_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.12668.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Mon Dec 23 20:02:34 CET 2019, false, 10) into D_SYSVAR_12668_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.10390.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Mon Dec 23 20:05:43 CET 2019, false, 10) into D_SYSVAR_10390_VALUE
2019-12-25 01:07:33|FINER  |Database: Getting data point with id SysVar.6253.VALUE
2019-12-25 01:07:33|FINE   |Database: Inserting (Wed Dec 25 01:07:33 CET 2019, false, 10) into D_SYSVAR_6253_VALUE
2019-12-25 01:07:58|FINE   |Stopping main scheduler
2019-12-25 01:07:58|INFO   |Stopping web server
2019-12-25 01:07:58|FINE   |Stopping preprocessor
2019-12-25 01:07:58|INFO   |Stopping interfaces
2019-12-25 01:07:58|FINE   |Calling init(http://192.168.1.40:2098)
2019-12-25 01:07:58|FINE   |Calling init(http://192.168.1.40:2098)
2019-12-25 01:07:58|FINE   |Stopping re-init task
2019-12-25 01:07:58|FINE   |Calling method 'init' with parameters [binary://192.168.1.40:2099]
2019-12-25 01:07:58|FINE   |Received response: 
2019-12-25 01:07:58|FINE   |Stopping XML-RPC server
2019-12-25 01:07:58|INFO   |Stopping BIN-RPC server on port 2099
2019-12-25 01:07:58|INFO   |Stopping database
2019-12-25 01:07:59|INFO   |Stopping base services
2019-12-25 01:07:59|FINE   |Reading configuration file ccu-historian.config
2019-12-25 01:07:59|FINE   |Log system configuration:
2019-12-25 01:07:59|FINE   |logSystem.consoleLevel=Level.FINER
2019-12-25 01:07:59|FINE   |logSystem.fileLevel=Level.FINEST
2019-12-25 01:07:59|FINE   |logSystem.fileName='./ccu-historian-%g.log'
2019-12-25 01:07:59|FINE   |logSystem.fileLimit=10000000
2019-12-25 01:07:59|FINE   |logSystem.fileCount=5
2019-12-25 01:07:59|FINE   |logSystem.binRpcLevel=Level.FINER
2019-12-25 01:07:59|INFO   |Starting base services
2019-12-25 01:07:59|FINE   |base.scriptDir='.'
2019-12-25 01:07:59|INFO   |Connecting to database
2019-12-25 01:07:59|FINE   |database.dir='./data'
2019-12-25 01:07:59|FINE   |database.name='history'
2019-12-25 01:07:59|FINE   |database.user='sa'
2019-12-25 01:07:59|FINE   |database.webEnable=true
2019-12-25 01:07:59|FINE   |database.webPort=8082
2019-12-25 01:07:59|FINE   |database.webAllowOthers=true
2019-12-25 01:07:59|FINE   |database.tcpEnable=false
2019-12-25 01:07:59|FINE   |database.tcpPort=9092
2019-12-25 01:07:59|FINE   |database.tcpAllowOthers=false
2019-12-25 01:07:59|FINE   |database.pgEnable=false
2019-12-25 01:07:59|FINE   |database.pgPort=5435
2019-12-25 01:07:59|FINE   |database.pgAllowOthers=false
2019-12-25 01:07:59|FINE   |database.backup=''
2019-12-25 01:07:59|FINE   |Preparing database
2019-12-25 01:07:59|FINE   |Read config: internal.databaseVersion=3
2019-12-25 01:07:59|FINE   |Read config: internal.databaseVersion=3
2019-12-25 01:07:59|FINE   |Read config: internal.databaseVersion=3
2019-12-25 01:07:59|FINE   |Read config: internal.databaseVersion=3
2019-12-25 01:07:59|INFO   |Starting database web server
2019-12-25 01:07:59|FINE   |Database management URL: http://192.168.1.188:8082
2019-12-25 01:07:59|FINE   |Configuring interfaces
2019-12-25 01:07:59|FINE   |All devices: Reading configuration option 'historianBinRpcPort': 
2019-12-25 01:07:59|FINE   |All devices: Reading configuration option 'historianXmlRpcPort': 
2019-12-25 01:07:59|FINE   |All devices: Reading configuration option 'historianAddress': 192.168.1.40
2019-12-25 01:07:59|INFO   |Setting up device 1
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'type': CUSTOM_CCU
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'address': 192.168.1.50
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'reinitTimeout': 
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'prefix': 
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'writeAccess': 
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'sysVarDataCycle': 
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'timeout': 
2019-12-25 01:07:59|INFO   |Creating HM script client for http://192.168.1.50:8181/tclrega.exe
2019-12-25 01:07:59|INFO   |Setting up plug-in 1
2019-12-25 01:07:59|FINE   |Plug-in 1: Reading configuration option 'type': HMIP_RF
2019-12-25 01:07:59|INFO   |Setting up plug-in 2
2019-12-25 01:07:59|FINE   |Plug-in 2: Reading configuration option 'type': BIDCOS_RF
2019-12-25 01:07:59|INFO   |Setting up plug-in 3
2019-12-25 01:07:59|FINE   |Plug-in 3: Reading configuration option 'type': CUXD
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'watchdogProgram': 
2019-12-25 01:07:59|FINE   |Device 1: Reading configuration option 'watchdogCycle': 
2019-12-25 01:07:59|INFO   |Configured following interfaces: SysVar, HmIP-RF, BidCos-RF, CUxD
2019-12-25 01:07:59|INFO   |Starting interfaces
2019-12-25 01:07:59|INFO   |Starting BIN-RPC server on port 2099
2019-12-25 01:07:59|INFO   |Starting XML-RPC server on port 2098
2019-12-25 01:07:59|FINE   |XML-RPC server address is http://192.168.1.40:2098
2019-12-25 01:07:59|FINE   |Calling init(http://192.168.1.40:2098, HmIP-RF)
2019-12-25 01:07:59|FINE   |Starting re-init task
2019-12-25 01:07:59|FINE   |Calling init(http://192.168.1.40:2098, BidCos-RF)
2019-12-25 01:07:59|FINE   |Calling method 'init' with parameters [binary://192.168.1.40:2099, CUxD]
2019-12-25 01:07:59|INFO   |Connecting to 192.168.1.50:8701
2019-12-25 01:07:59|FINE   |Received response: 
2019-12-25 01:07:59|FINE   |Interfaces started
2019-12-25 01:07:59|INFO   |Starting historian
2019-12-25 01:07:59|FINE   |historian.metaCycle=3600000
2019-12-25 01:07:59|FINE   |historian.bufferCount=5000
2019-12-25 01:07:59|FINE   |historian.bufferTime=0
2019-12-25 01:07:59|INFO   |Starting web server
2019-12-25 01:07:59|FINE   |webServer.port=8500
2019-12-25 01:07:59|FINE   |webServer.dir='./webapp'
2019-12-25 01:07:59|FINE   |webServer.logLevel=Level.FINER
2019-12-25 01:07:59|FINE   |webServer.historianAddress='192.168.1.40'
2019-12-25 01:07:59|FINE   |webServer.trendDesigns=[]
2019-12-25 01:07:59|FINE   |webServer.apiKeys=[]
2019-12-25 01:07:59|FINE   |webServer.menuLinks=[H2-HighChart]
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.server.Server@10bea4 + SelectChannelConnector@0.0.0.0:8500 as connector
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.server.Server@10bea4 + o.e.j.w.WebAppContext{/,file:/W:/ccu-historian/webapp/} as handler
2019-12-25 01:07:59|FINE   |Container o.e.j.w.WebAppContext{/,file:/W:/ccu-historian/webapp/} + org.eclipse.jetty.servlet.ErrorPageErrorHandler@7e2c64 as error
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.server.Server@10bea4
2019-12-25 01:07:59|INFO   |jetty-7.2.2.v20101205
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.server.Server@10bea4 + qtp1979081{8<=0<=0/254,-1} as threadpool
2019-12-25 01:07:59|FINE   |Starting qtp1979081{8<=0<=0/254,-1}
2019-12-25 01:07:59|FINE   |STARTED qtp1979081{8<=6<=8/254,0}
2019-12-25 01:07:59|FINE   |Starting o.e.j.w.WebAppContext{/,file:/W:/ccu-historian/webapp/}
2019-12-25 01:07:59|FINE   |Thread Context class loader is: WebAppClassLoader@3695829
2019-12-25 01:07:59|FINE   |Parent class loader is: sun.misc.Launcher$AppClassLoader@1f96302
2019-12-25 01:07:59|FINE   |Parent class loader is: sun.misc.Launcher$ExtClassLoader@b9e255
2019-12-25 01:07:59|FINE   |Set temp dir C:\Users\Papa\AppData\Local\Temp\jetty-0.0.0.0-8500-webapp-_-any-
2019-12-25 01:07:59|FINE   |parse: jar:file:/W:/ccu-historian/lib/jetty-all-7.2.2.v20101205.jar!/org/eclipse/jetty/webapp/webdefault.xml
2019-12-25 01:07:59|FINE   |parsing: sid=jar:file:/W:/ccu-historian/lib/jetty-all-7.2.2.v20101205.jar!/org/eclipse/jetty/webapp/webdefault.xml,pid=null
2019-12-25 01:07:59|FINE   |jar:file:/W:/ccu-historian/lib/jetty-all-7.2.2.v20101205.jar!/org/eclipse/jetty/webapp/webdefault.xml: Calculated metadatacomplete = True with version=2.5
2019-12-25 01:07:59|FINE   |parse: file:/W:/ccu-historian/webapp/WEB-INF/web.xml
2019-12-25 01:07:59|FINE   |parsing: sid=file:/W:/ccu-historian/webapp/WEB-INF/web.xml,pid=null
2019-12-25 01:07:59|FINE   |file:/W:/ccu-historian/webapp/WEB-INF/web.xml: Calculated metadatacomplete = NotSet with version=2.5
2019-12-25 01:07:59|FINE   |Configuring web-jetty.xml
2019-12-25 01:07:59|FINE   |filterNameMap={}
2019-12-25 01:07:59|FINE   |pathFilters=null
2019-12-25 01:07:59|FINE   |servletFilterMap=null
2019-12-25 01:07:59|FINE   |servletPathMap={/=default}
2019-12-25 01:07:59|FINE   |servletNameMap={default=default}
2019-12-25 01:07:59|INFO   |NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2019-12-25 01:07:59|FINE   |filterNameMap={}
2019-12-25 01:07:59|FINE   |pathFilters=null
2019-12-25 01:07:59|FINE   |servletFilterMap=null
2019-12-25 01:07:59|FINE   |servletPathMap={*.jspx=jsp, *.JSPX=jsp, *.jsp=jsp, *.JSPF=jsp, *.jspf=jsp, *.JSP=jsp, *.xsp=jsp, *.XSP=jsp, /=default}
2019-12-25 01:07:59|FINE   |servletNameMap={default=default, jsp=jsp}
2019-12-25 01:07:59|FINE   |filterNameMap={}
2019-12-25 01:07:59|FINE   |pathFilters=null
2019-12-25 01:07:59|FINE   |servletFilterMap=null
2019-12-25 01:07:59|FINE   |servletPathMap={*.jspx=jsp, *.JSPX=jsp, *.jsp=jsp, *.JSPF=jsp, *.jspf=jsp, *.JSP=jsp, *.gsp=Template, *.xsp=jsp, *.XSP=jsp, *.html=Template, *.htm=Template, /=default}
2019-12-25 01:07:59|FINE   |servletNameMap={default=default, jsp=jsp, Template=Template}
2019-12-25 01:07:59|FINE   |filterNameMap={}
2019-12-25 01:07:59|FINE   |pathFilters=null
2019-12-25 01:07:59|FINE   |servletFilterMap=null
2019-12-25 01:07:59|FINE   |servletPathMap={*.JSPX=jsp, /query/trend=Groovy, *.jsp=jsp, *.gy=Groovy, *.jspf=jsp, *.JSP=jsp, *.gsp=Template, /query/csv=Groovy, *.html=Template, /=default, *.jspx=jsp, *.JSPF=jsp, *.xsp=jsp, *.XSP=jsp, /query/jsonrpc=Groovy, *.htm=Template, *.groovy=Groovy}
2019-12-25 01:07:59|FINE   |servletNameMap={default=default, jsp=jsp, Groovy=Groovy, Template=Template}
2019-12-25 01:07:59|FINE   |filterNameMap={cross-origin=cross-origin}
2019-12-25 01:07:59|FINE   |pathFilters=[[/*]/[]==0=>cross-origin]
2019-12-25 01:07:59|FINE   |servletFilterMap={}
2019-12-25 01:07:59|FINE   |servletPathMap={*.JSPX=jsp, /query/trend=Groovy, *.jsp=jsp, *.gy=Groovy, *.jspf=jsp, *.JSP=jsp, *.gsp=Template, /query/csv=Groovy, *.html=Template, /=default, *.jspx=jsp, *.JSPF=jsp, *.xsp=jsp, *.XSP=jsp, /query/jsonrpc=Groovy, *.htm=Template, *.groovy=Groovy}
2019-12-25 01:07:59|FINE   |servletNameMap={default=default, jsp=jsp, Groovy=Groovy, Template=Template}
2019-12-25 01:07:59|FINE   |Container o.e.j.w.WebAppContext{/,file:/W:/ccu-historian/webapp/} + org.eclipse.jetty.server.session.SessionHandler@8e67b9 as handler
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + cross-origin as filter
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + [/*]/[]==0=>cross-origin as filterMapping
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + default as servlet
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + jsp as servlet
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + Template as servlet
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + Groovy as servlet
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + [/]=>default as servletMapping
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp as servletMapping
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + [*.html, *.htm, *.gsp]=>Template as servletMapping
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.servlet.ServletHandler@a3a5e + [*.groovy, *.gy, /query/trend, /query/csv, /query/jsonrpc]=>Groovy as servletMapping
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.security.ConstraintSecurityHandler@1206065 + org.eclipse.jetty.servlet.ServletHandler@a3a5e as handler
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.server.session.SessionHandler@8e67b9 + org.eclipse.jetty.security.ConstraintSecurityHandler@1206065 as handler
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.server.session.SessionHandler@8e67b9 + org.eclipse.jetty.server.session.HashSessionManager@bbc9f as sessionManager
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.server.session.SessionHandler@8e67b9
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.server.session.HashSessionManager@bbc9f
2019-12-25 01:07:59|FINE   |Container org.eclipse.jetty.server.Server@10bea4 + org.eclipse.jetty.server.session.HashSessionIdManager@117b708 as sessionIdManager
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.server.session.HashSessionIdManager@117b708
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.server.session.HashSessionIdManager@117b708
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.server.session.HashSessionManager@bbc9f
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.security.ConstraintSecurityHandler@1206065
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.servlet.ServletHandler@a3a5e
2019-12-25 01:07:59|FINE   |filterNameMap={cross-origin=cross-origin}
2019-12-25 01:07:59|FINE   |pathFilters=[[/*]/[]==0=>cross-origin]
2019-12-25 01:07:59|FINE   |servletFilterMap={}
2019-12-25 01:07:59|FINE   |servletPathMap={*.JSPX=jsp, /query/trend=Groovy, *.jsp=jsp, *.gy=Groovy, *.jspf=jsp, *.JSP=jsp, *.gsp=Template, /query/csv=Groovy, *.html=Template, /=default, *.jspx=jsp, *.JSPF=jsp, *.xsp=jsp, *.XSP=jsp, /query/jsonrpc=Groovy, *.htm=Template, *.groovy=Groovy}
2019-12-25 01:07:59|FINE   |servletNameMap={default=default, jsp=jsp, Groovy=Groovy, Template=Template}
2019-12-25 01:07:59|FINE   |starting org.eclipse.jetty.servlet.ServletHandler@a3a5e
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.servlet.ServletHandler@a3a5e
2019-12-25 01:07:59|FINE   |starting org.eclipse.jetty.security.ConstraintSecurityHandler@1206065
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.security.ConstraintSecurityHandler@1206065
2019-12-25 01:07:59|FINE   |starting org.eclipse.jetty.server.session.SessionHandler@8e67b9
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.server.session.SessionHandler@8e67b9
2019-12-25 01:07:59|FINE   |starting o.e.j.w.WebAppContext{/,file:/W:/ccu-historian/webapp/}
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.servlet.ErrorPageErrorHandler@7e2c64
2019-12-25 01:07:59|FINE   |starting org.eclipse.jetty.servlet.ErrorPageErrorHandler@7e2c64
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.servlet.ErrorPageErrorHandler@7e2c64
2019-12-25 01:07:59|FINE   |Starting cross-origin
2019-12-25 01:07:59|FINE   |Holding class org.eclipse.jetty.servlets.CrossOriginFilter
2019-12-25 01:07:59|FINE   |Cross-origin filter configuration: allowedOrigins = *, allowedMethods = GET,POST, allowedHeaders = X-Requested-With,Content-Type,Accept, preflightMaxAge = 1800, allowCredentials = false
2019-12-25 01:07:59|FINE   |STARTED cross-origin
2019-12-25 01:07:59|FINE   |Starting Groovy
2019-12-25 01:07:59|FINE   |loaded class mdz.ccuhistorian.webapp.GroovyServlet
2019-12-25 01:07:59|FINE   |loaded class mdz.ccuhistorian.webapp.GroovyServlet from sun.misc.Launcher$AppClassLoader@1f96302
2019-12-25 01:07:59|FINE   |Holding class mdz.ccuhistorian.webapp.GroovyServlet
2019-12-25 01:07:59|FINE   |STARTED Groovy
2019-12-25 01:07:59|FINE   |Starting Template
2019-12-25 01:07:59|FINE   |loaded class mdz.ccuhistorian.webapp.TemplateServlet
2019-12-25 01:07:59|FINE   |loaded class mdz.ccuhistorian.webapp.TemplateServlet from sun.misc.Launcher$AppClassLoader@1f96302
2019-12-25 01:07:59|FINE   |Holding class mdz.ccuhistorian.webapp.TemplateServlet
2019-12-25 01:07:59|FINE   |STARTED Template
2019-12-25 01:07:59|FINE   |Starting default
2019-12-25 01:07:59|FINE   |loaded class org.eclipse.jetty.servlet.DefaultServlet
2019-12-25 01:07:59|FINE   |loaded class org.eclipse.jetty.servlet.DefaultServlet from sun.misc.Launcher$AppClassLoader@1f96302
2019-12-25 01:07:59|FINE   |Holding class org.eclipse.jetty.servlet.DefaultServlet
2019-12-25 01:07:59|FINE   |ignoring resource cache configuration, using resourceCache attribute
2019-12-25 01:07:59|FINE   |Cache resourceCache=null
2019-12-25 01:07:59|FINE   |resource base = null
2019-12-25 01:07:59|FINE   |STARTED default
2019-12-25 01:07:59|FINE   |Starting jsp
2019-12-25 01:07:59|FINE   |Holding class org.eclipse.jetty.servlet.NoJspServlet
2019-12-25 01:07:59|FINE   |STARTED jsp
2019-12-25 01:07:59|FINE   |STARTED o.e.j.w.WebAppContext{/,file:/W:/ccu-historian/webapp/}
2019-12-25 01:07:59|FINE   |starting org.eclipse.jetty.server.Server@10bea4
2019-12-25 01:07:59|FINE   |Starting SelectChannelConnector@0.0.0.0:8500
2019-12-25 01:07:59|FINE   |Starting org.eclipse.jetty.server.nio.SelectChannelConnector$1@169ea63
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.server.nio.SelectChannelConnector$1@169ea63
2019-12-25 01:07:59|INFO   |Started SelectChannelConnector@0.0.0.0:8500
2019-12-25 01:07:59|FINE   |STARTED SelectChannelConnector@0.0.0.0:8500
2019-12-25 01:07:59|FINE   |STARTED org.eclipse.jetty.server.Server@10bea4
2019-12-25 01:07:59|INFO   |Web server port: 8500
2019-12-25 01:07:59|FINEST |Sleeping
2019-12-25 01:08:01|FINER  |Historian: Browsing interface: SysVar
2019-12-25 01:08:01|FINER  |Getting list of system variables
2019-12-25 01:08:01|FINER  |Executing script: string id; foreach(id, dom.GetObject(ID_SYSTEM_VARIABLES).EnumUsedIDs()) {
			var sv=dom.GetObject(id);
			var vt=sv.ValueType(); var st=sv.ValueSubType();
			var outvt="";
			if ((vt==ivtBinary) && (st==istBool)) { outvt="BOOL"; }
			if ((vt==ivtBinary) && (st==istAlarm)) { outvt="ALARM"; }
			if ((vt==ivtInteger) && (st==istEnum)) { outvt="ENUM"; }
			if ((vt==ivtFloat) && (st==istGeneric)) { outvt="FLOAT"; }
			if ((vt==ivtString) && (st==istChar8859)) { outvt="STRING"; }
			if (outvt!="") { WriteLine(id # "	" # sv.Name() # "	" # sv.ValueMax() # "	" # sv.ValueUnit() # "	" # 
				sv.ValueMin() # "	" # sv.Operations() # "	" # outvt); }
		}
2019-12-25 01:08:01|FINER  |Response: 950	CCU SV Status				7	BOOL
1238	DutyCycle	100	%	-1	7	FLOAT
8289	DutyCycle-Alarm				7	ALARM
12928	Haus SV Anwesenheit				7	BOOL
5263	Letzter Neustart				7	STRING
6638	Schalter-S22_SV_Licht-Schlaf-schrank				7	BOOL
6637	Schalter-S23_SV_WoZi-Schrank				7	BOOL
11226	Schalter-S25_SV_Fernseher				7	BOOL
5753	Schalter-S26_SV_Max-Schranklicht				7	BOOL
12668	SchutzStufe1_SV				7	BOOL
10390	Waschprogramm_SV				7	BOOL
6253	WatchDog-Alarm				7	ALARM
2019-12-25 01:08:01|FINER  |Historian: Updating data points of interface: SysVar
2019-12-25 01:08:01|FINER  |Historian: Subscribing data points of interface: SysVar
2019-12-25 01:08:01|FINER  |Historian: Updating data points of interface: HmIP-RF
2019-12-25 01:08:01|FINER  |Historian: Updating data points of interface: BidCos-RF
2019-12-25 01:08:01|FINER  |Historian: Updating data points of interface: CUxD
2019-12-25 01:08:04|FINE   |Reading system variable values
2019-12-25 01:08:04|FINER  |Getting values of system variables
2019-12-25 01:08:04|FINER  |Executing script: string id; foreach(id, "950	1238	8289	12928	5263	6638	6637	11226	5753	12668	10390	6253") {
			var sv=dom.GetObject(id); 
			if (sv) {
				if (sv.IsTypeOf(OT_VARDP) || sv.IsTypeOf(OT_ALARMDP)) { 
					WriteLine("0"); WriteLine(sv.Timestamp());
					Write(sv.Value()); WriteLine("");
				} else {
					WriteLine("2"); 
				}
			} else { 
				WriteLine("1"); 
			}
		}
2019-12-25 01:08:04|FINER  |Response: 0
2019-12-23 20:03:27
false
0
2019-12-25 01:08:00
13.000000
0
1970-01-01 01:00:00

0
2019-12-23 20:02:34
false
0
2019-12-23 20:02:43
23.12.2019 20:02:43
0
2019-12-25 00:11:30
false
0
2019-12-25 00:16:07
false
0
2019-12-24 22:45:00
false
0
2019-12-23 20:02:34
false
0
2019-12-23 20:02:34
false
0
2019-12-23 20:05:43
false
0
1970-01-01 01:00:00

2019-12-25 01:08:04|FINE   |Timestamp 1970-01-01 01:00:00 of system variable DutyCycle-Alarm is out of range
2019-12-25 01:08:04|FINE   |Timestamp 1970-01-01 01:00:00 of system variable WatchDog-Alarm is out of range
2019-12-25 01:08:04|FINER  |Event received: SysVar.950.VALUE, Mon Dec 23 20:03:27 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Event received: SysVar.1238.VALUE, Wed Dec 25 01:08:00 CET 2019, 13.0, 2
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.950.VALUE
2019-12-25 01:08:04|FINER  |Event received: SysVar.8289.VALUE, Wed Dec 25 01:08:04 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Event received: SysVar.12928.VALUE, Mon Dec 23 20:02:34 CET 2019, false, 2
2019-12-25 01:08:04|FINE   |Database: Inserting (Mon Dec 23 20:03:27 CET 2019, false, 10) into D_SYSVAR_950_VALUE
2019-12-25 01:08:04|FINER  |Event received: SysVar.5263.VALUE, Mon Dec 23 20:02:43 CET 2019, 23.12.2019 20:02:43, 2
2019-12-25 01:08:04|FINER  |Event received: SysVar.6638.VALUE, Wed Dec 25 00:11:30 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.1238.VALUE
2019-12-25 01:08:04|FINER  |Event received: SysVar.6637.VALUE, Wed Dec 25 00:16:07 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Event received: SysVar.11226.VALUE, Tue Dec 24 22:45:00 CET 2019, false, 2
2019-12-25 01:08:04|FINE   |Database: Inserting (Wed Dec 25 01:08:00 CET 2019, 13.0, 10) into D_SYSVAR_1238_VALUE
2019-12-25 01:08:04|FINER  |Event received: SysVar.5753.VALUE, Mon Dec 23 20:02:34 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Event received: SysVar.12668.VALUE, Mon Dec 23 20:02:34 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Event received: SysVar.10390.VALUE, Mon Dec 23 20:05:43 CET 2019, false, 2
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.8289.VALUE
2019-12-25 01:08:04|FINER  |Event received: SysVar.6253.VALUE, Wed Dec 25 01:08:04 CET 2019, false, 2
2019-12-25 01:08:04|FINE   |Database: Inserting (Wed Dec 25 01:08:04 CET 2019, false, 10) into D_SYSVAR_8289_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.12928.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Mon Dec 23 20:02:34 CET 2019, false, 10) into D_SYSVAR_12928_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.5263.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Mon Dec 23 20:02:43 CET 2019, 23.12.2019 20:02:43, 10) into C_SYSVAR_5263_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.6638.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Wed Dec 25 00:11:30 CET 2019, false, 10) into D_SYSVAR_6638_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.6637.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Wed Dec 25 00:16:07 CET 2019, false, 10) into D_SYSVAR_6637_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.11226.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Tue Dec 24 22:45:00 CET 2019, false, 10) into D_SYSVAR_11226_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.5753.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Mon Dec 23 20:02:34 CET 2019, false, 10) into D_SYSVAR_5753_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.12668.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Mon Dec 23 20:02:34 CET 2019, false, 10) into D_SYSVAR_12668_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.10390.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Mon Dec 23 20:05:43 CET 2019, false, 10) into D_SYSVAR_10390_VALUE
2019-12-25 01:08:04|FINER  |Database: Getting data point with id SysVar.6253.VALUE
2019-12-25 01:08:04|FINE   |Database: Inserting (Wed Dec 25 01:08:04 CET 2019, false, 10) into D_SYSVAR_6253_VALUE
EDIT:
Der Neustart der Synology hat es gebracht.
CCU-Historian läuft sauber und der Webserver liefert die Seite auch.

Mit weihnachtlichen Grüssen
Christian
Raspberrymatic auf Tinkerboard - Firmware 3.65.11.20221005
CUxD 2.10.1 - RedMatic 7.2.1

Antworten

Zurück zu „CCU-Historian“