Univention Bugzilla – Bug 39192
Docker App uninstallation
Last modified: 2015-11-17 12:11:58 CET
A Docker App can be uninstalled via the UMC App Center module. The user can decide if all data of the App should be deleted from the hard drive. If the data should be deleted, they will be deleted. If the data should not be deleted, the data will be moved into a backup folder, for example /var/llib/docker/appcenter/removed_apps/$app_20150812. Afterwards, a hint to the directory is shown.
Fixed in univention-appcenter 5.0.6-55.1.201510221245 When deleting or image upgrading an app, docker commit makes a backup of the then stopped container. Nothing else is done, no files are back upped anywhere. But docker images lists appcenter-backup-$appid:$timestamp This should be enough to get to the old data. Furthermore, store_data is called before uninstallation.
OK, but I think the app data should be moved to a backup folder. Otherwise the data will be used again if the App is re-installed.
Okay, data is saved in /var/lib/univention-appcenter/backups/ I also disabled backups of containers while failing to install a new app (which reverts by removing the container, which eventually triggered the backup)
Yes, it looks good now. I've also added a test case: 80_docker/58_app_uninstallation
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".