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

Error when creating a new YunoHost user #152

Open JimboJoe opened 2 years ago

JimboJoe commented 2 years ago

Describe the bug

When creating a new YunoHost user, I get errors from the wallabag2 hook (the YunoHost user is created, though).

Context

Steps to reproduce

yunohost create <user>

Expected behavior

No errors regarding wallabag2

Logs

Attention : Composer detected issues in your platform:
Attention : Your Composer dependencies require a PHP version ">= 7.4.1". You are running 7.3.33-4+0~20220627.98+debian10~1.gbp40b3e4.
Attention : PHP Fatal error:  Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.1". You are running 7.3.33-4+0~20220627.98+debian10~1.gbp40b3e4. in /var/www/wallabag2/vendor/composer/platform_check.php on line 24
Erreur : Échec de l'exécution du script : /etc/yunohost/hooks.d/post_user_create/50-wallabag2
lapineige commented 2 years ago

Why is your Wallabag 2.5.1 using php7.3 ? :thinking: We upgraded to 7.4 with Wallabag 2.4.x… Is this a fresh install ?

JimboJoe commented 2 years ago

Sorry, I forgot about that one: no, it was an ooold install (2017?).

lapineige commented 2 years ago

I don't understand how it could be using php7.3 if you upgrade to Wallabag 2.5… :thinking:

nicofrand commented 1 year ago

I also had the error in my logs while upgrading another app (Synapse, which failed).

lapineige commented 1 year ago

:thinking: