YunoHost-Apps / paheko_ynh

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

checksum mismatch when trying to upgrade to 1.3.4~ynh1 #47

Closed russulae closed 9 months ago

russulae commented 9 months ago

Describe the bug

I updated paheko yesterday after a few weeks without doing it. the upgrade went well according to the webadmin, but I got an error TypeError Cannot assign null to property Paheko\Config::$analytical_set_all of type bool when trying to reach it today. I saw that 1.3.4 was available today so I tried to upgrade but yunohost wasn't able to download the file from the source because of a checksum mismatch :

Expected sha256 checksum: fa2ae180551facd5bb75fa2ce975e1b8e481c425625034eadf5fd6b3f361a5ca
Downloaded sha256 checksum: d0811f84d6aecf5e4006337927ff79593ef8bbe337f2111f7158ff59d444781c
Downloaded file size: 1,2M

I downloaded the file myself and found the same checksum. I'm wondering where the expected checksum comes from as I can't see it on the source page (there is a "hash" line but I don't know how it is obtained, and it doesn't match with any of those upthere)...

Context

Steps to reproduce

trying to upgrade paheko from the webadmin system update panel

Expected behavior

yunohost download the latest tar.gz from paheko sources and install it

Logs

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

bohwaz commented 9 months ago

Hello, désolé :

J'ai dû re-publier et écraser la version 1.3.4 (et supprimer la 1.3.3) car un des fichiers était corrompu et créait un bug pour les gens qui faisaient la mise à jour depuis < 1.3.2, sans passer par la 1.3.2.

Du coup le hash a changé.

JacquelinDV commented 9 months ago

Même problème en essayant la mise à jour yunohost de 1.3.2 à 1.3.4 (?) il y a 5 mn. Le journal est https://[paste.yunohost.org/raw/ekitebitop](https://paste.yunohost.org/raw/ekitebitop)

rodinux commented 9 months ago

Bon, en effet désolé... J'ai changé le hash, cette fois cela devrait fonctionner !

russulae commented 9 months ago

alors peut-etre que c'est trop tot, mais non ca ne marche toujours pas, yunohost attend toujours le meme hash

rodinux commented 9 months ago

Oui il faut attendre que ce soit pris en compte dans le dépôt des apps de Yunohost, sûrement quelque heures.

russulae commented 9 months ago

d'accord merci !

rodinux commented 9 months ago

je change aussi le tag de la version du coup ce sera 1.3.4_ynh2 !

russulae commented 9 months ago

je confirme que le problème de mise à jour est réglé, merci !