iMSCP::Composer::_installPackages: Could not install/update i-MSCP packages from GitHub
-
- not i-MSCP related
- Speddy
- Closed
- Thread is marked as Resolved.
-
-
First, please read: Reporting rules - Reminder
Now please, do
Then, once finished, send me the nuxwin.log file in private. -
-
done
-
-
-
Shell-Script
- 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'
- [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 repository
-
Code
- [[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 :
Here, I've added the -c option to cleanup your cache. Once done, send me the log again. -
-
-
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 -
-