Page 1 of 1

How to Remove Habitat?

Posted: Thu Dec 17, 2020 9:45 pm
by mmiller_ITA
Does anyone know how to completely remove Habitat from Automate? Disable plugin as well as rip out all EDFs, scripts, scheduled script entries, tabs, OMG so much!...and everything else? Is there an uninstaller?

Re: How to Remove Habitat?

Posted: Fri Dec 18, 2020 2:54 pm
by Cubert
First remove the plugin from the plugin manager.

Drop all tables that start with "plugin_p4a_habitat"

To remove EDF's and scripts

DELETE FROM `extrafield` WHERE Name = 'Enable Habitat Announce Maintenance'

DELETE FROM FROM userclasses Where Name = 'Habitat'

DELETE FROM lt_scripts where ScriptName = '%Habitat%"


That should remove pretty much everything that Habitat put in place.

Re: How to Remove Habitat?

Posted: Fri Dec 18, 2020 4:40 pm
by mmiller_ITA
Thank you for the information!

Additional questions...

When I delete the extrafield, I would assume it doesn't delete the dat contained within extrafielddata. Can you confirm this and if I need to also delete the values from that table that references the extrafield ID?

Also, when I delete from lt_scripts, what about data within the scheduledscripts table that reference the script ID? Does that need cleaned up too?

Thanks,

Matt

Re: How to Remove Habitat?

Posted: Mon Dec 28, 2020 2:28 pm
by mmiller_ITA
Just checking support for a reply to my additional questions.

M

Re: How to Remove Habitat?

Posted: Mon Jan 04, 2021 1:41 pm
by Cubert
Ideally yes.

You may also remove from server the log files generated by plugin. They are located in the logs directory for your install of Automate with the suffix of Habitat.

Then purge all Command Consoles plugins directories where host name of your server was used and I would also check the Automate servers plugins directory for a left over copy of the DLL file.