Error when installing on Debian 6.7 squeese

  • Hi,


    One of my college just tried to install on Debian 6.7 squeese and got the following error.


    [ERROR]


    iMSCP::Addons::ComposerInstaller::_getComposer: #!/usr/bin/env php
    All settings correct for using Composer
    Downloading...
    Download failed:
    file_get_contents(https://getcomposer.org/composer.phar): failed to open
    stream: Connection timed out
    Downloading...
    Download failed:
    file_get_contents(https://getcomposer.org/composer.phar): failed to open
    stream: Connection timed out
    Downloading...
    Download failed:
    file_get_contents(https://getcomposer.org/composer.phar): failed to open
    stream: Connection timed out
    The download failed repeatedly, aborting.
    iMSCP::HooksManager::trigger: A hook function registered on the
    'afterSetupPreInstallAddons' hook and triggered in main::setupPreInstallAddons
    has failed.


    Hook function code was:


    sub {
    package iMSCP::Addons::ComposerInstaller;
    use warnings;
    use strict 'refs';
    'iMSCP::Dialog'->factory->endGauge;
    $self->_installPackages;
    }


    iMSCP::Debug::END: Exit code: 1
    [root@hc][/usr/local/src/imscp-master]
    Broadcast message from root@hc (hvc0) (Thu Oct 10 10:07:11 2013):


    Any idea?

    Files

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------

  • It is possible to do this download from the console.
    But it fails when installing i-mscp (any version from RC3 and up - have not tried any earlier versions).

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------


  • It is possible to do this download from the console.
    But it fails when installing i-mscp (any version from RC3 and up - have not tried any earlier versions).


    Hello ;


    Do you have tried with last master?


    Also please, check that you are not behind a proxy. If yes try this:


    Code
    1. # export http_proxy="http://proxy_login:proxy_pass@proxy_host:proxy_port"# export https_proxy=$http_proxy# wget --no-check-certificate -q -O- https://getcomposer.org/installer | php


    And after, give me the result of


    Code
    1. # php composer.phar diagnose

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

    Edited once, last by Nuxwin ().

  • I am sorry for al the fuss. It seems that my colleague did not look at the the wlan. It was here that we found the error.


    So no error with i-mscp.

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------