Roundcube Community Forum

 

Install Plugin composer?!

Started by neufra, May 26, 2015, 08:26:06 AM

Previous topic - Next topic

neufra

Hello out there,
my webspace is hosted by an ISP and I always had installed roundcube as webmail client. Now I wanted to get the plugin installer, downloaded all parts, editet composer.json as described and asked my ISP to run the script

php composer.phar install

He told me that they are not doing so. What other way do I now have to get this script running?

I don't have a console on my webspace, so what?

Hoping to answers

Regards
Franz-Georg


neufra

Thanks for the link, I'll give it at try.

Just to be up-to-date my webhoster tried to install it from his console but he got the following error messages:

[Seld\JsonLint\ParsingException]               

  "./composer.json" does not contain valid JSON 

  Parse error on line 40:                       

  ...rk/utf8": "1.2.x" "johndoh/contextmenu... 

  ---------------------^                         

  Expected one of: 'EOF', '}', ':', ',', ']'     


I now have to check what I did wrong by filling out the composer.json. therefore I attached it and hope that someone could explain what I did wrong.




SKaero

Look at the list:

        "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"
"johndoh/contextmenu": "dev-release-2.1"
"johndoh/markasjunk2": "dev-release-1.9"
"stwa/google-addressbook": "dev-master"
"roundcube/chbox": "dev-master"
"johndoh/sauserprefs": "dev-release-1.14"
"kolab/calendar": "dev-master"
"kolab/libcalendaring": "dev-master"
"kolab/tasklist": "dev-master"
"roundcube/filters": "dev-master"
"elm/identity_smtp": "dev-master"
"roundcube/virtual_user_mapping": "dev-master"
"flanpy/drop_drag_contact": "dev-master"
"roundcube/ude_login": "dev-master"
"marneu/custom_logo": "dev-master"
"roundcube/customizr": "dev-master"

You need a comma after each line except the last line.

neufra

@SKaero,
thanks a lot, I just didn't take care when adding the plugins.

kind regards
Franz-Georg

neufra

@SKaero,

hello again, I changed the file and asked my ISP to run the script again, but he told me that there is another error:

php composer.phar install

Loading composer repositories with package information

Initializing PEAR repository http://pear.php.net





                                                                                                                                                     

  [RuntimeException]                                                                                                                                 

  Failed to execute git clone --mirror 'git://git.kolab.org/git/pear/Net_LDAP3' '/root/.composer/cache/vcs/git---git.kolab.org-git-pear-Net-LDAP3/' 

  fatal: unable to connect to git.kolab.org:                                                                                                         

  git.kolab.org[0: 95.128.36.55]: errno=Connection timed out                                                                                         

                                                                                                                                                     





install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]


Hope you can give me a hint.

Best regards
Franz-Georg