Universal Plugin Manager hung installing add-on
Symptom
UPM is hung install a plugin and the UI appears like below in Bamboo:
Cause
A installation record was not removed from the bandana
table in Bamboo's database. You can verify this using the following database query which will return any plugin in the INSTALLING stage.
SELECT * FROM BANDANA WHERE SERIALIZED_DATA LIKE '%INSTALLING%' AND BANDANA_KEY LIKE '%com.atlassian.upm.impl.PluginManagerPluginAsynchronous%';
Ensure Bamboo is shutdown when running query to avoid false positives.
Resolution
Remove the INSTALLING record from the database and attempt to reinstall the application.
It's always good practice to backup the database before editing!
- Stop Bamboo
Backup database
Run query to remove record:
DELETE FROM BANDANA WHERE SERIALIZED_DATA LIKE '%INSTALLING%' AND BANDANA_KEY LIKE '%com.atlassian.upm.impl.PluginManagerPluginAsynchronous%';
- Start Bamboo
- Reinstall Add-on