Roundcube Community Forum

 

Roundcube-1.6.9 Installation Failing

Started by djnoah, November 10, 2024, 11:26:48 AM

Previous topic - Next topic

djnoah

Roundcube-1.6.9 Installation Failing

I am seeing the following error during installation.  Looks like multiple versions of php at installed could that create a conflict?  what is the best way to clean the multiple versions up?    Apache is the httpd.

./bin/installto.sh /var/www/roundcube
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php/20240924/imagick.so (/usr/lib/php/20240924/imagick.so: undefined symbol: php_strtolower), /usr/lib/php/20240924/imagick.so.so (/usr/lib/php/20240924/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /path/roundcubemail-1.6.9/program/lib/Roundcube/bootstrap.php:86
Stack trace:
#0 /path/roundcubemail-1.6.9/program/include/iniset.php(78): require_once()
#1 /path/roundcubemail-1.6.9/program/include/clisetup.php(25): require_once('...')
#2 /path/roundcubemail-1.6.9/bin/installto.sh(23): require_once('...')
#3 {main}
  thrown in /path/roundcubemail-1.6.9/program/lib/Roundcube/bootstrap.php on line 86
Fatal error: Please check the Roundcube error log and/or server error logs for more information.

#  apt list --installed | grep php

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

php-common/focal,now 2:95+ubuntu20.04.1+deb.sury.org+1 all [installed,automatic]
php-composer-ca-bundle/focal,now 1.2.6-1 all [installed,automatic]
php-composer-semver/focal,now 1.5.1-1 all [installed,automatic]
php-composer-spdx-licenses/focal,now 1.5.3-1 all [installed,automatic]
php-composer-xdebug-handler/focal,now 1.4.0-1 all [installed,automatic]
php-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 all [installed]
php-json-schema/focal,now 5.2.9-1 all [installed,automatic]
php-ldap/focal,now 2:8.3+95+ubuntu20.04.1+deb.sury.org+1 all [installed,automatic]
php-mysql/focal,now 2:8.3+95+ubuntu20.04.1+deb.sury.org+1 all [installed]
php-net-ldap2/focal,now 2.2.0-3ubuntu3 all [installed]
php-net-ldap3/focal,now 1.0.4-1 all [installed]
php-pear/focal,now 1:1.10.13+submodules+notgz+2022032202-2+ubuntu20.04.1+deb.sury.org+1 all [installed]
php-psr-container/focal,now 1.0.0-2 all [installed,automatic]
php-psr-log/focal,now 1.1.2-1 all [installed,automatic]
php-symfony-console/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-filesystem/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-finder/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-process/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-service-contracts/focal,now 1.1.8-1 all [installed,automatic]
php8.1-bcmath/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-bz2/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-cli/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-common/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-curl/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-dev/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-fpm/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-gd/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-gmp/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-igbinary/focal,now 3.2.16-3+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.1-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-imap/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-intl/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-ldap/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.1-mbstring/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-mysql/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-opcache/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.1-readline/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.1-redis/focal,now 6.0.2-4+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-soap/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-xml/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-xmlrpc/focal,now 3:1.0.0~rc3-10+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-zip/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 all [installed]
php8.2-cli/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.2-common/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.2-ldap/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.2-opcache/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.2-phpdbg/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.2-readline/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.3-bz2/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-cli/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-common/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-curl/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-fpm/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-gd/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-intl/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-ldap/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-mbstring/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-mysql/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-opcache/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.3-phpdbg/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.3-pspell/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-readline/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.3-sqlite3/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-xml/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-zip/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 all [installed]
php8.4-cli/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.4-common/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.4-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.4-opcache/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.4-phpdbg/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
php8.4-readline/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,automatic]
pkg-php-tools/focal,now 1.38 all [installed,automatic]

php8.1-fpm/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-fpm/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]




alec

The fatal error is about missing 'mbstring' extension. This is the case for php 8.2 and 8.4 according to the list you provided. So, either install it or switch to 8.1 or 8.3.