YunoHost-Apps / wallabag2_ynh

Wallabag v2 package for YunoHost
https://www.wallabag.org/
GNU Affero General Public License v3.0
62 stars 14 forks source link

Update impossible (from master) #32

Closed klorydryk closed 7 years ago

klorydryk commented 7 years ago

I tried to update my version of Wallabag from Master to branch code_refactoring: 'sudo yunohost --verbose app upgrade wallabag2 -u https://github.com/YunoHost-Apps/wallabag2_ynh/tree/code_refactoring' But the result is: 'Erreur : Impossible de mettre à jour wallabag2 Erreur : Aucune application à mettre à jour' Is it really impossible? How can I do?

lapineige commented 7 years ago

Could you try again with the --verbose option ?

Does it fail after this line: sudo yunohost backup create --ignore-hooks --apps wallabag2 --name wallabag2-pre-upgrade1, saying there is nothing to backup ?

klorydryk commented 7 years ago

Yes

JimboJoe commented 7 years ago

I've just pushed a fix: I had introduced a prior backup in upgrade script (a new good practice), but as current Wallabag2 instances don't have backup feature, it generated an error. Now the prior backup is conditioned to the backup feature existence.

klorydryk commented 7 years ago

Ok, it works, thanks!

lapineige commented 7 years ago

Same for me, thanks @JimboJoe :)