Cannot update roundcube. Tried fix related to composer.lock, no success

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: Roundcube

Describe your issue

Hi all!
I cannot update the app Roundcube. I get an error :
Could not upgrade roundcube: An error occurred inside the app upgrade script

I tried this fix from @rodinux but with no success :frowning:

Un contournement qui pour moi a fonctionné (sur plusieurs serveurs). renommer le fichier composer.lock en composer.lock.bkp, et lancer l’upgrade reconstruit ce fichier avec les mises à jour.
Un petit backup avant si ça vous fait peur
yunohost create backup --apps roundcube
mv /var/www/roundcube/composer.lock /var/www/roundcube/composer.lock.bkp
yunohost app upgrade roundcube
Après vérification, vous pouvez supprimer ce fichier
rm /var/www/roundcube/composer.lock.bkp

Share relevant logs or error messages

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

1 Like

Can you uninstall it then install the latest version? Unless you have complex settings, filters, identities, that can be a workaround.

1 Like

If I do this, I will loose all email accounts, no ? The accounts are used for Vaultwarden for example, but just as username.

Emails accounts and emails are on the server. I use thunderbird as email client. Roundcube is also an email client. Removing it has no effect on the mailbox.

1 Like

I uninstalled Roundcube and now, when I go on the app page to install, there is no button “Install” ahah

Can you share a screenshot?

1 Like

The install button is at the bottom of the page.
You can also install it from cli using sudo yunohost app install roundcube

1 Like

omg i’m so dumb… probably the fatigue after moving out to another house :sweat_smile:

1 Like

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