1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Its posible install plugins in Roundcube - for example: Calendar

Discussion in 'Plesk Onyx for Linux' started by Jorge Luis Villegas, Apr 15, 2017.

  1. Jorge Luis Villegas

    Jorge Luis Villegas New Pleskian

    1
    20%
    Joined:
    Apr 15, 2017
    Messages:
    4
    Likes Received:
    0
    Location:
    Peru
    Hi,

    I have Plesk Onix 17.0.17 with Roundcube webmail. I need install calendar plugin from: kolab/calendar - Roundcube Webmail Plugin Repository
    But its necesary install with composer.
    My first question is: its posible install? or its not compatible with plesk ?
    If its posible, could you letme any tutorial how to install calendar plugin ?

    Thanks,

    Jorge
     
  2. UFHH01

    UFHH01 Plesk addicted! Staff Member

    44
    64%
    Joined:
    Jun 11, 2013
    Messages:
    6,356
    Likes Received:
    1,540
    Location:
    Hamburg / Germany
    Hi Jorge Luis Villegas,

    did you see the "Getting started" documentation at => Roundcube Webmail Plugin Repository ?
    ( Information: The Plesk - related installation folder for roundcube is: /usr/share/psa-roundcube )


    You may install as many additional plugins, as you wish to, that is totally up to you. Just notice, that you should be aware, that Plesk may change your custom installation in case of Plesk updates/upgrades and patch processes. ;)
     
  3. Jorge Luis Villegas

    Jorge Luis Villegas New Pleskian

    1
    20%
    Joined:
    Apr 15, 2017
    Messages:
    4
    Likes Received:
    0
    Location:
    Peru
    Hi,

    Of course, I see the documentation, but when I use the composer: "php composer.phar install" the roundcube is damaged and it necesary reinstall from Plesk Panel, for this razon my question: Composer its compatible with plesk ??? because i could not use the composer to install plugins for round cube.

    Thanks,

    Jorge V.
     
  4. UFHH01

    UFHH01 Plesk addicted! Staff Member

    44
    64%
    Joined:
    Jun 11, 2013
    Messages:
    6,356
    Likes Received:
    1,540
    Location:
    Hamburg / Germany
    Hi Jorge Luis Villegas,

    Would you pls. consider to add more information to your ( possible ) issues/errors/problems? And could you pls. inform us about the full commands you used over the command line?

    It's hard to investigate issues/errors/problems, if you don't provide informations. You should consider to start with:
    • Your operating system
    • Your current Plesk version ( incl. #MU )
    • Your vendor PHP - version on your server
    • Your current PHP handler for the domain with issues/errors/problems

    In addition, pls. keep in mind, that entries from your log - files mostly help to investigate issues/errors/problems and ( mostly ) point directly to current root causes. ;)
     
  5. Jorge Luis Villegas

    Jorge Luis Villegas New Pleskian

    1
    20%
    Joined:
    Apr 15, 2017
    Messages:
    4
    Likes Received:
    0
    Location:
    Peru
    Hi,
    I have:
    • VPS(OpenVZ) with CentOS Linux release 7.0.1406 (Core)
    • Plesk 17.0.17 update #22
    • Server php: PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
    • Current PHP domain: The same vendor 5.4.16
    I try install some plugin with this steps:

    1.- install composer with:
    Code:
    cd <roundcube-project-root>
    curl -s https://getcomposer.org/installer | php
    2. I create composer.json from roundcubemail/composer.json-dist at master · roundcube/roundcubemail · GitHub on /usr/share/psa-roundcube/
    Code:
    {
        "name": "roundcube/roundcubemail",
        "description": "The Roundcube Webmail suite",
        "license": "GPL-3.0+",
        "repositories": [
            {
                "type": "composer",
                "url": "https://plugins.roundcube.net/"
            },
            {
                "type": "vcs",
                "url": "https://github.com/roundcube/Net_Sieve.git"
            },
            {
                "type": "vcs",
                "url": "https://git.kolab.org/diffusion/PNL/php-net_ldap.git"
            }
        ],
        "require": {
            "php": ">=5.4.0",
            "pear/pear-core-minimal": "~1.10.1",
            "pear/net_socket": "~1.2.1",
            "pear/auth_sasl": "~1.1.0",
            "pear/net_idna2": "~0.2.0",
            "pear/mail_mime": "~1.10.0",
            "pear/net_smtp": "~1.7.1",
            "pear/crypt_gpg": "~1.6.0",
            "roundcube/net_sieve": "~1.5.0",
            "roundcube/plugin-installer": "~0.1.6",
            "endroid/qrcode": "~1.6.5",
            "sabre/vobject": "~3.3.3"
        },
        "require-dev": {
            "phpunit/phpunit": "~5.7.15"
        },
        "suggest": {
            "pear/net_ldap2": "~2.2.0 required for connecting to LDAP",
            "kolab/Net_LDAP3": "dev-master required for connecting to LDAP"
        }
    }
    
    3. Intall in this case sabre:
    Code:
    php composer.phar install

    Result: Webmail round cube dont load, because this composer uninstall moules from php :
    Code:
    [root@s1 psa-roundcube]# php composer.phar install
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
    Package operations: 1 install, 0 updates, 13 removals
      - Removing roundcube/net_sieve (1.5.3)
      - Removing pear/pear-core-minimal (v1.10.1)
      - Removing pear/console_getopt (v1.4.1)
      - Removing pear/pear_exception (dev-master 8c18719)
      - Removing pear-pear.php.net/net_smtp (1.7.2)
      - Removing pear-pear.php.net/net_socket (1.0.14)
      - Removing pear-pear.php.net/crypt_gpg (1.4.2)
      - Removing pear-pear.php.net/console_commandline (1.2.2)
      - Removing pear-pear.php.net/mail_mime (1.10.0)
      - Removing pear-pear.php.net/net_idna2 (0.1.1)
      - Removing pear-pear.php.net/auth_sasl (1.0.6)
      - Removing kolab/net_ldap3 (dev-master)
      - Removing pear-pear.php.net/net_ldap2 (2.2.0)
      - Installing sabre/vobject (3.3.5): Loading from cache
    Generating autoload files
    If you any idea how use this composer with plesk + round cube, please helpme.

    Thanks.
     
  6. Jorge Luis Villegas

    Jorge Luis Villegas New Pleskian

    1
    20%
    Joined:
    Apr 15, 2017
    Messages:
    4
    Likes Received:
    0
    Location:
    Peru
    Hi,

    Maybe my error is the file composer.json-dist, could you letme whre its located this file in plesk ?

    Thanks,

    Jorge
     
  7. UFHH01

    UFHH01 Plesk addicted! Staff Member

    44
    64%
    Joined:
    Jun 11, 2013
    Messages:
    6,356
    Likes Received:
    1,540
    Location:
    Hamburg / Germany
    Hi Jorge Luis Villegas,

    you installed composer , even that it IS already installed, when you installed the Plesk roundcube package:
    Code:
    locate composer.json | grep roundcube
    /usr/share/psa-roundcube/plugins/acl/composer.json
    /usr/share/psa-roundcube/plugins/additional_message_headers/composer.json
    /usr/share/psa-roundcube/plugins/archive/composer.json
    /usr/share/psa-roundcube/plugins/attachment_reminder/composer.json
    /usr/share/psa-roundcube/plugins/autologon/composer.json
    /usr/share/psa-roundcube/plugins/database_attachments/composer.json
    /usr/share/psa-roundcube/plugins/debug_logger/composer.json
    /usr/share/psa-roundcube/plugins/emoticons/composer.json
    /usr/share/psa-roundcube/plugins/enigma/composer.json
    /usr/share/psa-roundcube/plugins/example_addressbook/composer.json
    /usr/share/psa-roundcube/plugins/filesystem_attachments/composer.json
    /usr/share/psa-roundcube/plugins/help/composer.json
    /usr/share/psa-roundcube/plugins/hide_blockquote/composer.json
    /usr/share/psa-roundcube/plugins/http_authentication/composer.json
    /usr/share/psa-roundcube/plugins/identity_select/composer.json
    /usr/share/psa-roundcube/plugins/jqueryui/composer.json
    /usr/share/psa-roundcube/plugins/legacy_browser/composer.json
    /usr/share/psa-roundcube/plugins/managesieve/composer.json
    /usr/share/psa-roundcube/plugins/markasjunk/composer.json
    /usr/share/psa-roundcube/plugins/markasjunk2/composer.json
    /usr/share/psa-roundcube/plugins/new_user_dialog/composer.json
    /usr/share/psa-roundcube/plugins/new_user_identity/composer.json
    /usr/share/psa-roundcube/plugins/newmail_notifier/composer.json
    /usr/share/psa-roundcube/plugins/password/composer.json
    /usr/share/psa-roundcube/plugins/redundant_attachments/composer.json
    /usr/share/psa-roundcube/plugins/show_additional_headers/composer.json
    /usr/share/psa-roundcube/plugins/sieverules/composer.json
    /usr/share/psa-roundcube/plugins/subscriptions_option/composer.json
    /usr/share/psa-roundcube/plugins/userinfo/composer.json
    /usr/share/psa-roundcube/plugins/vcard_attachments/composer.json
    /usr/share/psa-roundcube/plugins/virtuser_file/composer.json
    /usr/share/psa-roundcube/plugins/virtuser_query/composer.json
    /usr/share/psa-roundcube/plugins/zipdownload/composer.json
    /usr/share/psa-roundcube/vendor/kolab/net_ldap3/composer.json
    /usr/share/psa-roundcube/vendor/pear/console_getopt/composer.json
    /usr/share/psa-roundcube/vendor/pear/pear-core-minimal/composer.json
    /usr/share/psa-roundcube/vendor/pear/pear_exception/composer.json
    /usr/share/psa-roundcube/vendor/roundcube/net_sieve/composer.json
    /usr/share/psa-roundcube/vendor/roundcube/plugin-installer/composer.json
    

    Pls. check EXISTING "composer.json" - files and edit/change/modify them to your needs and try not to install a complete new composer version. ;)
     
  8. QCO

    QCO New Pleskian

    1
     
    Joined:
    Jun 10, 2017
    Messages:
    1
    Likes Received:
    0
    Location:
    Germany
    The problem is, that in this list of composer.jsons the central one in the roundcube-root is missing in the plesk version. You can not install anything without that. And copying the original one from the official roundcube files does not work, as Parallels made some changes. That's was Jorge Luis Villegas was trying and it does not work.
     
Loading...