dataMine installs, but doesn't detect USB or anything

So… not having much luck here. Any suggestions?

I have a Vera Lite on firmware 1.5.622 and UI5, and a 32GB USB stick. I would like to record temperature data from my ZWave thermostat.

  1. In Mac Disk Utility, format 32GB USB stick as “MS-DOS (FAT32)” with name 32GB_STICK
  2. From ‘Apps’ tab in UI5, install dataMine 0.980
  • UI5 now shows “dataMine graphing and logging” with links to “dataMine graphing page” and “dataMine debug page”
  • Note: the icon in the top-left corner shows a “broken image” icon (see attached screenshot)
  • Note: In the ‘DEVICES’ list, the icon for dataMine is the same “broken image” icon (see attached screenshot)
  1. Install freshly-formatted USB stick into back of Vera Lite.
  • Nothing happens in UI5
  1. Click on “dataMine graphing page” link
  • “Not Found: The requested URL /dm/index.html was not found on this server”
  1. Click on “dataMine debug page”
  • Produces some debug output (attached)

The installation guide says, “You should then run the GUI and you will be presented with the dialogue shown in Figure 1.” It was not clear to me what “the GUI” is, so I presume it means the UI5 GUI, which is already running because I just used it to install dataMine. I tried rebooting my Vera Lite and re-launching UI5 and still no USB dialog.

Any advice appreciated.

PS: In UI5’s Setup : Logs, I have made sure that “Store logs on USB device” option is DISABLED because I’ve read it can interfere with dataMine.

Good clear concise report on your problem.

There appears to be a bit of problem for some people getting the plugin started - Chris is busy so: Assuming this is a fresh install and you are willing - could you please just try the following:

In the plugin “Advanced” tab, under “SetMountUUID” type in the word “TestUUID” and nothing else whatsoever. Do a save and a restart.
On this very first restart please acquire the “datamine debug page” immediately BEFORE doing anything else and post it here.

Just doing the above may be sufficient to get a different plugin start up experience. Potentially - this may not initially solve your problem but may enable the plugin to prompt you further for more information - that will get you there.

The GUI referred to in the manual is the effectively the web page that controls dataMine, when you finally get access through the link “datamine graphing page”.

If you review the document below us will provide you with a lot of information on datamine, the datamine GUI, layout and functions.

http://code.mios.com/trac/mios_datamine/raw-attachment/wiki/WikiStart/dataMine%20Overview.pdf

Ok, here is the debug page, I hope I did it right.

-1-=========================================================================== 09 10/13/13 0:40:11.258 JobHandler_LuaUPnP::Run device 6 dataMine graphing and logging room 0 type urn:schemas-cd-jackson-com:device:DataMine:1 id parent 0/0x7de548 upnp: 0 <0x2b57b000> 50 10/13/13 0:40:14.297 luup_log:6: dataMine: Initialising dataMine System (0.980) LEAK this:8192 start:319488 to 0x944000 <0x2beaf680> 06 10/13/13 0:40:14.297 Device_Variable::m_szValue_set device: 6 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1merrorStatuse[0m was: false now: false #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2beaf680> 06 10/13/13 0:40:14.298 Device_Variable::m_szValue_set device: 6 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mChannelCnte[0m was: 0 now: 0 #hooks: 0 upnp: 0 v:0x8343a8/NONE duplicate:1 <0x2beaf680> 06 10/13/13 0:40:14.298 Device_Variable::m_szValue_set device: 6 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 <0x2beaf680> 50 10/13/13 0:40:14.299 luup_log:6: dataMine: Mounting to UUID ‘TestUUID’ <0x2beaf680> 50 10/13/13 0:40:14.715 luup_log:6: dataMine: Error reading tmpfile during UUID check <0x2beaf680> 50 10/13/13 0:40:14.730 luup_log:6: dataMine: No UUID mount ‘TestUUID’ was found! <0x2beaf680> 50 10/13/13 0:40:14.752 luup_log:6: dataMine: Error reading tmpfile during mountcheck <0x2beaf680> 06 10/13/13 0:40:14.752 Device_Variable::m_szValue_set device: 6 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mmountLocatione[0m was: EMPTY now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2beaf680> 06 10/13/13 0:40:14.753 Device_Variable::m_szValue_set device: 6 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mmountTypee[0m was: EMPTY now: #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2beaf680> 50 10/13/13 0:40:14.807 luup_log:6: dataMine: ERROR: Unable to open config file for read :: /dataMine/dataMineConfig.json <0x2beaf680> 50 10/13/13 0:40:14.822 luup_log:6: dataMine: Primary config file load failed. No backup file found! <0x2beaf680> 06 10/13/13 0:40:14.823 Device_Variable::m_szValue_set device: 6 service: urn:cd-jackson-com:serviceId:DataMine1 variable: e[35;1mChannelCnte[0m was: 0 now: 0 #hooks: 0 upnp: 0 v:0x8343a8/NONE duplicate:1 <0x2beaf680> 06 10/13/13 0:40:14.823 Device_Variable::m_szValue_set device: 6 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 <0x2beaf680> 50 10/13/13 0:40:14.823 luup_log:6: dataMine: Reinitialising configuration structure <0x2beaf680> 50 10/13/13 0:40:14.824 luup_log:6: dataMine: Startup complete <0x2beaf680> -2-=========================================================================== /dev/sda1: LABEL=“32GB_STICK” UUID=“84D8-1EEE” -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) -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: 31.2 GB, 31221153792 bytes 255 heads, 63 sectors/track, 3795 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 3796 30485376 b Win95 FAT32 -5-=========================================================================== SetDataDirectory-/dataMine/ SetMountUUID -TestUUID SetMountPoint - SetManualMount -0 -6-=========================================================================== {“dbVersion”:2,“Events”:{“count”:0,“last”:0},“Version”:“0.980”,“Variables”:[],“Graphs”:[],“guiConfig”:[],“nextId”:1} -7-===========================================================================

Right - that’s great - thanks for the log.

In the device’s ‘Advanced’ tab:

Set SetMountPoint to: /dev/sda1
Set SetMountUUID to: 84D8-1EEE

Do a couple of reloads using the “Reload” button in the user interface web page. If you see “…Error reading tmpfile during UUID check…” (likely) in the dataMine log web page then you will probably then need to manually create the dataMine directory - see:

http://forum.micasaverde.com/index.php/topic,16536.msg126678.html#msg126678
http://forum.micasaverde.com/index.php/topic,16243.msg127596.html#msg127596

In fact, it may be best to just check if the dataMine directory exists or not. If not, manually put it in and just do a reload - this may be sufficient to get things going without entering anything into the ‘Advanced’ tab.

It appears that doMount() and then checkMount() assumes that the dataMine directory already exists, when it may not. The temp file that is being made use of, may be better off being written to the ‘tmp’ directory under root.

[quote=“a-lurker, post:5, topic:177291”]In the device’s ‘Advanced’ tab:

Set SetMountPoint to: /dev/sda1
Set SetMountUUID to: 84D8-1EEE
… you will probably then need to manually create the dataMine directory - see:

http://forum.micasaverde.com/index.php/topic,16536.msg126678.html#msg126678
http://forum.micasaverde.com/index.php/topic,16243.msg127596.html#msg127596[/quote]

I was not able to SFTP to my Vera Lite using “root” and the password on the bottom of the device, because it doesn’t have a password on the bottom of the device. So I simulated a power outage (i.e., pulled the plug) and ripped the memory stick out. I plugged it into my mac, created a /dataMine and /www directory, and then plugged it back in, restarted the vera, reloaded a few times. Nothing. Then I applied the SetMountUUID and SetMountPoints you suggested above, reloaded once, and then the Disk Space Free setting jumped to 304685120 for the first time ever, which tells me it successfully hooked up to my flash drive.

Thanks for your help! Now to figure out how to plot temperatures and stuff.

-Jeff