/
My YunoHost server
Hardware: Raspberry Pi 3B+ at home .
YunoHost version: 4.3.4.1
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
The upgrade of roundcube from 1.4.11~ynh2 to 1.5.1~ynh1 keeps failing…
Here is the log of the upgrade: https://paste.yunohost.org/raw/zecuxehojo
It seems there’s a problem with “composer”, even if I don’t know what it is…
2021-12-04 01:05:45,661: DEBUG - + php7.3 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
2021-12-04 01:05:46,335: DEBUG - Loading "roundcube/plugin-installer" which is a legacy composer-installer built for Composer 1.x, it is likely to cause issues as you are running Composer 2.x.
2021-12-04 01:05:46,344: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2021-12-04 01:05:46,438: DEBUG - Installing dependencies from lock file
2021-12-04 01:05:46,443: DEBUG - Verifying lock file contents can be installed on current platform.
2021-12-04 01:05:46,526: DEBUG - Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
2021-12-04 01:05:46,573: DEBUG - Your lock file does not contain a compatible set of packages. Please run composer update.
2021-12-04 01:05:46,574: DEBUG -
2021-12-04 01:05:46,575: DEBUG - Problem 1
2021-12-04 01:05:46,576: DEBUG - - kolab/net_ldap3 is locked to version dev-master and an update of this package was not requested.
2021-12-04 01:05:46,577: DEBUG - - kolab/net_ldap3 dev-master requires pear/net_ldap2 >=2.0.12 -> found pear/net_ldap2[dev-master] but it does not match the constraint.
2021-12-04 01:05:46,578: DEBUG -
2021-12-04 01:05:46,579: DEBUG - Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
2021-12-04 01:05:46,603: DEBUG - + ynh_die '--message=Unable to install core dependencies with Composer.'
2021-12-04 01:05:46,671: DEBUG - + ynh_exit_properly
2021-12-04 01:05:46,674: WARNING - Unable to install core dependencies with Composer.
How can I run composer update, and how can I make it safely ?
Mon serveur YunoHost
Matériel: Raspberry Pi 3B+ à la maison
Version de YunoHost: 4.3.4.1
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Description du problème
L’upgrade de roundcube de la version 1.4.11~ynh2 à 1.5.1~ynh1 ne passe pas…
Log de l’upgrade qui plante: https://paste.yunohost.org/raw/zecuxehojo
Il semble y avoir un problème avec “composer”, mais j’ai aucune idée de ce qu’est “composer”…
2021-12-04 01:05:45,661: DEBUG - + php7.3 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
2021-12-04 01:05:46,335: DEBUG - Loading "roundcube/plugin-installer" which is a legacy composer-installer built for Composer 1.x, it is likely to cause issues as you are running Composer 2.x.
2021-12-04 01:05:46,344: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2021-12-04 01:05:46,438: DEBUG - Installing dependencies from lock file
2021-12-04 01:05:46,443: DEBUG - Verifying lock file contents can be installed on current platform.
2021-12-04 01:05:46,526: DEBUG - Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
2021-12-04 01:05:46,573: DEBUG - Your lock file does not contain a compatible set of packages. Please run composer update.
2021-12-04 01:05:46,574: DEBUG -
2021-12-04 01:05:46,575: DEBUG - Problem 1
2021-12-04 01:05:46,576: DEBUG - - kolab/net_ldap3 is locked to version dev-master and an update of this package was not requested.
2021-12-04 01:05:46,577: DEBUG - - kolab/net_ldap3 dev-master requires pear/net_ldap2 >=2.0.12 -> found pear/net_ldap2[dev-master] but it does not match the constraint.
2021-12-04 01:05:46,578: DEBUG -
2021-12-04 01:05:46,579: DEBUG - Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
2021-12-04 01:05:46,603: DEBUG - + ynh_die '--message=Unable to install core dependencies with Composer.'
2021-12-04 01:05:46,671: DEBUG - + ynh_exit_properly
2021-12-04 01:05:46,674: WARNING - Unable to install core dependencies with Composer.
Je veux bien faire un “composer upgrade”, mais je ne sais pas comment, ni comment le faire sans bousiller les applis à coté…
Quelqu’un pour m’expliquer (ou corriger/améliorer la procédure d’upgrade) ?
Merci d’avance.