YunoHost-Apps / paheko_ynh

Paheko package for YunoHost
https://paheko.cloud
GNU Affero General Public License v3.0
3 stars 4 forks source link

Upgrade failed to Paheko / La migration vers Paheko à échoué #9

Closed ilosu closed 1 year ago

ilosu commented 1 year ago

Describe the bug

Upgrade failed / La migration à échoué

Context

Steps to reproduce

sudo yunohost app upgrade garradin -u https://github.com/YunoHost-Apps/paheko_ynh --debug

Logs

https://paste.yunohost.org/raw/xewosuxiqe

rodinux commented 1 year ago

Hello, so the migration failed, but you still have keep your Garradin instance restored , c'est bien ça ? You haven't loose your datas ?

We have tested on few instances, also in production with no fails, but the application was not yet in the catalog. Thanks you for report the issue, there is something to do with this line

2023-02-16 14:08:27,300: WARNING - ./upgrade: ligne 91: garradin_migrate_id : variable sans liaison I look to how resolve...

rodinux commented 1 year ago

OK, I found what's the matter... we have recently upgrade also garradin to 1.2.4, So I have to change also here a line on the upgrade script here https://github.com/YunoHost-Apps/paheko_ynh/blob/74c0bde1e19953d4cb454b64ac506f25ba981c26/scripts/upgrade#L90

I think you can try if this fix the issue.

ilosu commented 1 year ago

Thank you,

It works !

rodinux commented 1 year ago

Nice ! wellcome