Hi, an upgrade is regarded as a module and SuiteCRM maintains a copy of every file which is replaced as a restore for the case where you would want to uninstall a module, which doesn't make sense for upgrades.
The proper solution would be for SuiteCRM not to create restore files for modules that have the following property in the manifest:'is_uninstallable' => false,
Deleting files from the module loader is only possible once they are first uninstalled which is not possible for upgrades. The delete function then deletes the installer package, not the restore files (which for uninstallable modules would have been restored by uninstalling the module).
For now you would delete these files manually after upgrading.
Speaking of APIs, If anyone is able to help test this PR that would be super.
https://github.com/salesagility/SuiteCRM/pull/9410/
Never used the email thing in suitecrm 😅
@holdusback What do you mean by "increase so much in such a short amount of time"?
The documentation rly need to be re done on the API imo. To have a refresh token you must the grant type "password", if you use the other one "client_credentials" you have a token which cant be refreshed so its a bit useless, that why I had a lot of token, cause a token expire in 1 hour.