Symptoms
Lavarel scan for any domain fails with the following error:
PLESK_ERROR: Failed to attach the instance in '/var/www/vhosts/example.com/httpdocs' to PHP composer: Domain another-domain.tld has standard forwarding configured. This operation is available only for domains with web hosting.
Cause
Bug in Plesk PHP Composer extension with #EXTPHPCOMP-239 ID.
Resolution
- Connect to the server via SSH
-
Backup composer SQLite DB:
# cp /usr/local/psa/var/modules/composer/composer.sqlite3 /usr/local/psa/var/modules/composer/composer.sqlite3.bkp
-
Log into SQLite and remove records for the orphan domain:
# sqlite3 /usr/local/psa/var/modules/composer/composer.sqlite3
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from Application where domainId=240;
1|john-doe/phpthumb|www/another-domain.tld/phpThumb/composer.json|24|1585894494
sqlite> delete from Application where domainId=24;
Comments
Please sign in to leave a comment.