iMSCP::Composer::_installPackages: Could not install/update i-MSCP packages from GitHub

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

    my System :

    - Distribution: Debian | Release: 9.13 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), SpamAssassin (v 2.0.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)YubiKeyAuth 1.1.0

  • @Speddy


    First, please read: Reporting rules - Reminder


    Now please, do


    Shell-Script
    1. # perl imscp-autoinstall -dsnv > nuxwin.log 2>&1


    Then, once finished, send me the nuxwin.log file in private.

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

  • done

    my System :

    - Distribution: Debian | Release: 9.13 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), SpamAssassin (v 2.0.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)YubiKeyAuth 1.1.0

  • @Speedy


    Please, give us the result of the following command:


    Shell-Script
    1. # su - imscp -s /bin/sh -c 'php -d date.timezone=UTC -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar --no-ansi -n -d=/var/local/imscp/packages self-update'

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

  • Shell-Script
    1. root@ns367176:/usr/local/src/imscp# su - imscp -s /bin/sh -c 'php -d date.timezone=UTC -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar --no-ansi -n -d=/var/local/imscp/packages self-update'
    2. [Composer\Repository\InvalidRepositoryException]
    3. Invalid repository data in /var/local/imscp/packages/vendor/composer/installed.json, packages could not be loaded: [UnexpectedValueException] Could not parse package list from the repository

    my System :

    - Distribution: Debian | Release: 9.13 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), SpamAssassin (v 2.0.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)YubiKeyAuth 1.1.0

  • @Speddy


    Code
    1. [[0;34mDEBUG[0m] iMSCP::Execute::executeNoWait: su - imscp -s /bin/sh -c 'php -d date.timezone=UTC -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar --no-ansi -n -d=/var/local/imscp/packages self-update'[[0;34mDEBUG[0m] iMSCP::Execute::getExitCode: Command exited with value: 1[[0;31mERROR[0m] iMSCP::Composer::_getComposer: Could not install/update composer.phar:[Composer\Repository\InvalidRepositoryException]Invalid repository data in /var/local/imscp/packages/vendor/composer/installed.json, packages could not be loaded: [UnexpectedValueException] Could not parse package list from the repositoryautoinstaller::Functions::install: An error occurred while performing installation steps


    Meaning that data from your local repository are corrupted...


    Please, try :


    Shell-Script
    1. # perl imscp-autoinstall -dscnv > nuxwin.log 2>&1


    Here, I've added the -c option to cleanup your cache. Once done, send me the log again.

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

  • @Speddy


    Problem is on your side ;)


    Code
    1. ...
    2. [ErrorException]
    3. ZipArchive::extractTo(): No space left on device
    4. ...


    You' partition seem to be full.


    Result of df -h ?


    Please, fix the problem and once done, rerun # perl imscp-autoinstall -dscnv > nuxwin.log 2>&1 ;)

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

  • Done update no error message because I have to see how I can rebuild the server template for me following hd incorporated config.


    Filesystem Size Used Avail. EXP Use% Mounted on
    / Dev / md2 20G 14G 5.0g 73% /
    udev 10M 10M 4.0K 1% / dev
    tmpfs 6,3g 665m 5.7g 11% / run
    tmpfs 16G 16G 0 0% / dev / shm
    tmpfs 5.0M 5.0M 4.0K 1% / run / lock
    tmpfs 16G 16G 0 0% / sys / fs / cgroup
    / Dev / md3 1.8T 1.7T 190M 1% / home

    my System :

    - Distribution: Debian | Release: 9.13 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), SpamAssassin (v 2.0.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)YubiKeyAuth 1.1.0

  • @Speddy


    From your last log:

    Code
    1. [[0;32mDONE[0m] i-MSCP has been successfully installed/updated.

    Problem fixed ;)


    BTW: You should give more space to your / partition. 5 Gio is not enough because in your case, this include /var and /usr ;)

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