cozy / cozy-home-v2

This repository was part of CozyV2 which has been deprecated
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
94 stars 53 forks source link

A broken app prevents stack update #719

Open clochix opened 8 years ago

clochix commented 8 years ago

Reported by @nicodel,

A stack update is available on its server, but he's unable to perform it by clicking on the Update stack button. Home checks if update are available for every applications. Unfortunately, there is an error checking an application (Laverna, not installed from Cozy Registry, throws an “Manifest not found” error). Because of this error, Home doesn't try to update Cozy stack.

A broken application shouldn't block other updates.

clochix commented 8 years ago

The remote repository of one application has been dropped, so Home gets a 404 when trying to fetch the remote package.json. In this case, we should just assume that no update is available, and go on.

clochix commented 8 years ago

Another user (@flaburgan) was hit by this one: unable to update its server because the repository of one of its applications (cozy-webdav) was deleted.