• 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.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved WP Toolkit API - active/deactivated Status for Plugins not refreshing

Giu

Basic Pleskian
Server operating system version
Debian 12.4
Plesk version and microupdate number
18.0.58
Hi Forum,

When a User deactivates a Plugin inside WP-Admin. This change of status in: /v1/installations/{installationId}/plugins route will not be reflected in the api response.
The response property "status" shows then still true.

only if you go into Plesk Admin navigate to the Installation in WP Toolkit and press this refresh button the status of the Plugins gets updated:
Screenshot 2024-03-06 121854.png

After clicking this refresh button the changes of Plugin activation Status gets reflected in API and Plesk WP Toolkit View.

my question now is: how can i trigger this refresh button with the API or Plesk CLI, since the api route /v1/installations/{installationId}/plugins is useless if its not showing the actual data about the plugins of the wp installation.
 
i found out myself sorry for opening ticket.

in case anyone has the same issue:

use the: /v1/cache-cleaner
POST Request with this body:

{
"installationsIds": [
1
],
"tags": [
"main-information"
]
}

it will refresh the plugin and theme settings for the wp installation
 
Back
Top