Author Topic: [SOLVED] 1.1.0 broke my roundcube installation  (Read 10697 times)

Offline pgoetz

  • Jr. Member
  • **
  • Posts: 10
[SOLVED] 1.1.0 broke my roundcube installation
« 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?
« Last Edit: February 11, 2015, 12:52:50 PM by pgoetz »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: 1.1.0 broke my roundcube installation
« Reply #1 on: February 11, 2015, 06:08:34 AM »
I would recommend installing using composer to resolve the dependencies.

Offline pgoetz

  • Jr. Member
  • **
  • Posts: 10
Re: 1.1.0 broke my roundcube installation
« Reply #2 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).

Offline pgoetz

  • Jr. Member
  • **
  • Posts: 10
Re: 1.1.0 broke my roundcube installation
« Reply #3 on: February 11, 2015, 09:53:12 AM »
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?





Offline pgoetz

  • Jr. Member
  • **
  • Posts: 10
Re: 1.1.0 broke my roundcube installation
« Reply #4 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?
« Last Edit: February 11, 2015, 10:00:23 AM by pgoetz »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: 1.1.0 broke my roundcube installation
« Reply #5 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"
    },

Offline pgoetz

  • Jr. Member
  • **
  • Posts: 10
Re: 1.1.0 broke my roundcube installation
« Reply #6 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.