:_getComposer: Could not install/update composer.phar

  • Hi,


    I have the following problem updating imscp to 1.3.0


    [ERROR] iMSCP::Composer::_getComposer: Could not install/update composer.phar:


    [ErrorException]
    file_get_contents(./composer.json): failed to open stream: Permission denied




    autoinstaller::Functions::install: An error occurred while performing installation steps


    Update from 1.2.11 to 1.3.0
    debian 8.5
    apache 2.4
    lxc vps


    what else do you need?


    Please help, thx


    Regards

  • Hello,


    Try:


    Code
    1. perl imscp-autoinstall -dc

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

  • Thank you.


    But it is not working:



    Quote

    [ERROR] iMSCP::Composer::_installPackages: Could not install/update i-MSCP packages from GitHub
    autoinstaller::Functions::install: An error occurred while performing installation steps

    So I did a ping to github to see if I can get a connection



  • Give me an access to the server.

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

  • @ciscllc


    Fixed. The problem comes from your side. It seem that you played too much with ACL. To fix the problem, I had to remove all ACL recursively on /var:


    Code
    1. setfacl -Rb /var

    On your system, there is many ACL set. Thus, I can not guarantee that everything will work as expected. Best would be to remove all ACL:

    Code
    1. setfacl -Rb /


    If you do so, be aware that this is a long running task.

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