Page 1 of 1

IOExceptions when temperature and moisture logging

Posted: Tue Oct 18, 2016 11:09 am
by perjarle
Hi
I keep seing a lot of IOExceptions while logging data from my temperature/moisture sensor (Proove)

Is it something I have done wrong in configuration?

The graph's are working, so there is atleast some data that are logged.

Here are the exceptions i'm getting:

Code: Select all

	16.10.18 12:45:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 12:45:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 12:30:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 12:30:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 12:15:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 12:15:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 12:00:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 12:00:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 11:45:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 11:45:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 11:30:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 11:30:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 11:15:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 11:15:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 11:00:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/utetemp.log outside /home/nethome" [90028-190]
	16.10.18 11:00:00	ValueItemLoggerH2Database	IO Exception: "/usr/share/data/logs/luftfuktighet_ute.log outside /home/nethome" [90028-190]
	16.10.18 11:00:00	ValueItemLoggerFactory	Enabled global logging of type: LoggerComponentH2Database with descriptor: jdbc:h2:tcp:localhost/nhs_values;USER=sa;PASSWORD=SuperSecretPa$$w0rd
	16.10.18 11:00:00	LoggerComponent	Was missing home item id, now set to: 75
	16.10.18 11:00:00	LoggerComponent	Was missing home item id, now set to: 76
/PJ

Re: IOExceptions when temperature and moisture logging

Posted: Tue Oct 18, 2016 7:57 pm
by SourceCodeSourcerer
Hi PJ!

I made a simple search for "h2 exception [90028-190]" and it appears to either be a fragmented database (H2Database is the one that is being used for the logger), or the Java version you are using being "old". I haven't seen this myself, so maybe you can elaborate a little with this information?

Fyi, the logger is designed to keep logging to text files, if you have these set up. You can check the logs directory for these.

It theory, you could try to wipe the database and reimport all the log files, which has been explained in http://wiki.nethome.nu/doku.php/h2databasetcpserver and section "Import text log files".

Good luck!

/Peter