We are trying to install an updated addon in CS-Cart 4.3.4 (yes we need to upgrade soon). An older version of this addon is already installed. Upon uploading a zip file, the files are updated in server, however its not acting right in the admin addon settings, and its not applying things from addon.xml to the database.
How do we percolate CS to re-up the addon.xml without uninstalling then reinstalling? The addon.xml has DB column drops, and I'm leary to comment them out to try the update in case there is some kinda db cached record that will apply the drops anyways.
Things i have tried:
- Changing addon.xml to have a new version, priority, etc
- Opening the addon area in a browser that has never visited that page before (never cached)
- Clearing every CS-Cart cache i can find + storage + theme rebuild + redis + pagespeed + cloudflare + browser.
- Disabling Cloudflare completely on the domain (in case it was somehow caching the addon settings popup)
- Disabling the addon, uploading the update, enabling the addon
- Various other disable/enables in specific multistore views
- Renaming existing addon.xml to addon.xml.bak and trying an update
- Combinations of this rename with disable/enables
- Renaming and also removing the row in _addons DB table and reinstalling (new values were set, this is the closest i got, at least the new settings + DB stuff was saved -- but the settings popup wont change)
- Visiting the addon settings popup directly and trying these things again (https://www.example.com/my-admin-path.php?dispatch=addons.update&addon=some_addon)
I have noticed this behavior in all addons. Its extremely frustrating when developing too, as you can't just add more settings into addon.xml and do a reinstall. It takes manual DB deletions or an uninstall first to percolate the changes.
Is this an issue with our version of CS Cart, or CS Cart in general? I didn't see anything addressing this in the changelog. Related topic: http://forum.cs-cart.com/topic/47590-best-practice-uninstalling-and-removing-an-addon-cs-cart-v43x/#entry269838
Thanks