[quote=“Chris, post:2, topic:175257”]It would be worth taking a look in the /www/dm directory and see if the dataMineWeb.tar.gz file is in there - if the plugin isn’t running, it should be a ~600k file, and it shouldn’t have an lzo extension.
Maybe also delete the file dataMineWeb.tar.gz.lzo and Data_Mine.png.lzo and see if they come back when you re-install the plugin. If they do come back, it may indicate that something strange is happening in apps. These files are configured to have non-standard directory entries (along with another file called json-dm.lua - is this also in this directory?).[/quote]
Hi Chris,
This is how my /www/dm looks like;
# ls -al /www/dm/
drwxr-xr-x 5 root root 0 May 4 16:56 .
drwxr-xr-x 1 root root 0 Mar 10 11:21 ..
-rw-r--r-- 1 root root 5754 Mar 16 22:27 dataMine.css
-rw-r--r-- 1 root root 0 May 4 16:56 dataMineWeb.tar.gz
drwxr-xr-x 3 root root 0 May 4 16:56 extjs
drwxr-xr-x 2 root root 0 May 4 16:56 images
-rw-r--r-- 1 root root 1765 Mar 21 23:28 index.html
drwxr-xr-x 2 root root 0 May 4 16:56 js
dataMineWeb.tar.gz 0 bytes?
Also, I had the json-dm.lua.lzo in /etc/cmh-ludl which I removed along with the other two stray files. When I select install from aps.mios.com, all other dataMine file are removed, and after a few seconds repopulated in the same size as previously. The three wrong files never came back.
Looking in the log, after pressing the Reload button in Vera (up in the right corner), log fills with;
02 05/04/13 17:06:48.553 JobHandler_LuaUPnP::FetchMissingFiles need to download D_DataMine1.json <0x2abf7000>
02 05/04/13 17:06:48.554 JobHandler_LuaUPnP::m_sMissingFile_set D_DataMine1.json <0x2abf7000>
01 05/04/13 17:06:48.718 Device_LuaUPnP::LoadDeviceDoc can't load /etc/cmh-lu//D_DataMine1.xml <0x2abf7000>
02 05/04/13 17:06:48.718 JobHandler_LuaUPnP::m_sMissingFile_set /etc/cmh-lu//D_DataMine1.xml <0x2abf7000>
01 05/04/13 17:06:48.719 JobHandler_LuaUPnP::CreateDevice_LuaUPnP failed to load 96/D_DataMine1.xml so device 96 is offline <0x2abf7000>
02 05/04/13 17:06:49.433 Device_Service::MatchupUpnpServices no upnp service for urn:cd-jackson-com:serviceId:DataMine1 <0x2abf7000>
09 05/04/13 17:06:57.693 JobHandler_LuaUPnP::Run device 96 dataMine graphing and logging plugin room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id parent 0/0xb92558 upnp: 0 <0x2abf7000>
03 05/04/13 17:06:57.722 JobHandler_LuaUPnP::Run ready 69 devices installation 30102043 missing /etc/cmh-lu//D_DataMine1.xml version *1.5.622* allow_evt: 1 allow_ud: 1 upnp 1 netpnp: 1 reprovision: 0 tz:-3600 tnow:1367680017 dst: 1 gmt:7200 tz:CET / CEST changed: 0 pMem 0xfad000 start 9887744 diff: 6549504 <0x2abf7000>
09 05/04/13 17:07:17.211 JobHandler_LuaUPnP::Run device 96 dataMine graphing and logging plugin room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id parent 0/0xbe24c0 upnp: 0 <0x2b38e000>
50 05/04/13 17:07:19.456 luup_log:96: dataMine: Initialising dataMine System (0.976) __LEAK__ this:106496 start:1478656 to 0x11c7000 <0x2bcc1680>
06 05/04/13 17:07:19.457 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xd36b30/NONE duplicate:1 <0x2bcc1680>
06 05/04/13 17:07:19.457 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2bcc1680>
50 05/04/13 17:07:19.508 luup_log:96: dataMine: Mounted: /dev/sda2 on /mnt/datamine_logs type ext4 (rw,relatime,barrier=1,data=ordered) __LEAK__ this:98304 start:1576960 to 0x11df000 <0x2bcc1680>
06 05/04/13 17:07:19.509 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountLocation was: /dev/sda2 now: /dev/sda2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2bcc1680>
06 05/04/13 17:07:19.509 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountType was: ext4 now: ext4 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2bcc1680>
50 05/04/13 17:07:19.550 luup_log:96: dataMine: Installing update of dataMine web application <0x2bcc1680>
06 05/04/13 17:07:24.884 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xd36b30/NONE duplicate:1 <0x2bcc1680>
06 05/04/13 17:07:24.884 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2bcc1680>
50 05/04/13 17:07:24.885 luup_log:96: dataMine: Startup complete <0x2bcc1680>
50 05/04/13 17:07:39.176 luup_log:96: dataMine: Delete backups complete - deleted 0 of 10 files <0x2d0c1680>
06 05/04/13 17:07:39.194 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskTotal was: 3329520 now: 3329520 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d0c1680>
06 05/04/13 17:07:39.195 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskUsed was: 76556 now: 76556 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d0c1680>
06 05/04/13 17:07:39.195 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskFree was: 3083828 now: 3083828 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d0c1680>
06 05/04/13 17:07:39.196 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskUsedPcnt was: 2 now: 2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d0c1680>
09 05/04/13 17:07:54.878 JobHandler_LuaUPnP::Run device 96 dataMine graphing and logging plugin room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id parent 0/0xeff4a8 upnp: 0 <0x2b769000>
50 05/04/13 17:07:57.543 luup_log:96: dataMine: Initialising dataMine System (0.976) <0x2c09d680>
06 05/04/13 17:07:57.554 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0x1053b30/NONE duplicate:1 <0x2c09d680>
06 05/04/13 17:07:57.554 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c09d680>
50 05/04/13 17:07:57.580 luup_log:96: dataMine: Mounted: /dev/sda2 on /mnt/datamine_logs type ext4 (rw,relatime,barrier=1,data=ordered) <0x2c09d680>
06 05/04/13 17:07:57.581 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountLocation was: /dev/sda2 now: /dev/sda2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c09d680>
06 05/04/13 17:07:57.581 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountType was: ext4 now: ext4 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c09d680>
06 05/04/13 17:07:57.618 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0x1053b30/NONE duplicate:1 <0x2c09d680>
06 05/04/13 17:07:57.618 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c09d680>
50 05/04/13 17:07:57.619 luup_log:96: dataMine: Startup complete <0x2c09d680>
50 05/04/13 17:08:12.483 luup_log:96: dataMine: Delete backups complete - deleted 0 of 10 files <0x2d49d680>
06 05/04/13 17:08:12.520 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskTotal was: 3329520 now: 3329520 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d49d680>
06 05/04/13 17:08:12.520 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskUsed was: 76556 now: 76556 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d49d680>
06 05/04/13 17:08:12.521 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskFree was: 3083828 now: 3083828 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d49d680>
06 05/04/13 17:08:12.521 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: diskUsedPcnt was: 2 now: 2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d49d680>
09 05/04/13 17:11:01.097 JobHandler_LuaUPnP::Run device 96 dataMine graphing and logging plugin room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id parent 0/0xace4c0 upnp: 0 <0x2b9f9000>
50 05/04/13 17:11:03.340 luup_log:96: dataMine: Initialising dataMine System (0.976) <0x2c32d680>
06 05/04/13 17:11:03.340 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xc22b30/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.341 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
50 05/04/13 17:11:03.365 luup_log:96: dataMine: Mounted: /dev/sda2 on /mnt/datamine_logs type ext4 (rw,relatime,barrier=1,data=ordered) <0x2c32d680>
06 05/04/13 17:11:03.366 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountLocation was: /dev/sda2 now: /dev/sda2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.366 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: mountType was: ext4 now: ext4 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.401 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelCnt was: 0 now: 0 #hooks: 0 upnp: 0 v:0xc22b30/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.401 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: ChannelRec was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
50 05/04/13 17:11:03.402 luup_log:96: dataMine: Startup complete <0x2c32d680>
I still get the errors after an install, but maybe that is a timing thing that happens. @17:11:01 I press the Reload button in the Vera UI, and from there on, it looks as if dataMine is OK(?).
So maybe I’m back to where I was this morning, but with a newer dataMine (which always is nice
) But still the channels are still 0.
The debug log page meanwhile looks like this;[code]
09 05/04/13 17:11:01.097 JobHandler_LuaUPnP::Run device 96 dataMine graphing and logging plugin room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id parent 0/0xace4c0 upnp: 0 <0x2b9f9000>
50 05/04/13 17:11:03.340 luup_log:96: dataMine: Initialising dataMine System (0.976) <0x2c32d680>
06 05/04/13 17:11:03.340 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mChannelCnte[0m was: 0 now: 0 #hooks: 0 upnp: 0 v:0xc22b30/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.341 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mChannelRece[0m was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
50 05/04/13 17:11:03.365 luup_log:96: dataMine: Mounted: /dev/sda2 on /mnt/datamine_logs type ext4 (rw,relatime,barrier=1,data=ordered) <0x2c32d680>
06 05/04/13 17:11:03.366 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mmountLocatione[0m was: /dev/sda2 now: /dev/sda2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.366 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mmountTypee[0m was: ext4 now: ext4 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.401 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mChannelCnte[0m was: 0 now: 0 #hooks: 0 upnp: 0 v:0xc22b30/NONE duplicate:1 <0x2c32d680>
06 05/04/13 17:11:03.401 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mChannelRece[0m was: 0 now: 0 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c32d680>
50 05/04/13 17:11:03.402 luup_log:96: dataMine: Startup complete <0x2c32d680>
50 05/04/13 17:11:18.175 luup_log:96: dataMine: Delete backups complete - deleted 0 of 10 files <0x2d72d680>
06 05/04/13 17:11:18.194 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mdiskTotale[0m was: 3329520 now: 3329520 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d72d680>
06 05/04/13 17:11:18.194 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mdiskUsede[0m was: 76556 now: 76556 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d72d680>
06 05/04/13 17:11:18.194 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mdiskFreee[0m was: 3083828 now: 3083828 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d72d680>
06 05/04/13 17:11:18.195 Device_Variable::m_szValue_set device: 96 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mdiskUsedPcnte[0m was: 2 now: 2 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2d72d680>
-2-===========================================================================
/dev/sda2: UUID=“88cd7ece-1b0c-48d1-9d0d-6bfed3b97f7c”
/dev/sda1: LABEL=“MiOS” UUID=“77d0bc9f-034f-4521-afb1-67e020843d17”
-3-===========================================================================
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock7 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/mtdblock8 on /mios type squashfs (ro,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda2 on /mnt/datamine_logs type ext4 (rw,relatime,barrier=1,data=ordered)
-4-===========================================================================
Disk /dev/mtdblock0: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock0 doesn’t contain a valid partition table
Disk /dev/sda: 4004 MB, 4004511744 bytes
124 heads, 62 sectors/track, 1017 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 137 526627+ 83 Linux
/dev/sda2 138 1017 3382720 83 Linux
-5-===========================================================================
SetDataDirectory-/mnt/datamine_logs/
SetMountUUID -
SetMountPoint -/dev/sda2
SetManualMount -0
-6-===========================================================================
{“Version”:“0.976”,“Events”:{“last”:1367665824,“count”:830,“next”:1367627357},“guiConfig”:[],“Variables”:[],“Graphs”:[],“LastWrite”:1367665846,“nextId”:1}
-7-===========================================================================[/code]
Thanks,
Micael