uninstall: ignore services error as services may never have started
This commit is contained in:
+2
-1
@@ -331,7 +331,8 @@ async function uninstallCommand(app, args, progressCallback) {
|
||||
await deleteContainers(app, {});
|
||||
|
||||
await progressCallback({ percent: 30, message: 'Teardown addons' });
|
||||
await services.teardownAddons(app, app.manifest.addons);
|
||||
// if install/clone/restore/import failed early (e.g. invalid image), services may not have started
|
||||
await safe(services.teardownAddons(app, app.manifest.addons), { debug: log });
|
||||
await services.teardownPersistentDirs(app);
|
||||
|
||||
await progressCallback({ percent: 40, message: 'Cleanup file manager' });
|
||||
|
||||
Reference in New Issue
Block a user