What app is this about, and its version: RoundCube 1.6.12~ynh1 What YunoHost version are you running: 12.1.39 (stable) What type of hardware are you using: Raspberry Pi 3, 4+
Describe your issue
J’ai voulu mettre à jour l’appli RoundCube mais ça ne mets en échec
Salut, j’ai renouvelé les clés de chiffrement sury et yarn. Mais après celà j’ai toujours un message d’erreur quand je veux mettre à jour RoundCube, alors que ça refonctionne avec les autres applis:
Je ne suis pas sûr que ce soit le même problème…
Des soucis de dépendances avec composer
2026-02-18 14:50:03,180: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer 2026-02-18 14:50:03,180: DEBUG - + COMPOSER_MEMORY_LIMIT=-1 2026-02-18 14:50:03,180: DEBUG - + sudo -E -u roundcube php8.5 /var/www/roundcube/composer.phar require kolab/net_ldap3 -d /var/www/roundcube --no-interaction --no-ansi 2026-02-18 14:50:03,374: DEBUG - Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to ‘1.0.0’. See ``https://getcomposer.org/root-version 2026-02-18 14:50:04,044: DEBUG - ./composer.json has been updated 2026-02-18 14:50:04,078: DEBUG - Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to ‘1.0.0’. See ``https://getcomposer.org/root-version 2026-02-18 14:50:04,103: DEBUG - Running composer update kolab/net_ldap3 2026-02-18 14:50:04,108: DEBUG - Loading composer repositories with package information 2026-02-18 14:50:04,560: DEBUG - Updating dependencies 2026-02-18 14:50:04,739: DEBUG - Your requirements could not be resolved to an installable set of packages. 2026-02-18 14:50:04,740: DEBUG - 2026-02-18 14:50:04,740: DEBUG - Problem 1 2026-02-18 14:50:04,740: DEBUG - - Root composer.json requires phpunit/phpunit ^9, found phpunit/phpunit[9.0.0, …, 9.6.34] but the package is fixed to 4.8.36 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. 2026-02-18 14:50:04,741: DEBUG - 2026-02-18 14:50:04,741: DEBUG - Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. 2026-02-18 14:50:04,742: DEBUG - You can also try re-running composer require with an explicit version constraint, e.g. “composer require kolab/net_ldap3:*” to figure out if any version is installable, or “composer require kolab/net_ldap3:^2.1” if you know which you need. 2026-02-18 14:50:04,742: DEBUG - 2026-02-18 14:50:04,743: DEBUG - Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Même si cela n’a pas fonctionné pour moi, j’ai beaucoup appris.
Finalement, j’ai résolu le problème en désinstallant Roundcube, puis en le réinstallant complètement (sans restaurer la sauvegarde).
C’était la solution la plus simple pour ma petite instance (et Roundcube étant une fonctionnalité supplémentaire sympa, mais pas indispensable). Les e-mails sont toujours disponibles.
Warning: The configuration file ‘/etc/apt/sources.list.d/extra_php_version.list’ has been manually modified and will not be updated
apt:
applied:
pending:
/etc/apt/sources.list.d/extra_php_version.list:
diff: @@ -1 +1 @@
-deb Index of /php/ bookworm main
+deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] Index of /php/ bookworm main
status: modified
Info: DEBUG - + ynh_composer_exec install --no-dev
Info: DEBUG - + local workdir=/var/www/roundcube
Info: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
Info: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
Info: DEBUG - + sudo -E -u roundcube php8.5 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
Info: DEBUG - Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Info: DEBUG - Installing dependencies from lock file
Info: DEBUG - Verifying lock file contents can be installed on current platform.
Info: 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>`.
Info: DEBUG - Your lock file does not contain a compatible set of packages. Please run composer update.
Info: DEBUG -
Info: DEBUG - Problem 1
Info: DEBUG - - roundcube/plugin-installer is locked to version 0.3.10 and an update of this package was not requested.
Info: DEBUG - - roundcube/plugin-installer 0.3.10 requires php >=7.3 <8.5 -> your php version (8.5.3) does not satisfy that requirement.
Info: DEBUG - Problem 2
Info: DEBUG - - sblaisot/automatic_addressbook is locked to version v0.4.3 and an update of this package was not requested.
Info: DEBUG - - roundcube/plugin-installer 0.3.10 requires php >=7.3 <8.5 -> your php version (8.5.3) does not satisfy that requirement.
Info: DEBUG - - sblaisot/automatic_addressbook v0.4.3 requires roundcube/plugin-installer >=0.1.6 -> satisfiable by roundcube/plugin-installer[0.3.10].
Info: DEBUG -
Info: DEBUG - + ynh_exit_properly