Roundcube Plugin 2.0.0 "--no-suggest" and missing ldap php ext errors

  • After updating to 1.4.2, I get the following error trying to enable Roundcube Plugin:


    Code
    1. [Symfony\Component\Console\Exception\RuntimeException]
    2. The "--no-suggest" option does not exist.
    3. require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--s$
    4. I have tried editing /RoundcubePlugins/backend/RoundcubePlugins.pm at line 666 and removing --no-suggest and using various others mentioned in error to no avail.

    System Details

    • Debian GNU/Linux 8.7 (jessie)
    • PHP Ver: 5.6.30 (Default)
    • MYSQL Ver: 5.7.17
    • FPM/FastCGI
    • Vsftpd Ver: 3.0.2
    • i-MSCP 1.4.2 | Build: 20170404| Codename: ZImmer

    Plugins Installed and Active

    • AdminerSQL - Ver. 1.0.1
    • ClamAV - Ver. 1.2.0
    • CronJobs - Ver. 1.4.1
    • DebugBar - Ver. 1.1.2
    • DomainAutoApproval - Ver. 1.1.2
    • InstantSSH - Ver. 5.0.1
    • LetsEncrypt - Ver. 3.0.0
    • Mailgraph - Ver. 1.1.1
    • Mailman - Ver. 1.0.3
    • Monitorix - Ver. 1.2.2
    • OpenDKIM - Ver. 1.1.3
    • PanelRedirect - Ver. 1.1.5
    • PhpSwitcher - Ver. 3.0.3
    • PolicydSPF - Ver. 1.1.0
    • PolicydWeight - Ver. 1.1.0
    • Postgrey - Ver. 1.1.1
    • Postscreen - Ver. 1.1.0
    • ServerDefaultPage - Ver. 1.2.5
    • SpamAssassin - Ver. 1.1.1

    “Life is all an Elaborate Hoax”

  • How did you run the installer?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @texxasrulez


    Could you please show use the composer version as in the screen below:


    composer.png

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Composer version 1.2.1 2016-09-12 11:27:19

    Ouch, strange normally the installer should update it automatically. Ok, do the following:


    Shell-Script
    1. # rm /var/local/imscp/composer.phar


    Then, once done, run the installer with following options -dc

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Installation has failed with the following error:


    “Life is all an Elaborate Hoax”

  • @texxasrulez


    God...

    Shell-Script
    1. # apt-get update && apt-get install php5.6-ldap

    Once done, rerun the installer as previously ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @texxasrulez


    Because that ldap is listed in composer.json file of Roundcube ;) Roundcube can optionally use ldap so the package is in the composer.json. Well, in next RoundcubePlugins plugin, I'll add the --ignore-platform-reqs option to avoid installing that package which we don't use anyway ;) For now, just install it. It will not warn you ;)


    Furthermore, composer.phar is not smart enough to discard check for packages that we discard:



    ...

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206