Cannot uninstall dataMine in UI7

Hello,

As my dataMine just stopped working, I tried to uninstall it to do a fresh reinstall.
But it didn’t work, the plugin is still visible in the Apps menu after a reboot with the error : Luup : Failed to download all plugins. Will retry in 10 minutes.
So, I’ve removed the Device created by the dataMine plugin, removed the USB stick, but still the same issue, the plugin cannot be uninstalled.
Do you have any clue to solve this ?
UI7 1.7.481

Best regards,

-Z-

[quote=“Zzo, post:1, topic:185722”]Hello,

As my dataMine just stopped working, I tried to uninstall it to do a fresh reinstall.
But it didn’t work, the plugin is still visible in the Apps menu after a reboot with the error : Luup : Failed to download all plugins. Will retry in 10 minutes.
So, I’ve removed the Device created by the dataMine plugin, removed the USB stick, but still the same issue, the plugin cannot be uninstalled.
Do you have any clue to solve this ?
UI7 1.7.481

Best regards,

-Z-[/quote]

Did you figure this out? I’m going to uninstall but I haven’t seen if there were any specific instructions.

You really do not need to go through the uninstall the app…, the installation of the update will replace the files in use and therefore, take effect on restart.
If you are worried about this, you could try the two phased approach;

[ul][li]Delete Device - either from the UI or http://ip_address:3480/data_request?id=device&action=delete&device=[/li]
[li]Update Plugin > http://ip_address:3480/data_request?id=update_plugin&Plugin=<Plugin_ID>
install > Install > http://ip_address:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=<Plugin_ID> [/li][/ul]

The DeviceId and Plugin_ID should be available on the Advance tab.
Also note, note all plugin or App are available in UI7.

Hi Brientim, what do you suggest for just uninstalling? Do you think the below is fine?

  1. Uninstall app
  2. delete directories made by SSH into the vera
  3. remove flash drive.

I am not sure that datamine was supported into UI7 and had stopped development as he had moved sometime ago to openHab and this was the genesis of DataYours.

You can ssh to remove legacy files, however I can remember what it set up as the mount albeit, using Vera usb or its own

Removing the files is a good idea, I got back about 1.2 Mbytes when I did that. There’s three places to look:

[ol][li]/etc/cmh-ludl/ for the usual installs[/li]
[li]/www/datamine/ for all the JavaScript libraries [/li]
[li]/usr/lib/lua/ for dm-json.lua[/li][/ol]

The mount isn’t an issue if the device doesn’t run.

Thanks everyone.

Here is what I did for anyone else interested

  1. Uninstall the App (I’m doing this from UI7).
  2. SSH into the Vera with root using WinSCP or an equivalent.
  3. Open the Terminal icon.
  4. Type: umount dataMine (enter)
  5. Remove the flash drive.
  6. Type: rm -r dataMine (enter)
  7. Type: cd /etc/cmh-ludl (enter)
  8. Type: rm DataMine (note the capital D for the xml/json files).
  9. Type: rm /overlay/www/dm/dataMine.css (enter).
  10. Type: rm /overlay/www/dm/dataMineWeb.tar.gz (enter).
  11. Type: rm /overlay/www/cmh/skins/default/icons/Data_Mine.png (enter).
  12. Type: rm /www/dm/dataMine.css (enter).
  13. Type: rm /www/dm/dataMineWeb.tar.gz (enter).
  14. Type: rm /www/cmh/skins/default/icons/Data_Mine.png (enter).
  15. Optionally, you can reboot if you wish.
  16. Profit.