Deleting Modules Question

LabKey Support Forum (Inactive)
Deleting Modules Question micahs  2015-01-15 09:24
Status: Closed
 
Hello -

On 13.3 I'm not able to delete a module. I visit the 'Admin Console', delete the module, and on the next restart the upgrade process starts on the modules is back. How do I actually delete unused modules?

Micah
 
 
adam responded:  2015-01-15 09:36
You need to remove the module file and directory from your deployment. Your module is likely in <labkey_root>/modules or <labkey_root>/externalModules.

Thanks,
Adam
 
micahs responded:  2015-01-15 09:40
Ok -- sounds good. I'd recommend adjusting the confirmation message:

"Are you sure you want to remove the "xxx" module and delete all data in the "xxx" schema? This operation may render the server unusable and cannot be undone!

Deleting modules on a running server could leave it in an unpredictable state; be sure to restart your server."

It gives the impression there are no other steps.
 
adam responded:  2015-01-15 09:42
Good point, will do.

Adam
 
adam responded:  2015-01-16 15:18
I just added the following note to the Modules page:

The delete links below will remove all record of a module from the database tables, but to remove a module completely you must also manually delete its .module file and exploded module directory from your LabKey Server deployment directory. Module files are typically deployed in <labkey_deployment_root>/modules and <labkey_deployment_root>/externalModules.

Seemed best to show these instructions on the page that displays the delete links; I didn't modify the confirmation message.

Thanks for the suggestion...

Adam