Roundcube Community Forum

Release Support => Release Discussion => Topic started by: pgoetz on February 11, 2015, 05:25:17 AM

Title: [SOLVED] 1.1.0 broke my roundcube installation
Post by: pgoetz on February 11, 2015, 05:25:17 AM
I'm running roundcube on Arch linux, and an update to 1.1.0 appears to have broken my roundcube installation.  The error message I'm getting in the httpd log files is

Code: [Select]
[Wed Feb 11 04:02:54.450857 2015] [:error] [pid 15519] [client 67.189.113.124:4342]
PHP Fatal error:  Class 'Patchwork\\Utf8\\Bootup' not found in /usr/share/webapps/roundcubemail/program/include/iniset.php on line 73

However, I don't see anyone else reporting this problem, so maybe it's a packaging issue?
Title: Re: 1.1.0 broke my roundcube installation
Post by: SKaero on February 11, 2015, 06:08:34 AM
I would recommend installing using composer to resolve the dependencies.
Title: Re: 1.1.0 broke my roundcube installation
Post by: pgoetz on February 11, 2015, 07:54:33 AM
So, enabling the PHP extension iconv
Code: [Select]
extension=iconv.so in php.ini now allows roundcube to load, and I can read messages, however sending is still broken.  When I try to send a message, it eventually times out, but without generating error messages in either the roundcube or postfix log files.

The problem is that my roundcube install was working perfectly until I updated to 1.1.0, and any new PHP extensions required for the new version don't seem to be documented anywhere (that I can find).
Title: Re: 1.1.0 broke my roundcube installation
Post by: pgoetz on February 11, 2015, 09:53:12 AM
See Bogomill's comment here: https://bugs.archlinux.org/task/43783 (https://bugs.archlinux.org/task/43783)

In particular, is it true that 1.10 now depends on these PHP modules:


A dependency which did not exist in the previous 1.0.x version, as that was working fine without them, as far as I know.  If true, is the need for these modules documented anywhere?




Title: Re: 1.1.0 broke my roundcube installation
Post by: pgoetz on February 11, 2015, 09:55:10 AM
I would recommend installing using composer to resolve the dependencies.

Sorry, I didn't notice this response previously.  Thanks as usual for your help.  This presents a bit of a problem for package-managed systems, but I will try this.

Question:  given that I already have roundcube installed, is there a list of dependencies available somewhere so that I can just install those independently?
Title: Re: 1.1.0 broke my roundcube installation
Post by: SKaero on February 11, 2015, 12:25:58 PM
The simplest way is to read the composer file:
https://github.com/roundcube/roundcubemail/blob/master/composer.json-dist
Code: [Select]
    "require": {
        "php": ">=5.3.7",
        "roundcube/plugin-installer": ">=0.1.5",
        "pear/mail_mime": ">=1.8.9",
        "pear/mail_mime-decode": ">=1.5.5",
        "pear/net_smtp": "dev-master",
        "pear-pear.php.net/auth_sasl": ">=1.0.6",
        "pear-pear.php.net/net_idna2": ">=0.1.1",
        "pear-pear.php.net/net_sieve": ">=1.3.2",
        "patchwork/utf8": "1.2.x"
    },
Title: Re: 1.1.0 broke my roundcube installation
Post by: pgoetz on February 11, 2015, 12:52:31 PM
SKaero, thank you very much for your help.  The Arch package  maintainer has added these PHP modules as dependencies, and everything is working again now.