14
Views
2
Comments
Solved
[DB Cleaner on Steroids] cleaning up modules ignores (deletedx) modules.
db-cleaner-on-steroids
Web icon
Forge asset by Miguel Antunes
Application Type
Traditional Web

Hello Miguel,

Are you aware, when using db cleaner on steroids to clean up old module versions, it ignores all the modules in the database with (deleted0), (deleted1),...  in the name.  They just stay there while the rest is correctly cleaned up.


Kind regards,

Lode

2023-03-30 10-13-40
Miguel Antunes
Solution

Hi Lode,

That behavior is actually intentional, as the OutSystems Platform prevents the complete deletion of certain modules to avoid database corruption.

Modules with (deleted0), (deleted1), etc., are typically associated with solution versions or LifeTime version tags. These references ensure consistency and traceability, which is why the platform does not automatically remove them.

If you need to fully delete these modules, you must first manually remove any dependencies linked to them. Once the dependencies are cleared, the platform will allow their deletion.

Hope this helps!

Cheers, Miguel

2022-08-19 18-39-37
Lode Desplancke

Ok thanks for the information. Strange thing though, without removing any dependencies, the servicecenter interface does allow me to delete them. (allthough much more hassle than doing it through your component)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.