• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved Remove plugin from manually installed list without uninstalling from sites

Tiria

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.69 #3
Is there a way to remove plugins from the manually installed plugin list without uninstalling it from websites ?

From beginning of 2025 I manually installed ACF because it has been removed from wp plugins repository.
From the 6.4.1 version, after updating manually, I saw that it is back, but now I want to remove it from "manually installed" otherwise I don't see updates.

Now that the 6.4.2 is available :
-I tried to install 6.4.2 from the plugins list but even if wp toolkit say "plugin installed", plugin is still in 6.4.1.
-I tried to update from the wp backoffice, it works but the updated plugin still appear as "manually installed".
1748247930694.png

Is there a way to remove it from manually installed ? maybe in plesk database ? or I need to remove it from all website to install from plugin list ?
 
Thanks for the reply,

The only version listed is the previous version 6.4.0.1, event if installed versions are different (6.4.1 and 6.4.2) :

ID Name Slug Version Blocked
25 Advanced Custom Fields advanced-custom-fields 6.4.0.1 false

When I try to remove, I get this error :
Could not remove plugin "Advanced Custom Fields" version 6.4.0.1 because it has been installed on Installations IDs (5, 6, 19, 20, 22, 24, 25, 31, 32, 34, 42, 44, 46, 48, 59)
exit status 3

Is it possible to unlink "Installations IDs" and plugin without uninstalling it ?
 
Thanks. This is very likely caused due to a database inconsistency. Please try the following:

sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3
select id,name,title from plugins where id=25;
select * from PluginVersions;
 
For information, it's not an isolated case, I have the same case on 3 servers.

The results :
sqlite> select id,name,title from plugins where id=25;
25|advanced-custom-fields|Advanced Custom Fields
sqlite> select * from PluginVersions where pluginId=25;

15|25|6.4.0.1

I see that the PluginInstances table is the link between a wordpress instance and a plugin version.
Can I safely do a "delete from PluginInstances where pluginVersionId=15;" ?
Then I will be able to delete the plugin.
 
Thank you for the update. That shouldn't cause any issues, but just to be on the safe side, please create a backup of the WP Toolkit database:

cp -a /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3.plesk.backup

Then, please try:

delete from PluginsInstances where instanceId=5 and pluginVersionId=15;

You can then test to confirm if the instance is removed:

plesk ext wp-toolkit --plugins -operation remove -id 25 -version 6.4.0.1

If yes, please repeat the action for all instances returned by the aforementioned command.
 
Delete the plugin from PluginsInstances works !
1748358517006.png

I will now have update notifications for this plugin and can delete the one I manually uploaded.

Thanks for the help.
 
Back
Top