PHP 7.1 : Impossible d'installer Roundcube

#1

Bonjour,

Afin de pouvoir utiliser “Passwords” dans Nextcloud, j’ai installé PHP 7.1(YUNoHost 3.0.0 & PHP 7.1

Mais, du coup, l’installation de Roundcube pose un problème :

Warning: 2018-08-09 07:33:57 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/4224042/95b0b7da-3dd2-11e8-953c-10b7f0eb9939?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180809%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180809T053356Z&X-Amz-Expires=300&X-Amz-Signature=a3d6c9715cd436f63284fc4b4696baa0952ecd8bec6105c1028f1b019f871705&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Droundcubemail-1.3.6.tar.gz&response-content-type=application%2Foctet-stream [3233348/3233348] -> "app.tar.gz" [1]
Warning: Failed to reload php7.0-fpm.service: Unit php7.0-fpm.service is masked.
Warning: !!
Warning:   roundcube's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: 
Warning: Removing database roundcube
Warning: Failed to reload php7.0-fpm.service: Unit php7.0-fpm.service is masked.
Warning: E: Unable to locate package roundcube-ynh-deps
Warning: Remove the user roundcube
Success! The SSOwat configuration has been generated
Error: Installation failed

Si quelqu’un a une idée, je suis preneur

D’avance merci

Steve

YUNoHost 3.0.0 & PHP 7.1
#2

Do $ update-alternatives --set php /usr/bin/php7.0

And check if php7.0-fpm is working.

#3

It works with php7.0-fpm…
php7.1-fpm starts fine also but Roundcube does not work :slightly_frowning_face:

Is there a procedure available to migrate the package to php7.1 ?

Thanks in advance

Steve

#4

Fork and change these lines to 7.0 or 7.1 which ever you prefer.