Wallabag2 - cannot upgrade - unbound variable ./upgrade: line 184: wb_conf

My YunoHost server

Hardware: VPS bought online
YunoHost version: 3.8.4.8 (stable)
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I’ve tried upgrading the wallabag2 app today and it failed with an error.

Here’s the entire log:

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

Indeed …

c.f. https://github.com/YunoHost-Apps/wallabag2_ynh/blob/testing/scripts/upgrade#L184

Not sure who’s the maintainer exactly…

1 Like

Hello,

I’can’t upgrade to new wallabag version!!!

message error in the admin panel:
L’opération ‘Mettre à jour l’application ‘wallabag2’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

L’opération ‘Mettre à jour l’application ‘wallabag2’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

Impossible de mettre à jour wallabag2 : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application

The app was restored to the way it was before the failed upgrade.

16316 Creating config file /etc/php/7.0/mods-available/tidy.ini with new version

16316

[Error] Upgrade failed.

The service fail2ban has correctly executed the action reload-or-restart.

./upgrade: ligne 184: wb_conf : variable sans liaison

this is the log:

Fail install wallabag v2.odt (38,2 Ko)

Hi,

I think it’s @Lapineige :wink:
Maybe @Kayou could i’ve a look :slight_smile:
Quickly on my side, a fresh install, login, logout and remove on a Raspberry Pi 3B works well with YunoHost Testing version 3.8.5.1.

ppr

Hi,

This PR should fix the issue

3 Likes

Thanks,

I’ll retry with this PR because i can reproduce the bug on the last YunoHost stable version 3.8.4.8 :

Résumé

L’opération ‘Mettre à jour l’application ‘wallabag2’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

L’opération ‘Mettre à jour l’application ‘wallabag2’’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

Impossible de mettre à jour wallabag2 : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application

The app was restored to the way it was before the failed upgrade.

27199 Creating config file /etc/php/7.0/mods-available/tidy.ini with new version

27198

[Error] Upgrade failed.

The service fail2ban has correctly executed the action reload-or-restart.

./upgrade: ligne 184: wb_conf : variable sans liaison

Upgrading php-fpm configuration…

Making sure dedicated system user exists…

Upgrading dependencies…

Upgrading nginx web server configuration…

Backing up the app before upgrading (may take a while)…

Ensuring downward compatibility…

Up-to-date, nothing to do 2.3.8~ynh1 (d06f1c9) à 2.3.8~ynh1 (289191f)

Loading installation settings…

If it could helps, i’ve the full log.

ppr

1 Like

Indeed, @Aleks I’m maintaining this app, with a lot of help from other contributors (who in fact do most of the work ^^).

1 Like

Hi,

After the last PR was pushed, the upgrade went fine :slight_smile:
Thank to all !

ppr

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.