Can't remove custom module listing from module loader

Some time ago I created a custom module with module builder. I have recently migrated my suitecrm instance to a dockerized version. During the process I exported the custom module and imported-it into the new instance.
I now need to remove the package to instal it again. I did the uninstall but it will not allow me to remove the package from the module loader listing. The issue is that (probably becauso of that) I am not able to reinstall the module again.
What sould I do to remove the module from being listed in the module builder if I already manually removed the module files?

@osantos

You should delete the file with name of the package from the directory: “custom/Extension/application/Ext/Include”

Thank you … but I already did that. I have nothing currently in that directory.
But if I go into the module loader, the module still appears in the module loader and I cant delete it…

@osantos

Delete a record in table “upgrade_history” of database.
Delete files in directory “upload/upgrades/module”

1 Like

I already did dat a few days back but I double checked today.
I have no files n upload/upgrade/module and the upgrade_history database has no mention of this file

MariaDB [finquescrm]> select filename from upgrade_history;
+----------------------------------------------------------------+
| filename                                                       |
+----------------------------------------------------------------+
| upload/upgrades/langpack/SuiteCRM core (ca).zip                |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.8.x-to-7.10.1.zip   |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.4.x-to-7.5.3.zip    |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.11.x-to-7.11.22.zip |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.10.x-to-7.11.3.zip  |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.7.x-to-7.8.8.zip    |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.5.x-to-7.7.8.zip    |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.11.x-to-7.12.5.zip  |
| upload://upgrades/patch/SuiteCRM-Upgrade-7.11.x-to-7.11.19.zip |
| upload/upgrades/langpack/SuiteCRM core (es-ES).zip             |
+----------------------------------------------------------------+
10 rows in set (0.001 sec)

An this time the entry dissapeared. Strange …
Could it be that instead of removing the files I just moved them to a subdirectory in the same folder named disabled and today I did actually remove that subfolder?