• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved file composer.phar is empty

wtfred

New Pleskian
Hello,

We are using Plesk 12.5.30, update 72, running on debian 8.8 and we have a problem with composer:

In /usr/bin/composer, we have
Code:
COMPOSER_BIN="/usr/lib/plesk-9.0/composer.phar"

[ -e "$COMPOSER_BIN" ] || { echo "'$COMPOSER_BIN' not found" >&2; exit 1; }
[ -x "$COMPOSER_BIN" ] || { echo "'$COMPOSER_BIN' is not executable" >&2; exit 1; }

"$COMPOSER_BIN" "$@"

This seems ok, but the file /usr/lib/plesk-9.0/composer.phar is present, but empty... Any idea why ? And how to fix it ?

Thanks !
 
Ok thanks, it fix the problem.

Any idea why it occured ? We have multiple servers, same configurations, some of them with "good" composer.phar, some of them with empty one. The date on the file is november 19th, maybe it was cause by a plesk update ?
 
Back
Top