Roundcube Community Forum

 

[SOLVED] 1.1.0 broke my roundcube installation

Started by pgoetz, February 11, 2015, 05:25:17 AM

Previous topic - Next topic

pgoetz

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


[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?

SKaero

I would recommend installing using composer to resolve the dependencies.

pgoetz

So, enabling the PHP extension iconv 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).

pgoetz

See Bogomill's comment here: https://bugs.archlinux.org/task/43783

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


  • pear-mail-mime
  • pear-net-socket (dependency for next package)
  • pear-net-smtp
  • pear-mail-mimedecode

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?





pgoetz

#4
Quote from: SKaero on February 11, 2015, 06:08:34 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?

SKaero

The simplest way is to read the composer file:
https://github.com/roundcube/roundcubemail/blob/master/composer.json-dist

    "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"
    },

pgoetz

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.