• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Issue Php composer of domain stuck on non existing folders

lukebrenner

New Pleskian
Hi there, I would like to know how I can reset php composer for one of my domains. It points to a folder (recruitment) in the domain root that has since been deleted. If click on change folder, it is still showing subfolders of the non-existing folder. Thank you
 

Attachments

  • error.JPG
    error.JPG
    15.1 KB · Views: 16
I had to delete composer entirely in plesk extensions then reinstall it to solve this issue. after having the same issue as yourself, though mine resulted from moving the root folder of the subdomain, it could no longer find the composer.json and was not getting the new document root in PHP Composer.

I only use composer on one of my domains right now so probably not ideal to be removing the composer extension even temporarily if you rely on it.

This does seem to be a bug with Composer Extension.
 
I'm a few years late to this, but I've been trying to fix this minor inconvenience for some time and found the solution to anyone who could use it (caution to those who don't have SQL knowledge)

My situation is Windows but I'm assuming works similar in Linux

1. Remote into Plesk server
2. Download DB Browser for SQLite and open it
3. Navigate to %Plesk_Dir%/var/modules/composer/
4. Open composer.sqlite3 in DB Browser for SQLite
5. "Browse Data" ta for "Application" table to find the ids of the invalid folder(s)
6. "Execute SQL" tab, type: delete from Application where id={invalid folder ids} (not specifying a "where" clause will remove all folder paths)
7. Execute (this will create a copy of the sqlite3 file composer.sqlite3-journal and be the last step before the deletions take effect)
8. "Browse Data" tab again to verify the Application table looks as you want it to
9. Apply changes to original with Ctrl+S (this will apply the deletions and remove the -journal file)
 
Back
Top