IOExceptions when temperature and moisture logging

Functionality and usage of the OpenNethome Server
Post Reply
perjarle
Posts: 32
Joined: Wed Aug 03, 2016 8:08 am

IOExceptions when temperature and moisture logging

Post by perjarle » Tue Oct 18, 2016 11:09 am

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

SourceCodeSourcerer
Posts: 10
Joined: Mon Mar 02, 2015 9:58 pm

Re: IOExceptions when temperature and moisture logging

Post by SourceCodeSourcerer » Tue Oct 18, 2016 7:57 pm

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

Post Reply