-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When upgrading from previous version, it must be ensured that older extensions are removed #574
Comments
While trying to upgrade MetricsHub EE from 1.0.02 to the latest 1.1.00, we are unable to reproduce this issue. The entire MetricsHub directory is emptied and then repopulated with the new assets from the latest version. Regarding the C:\Program Files\MetricsHub>httpcli --method get --url https://dev-01:443/users
IllegalStateException: Failed to execute HTTP get query.
NullPointerException: Cannot read the array length because "<parameter1>" is null |
Re-opened #572 |
@bertysentry After testing on my Windows 11 laptop, the upgrade (using the .msi file) deletes all the |
Yes, and that’s a good news! The problem is with the Community Edition. When you upgrade “in place” (unzip the archive), all extensions from previous version remain, and it prevents the product from working. So we either need a mechanism that selects the extensions, or properly document that the user need to delete all previous extensions while upgrading.
|
* Removed versions on metricshub extensions to avoid problems when unzipping a new metricshub version on the same metricshub directory where an old version is unzipped. * Tested on MetricsHub windows and linux.
…grading-from-previous-version-it-must-be-ensured-that-older-extensions-are-removed Issue #574: When upgrading from previous version
Problem
When upgrading "in place", the new install does not remove older extensions. When the product initializes, the older extensions are loaded first, which prevents the product from working at all.
Specification
Either implement a mechanism to load only extensions marked with the proper version number, or make sure the upgrade removes older files. For Community Edition, at least document the fact that older extensions must be deleted on upgrade.
The text was updated successfully, but these errors were encountered: