• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Wordpress Toolkit "scan" feature is now broken...

AndreasY

Basic Pleskian
One of the recent updates had broken the "scan" feature found in the WordPress Toolkit.

When I say broken, what I mean is that the "scan" feature no longer detects WordPress installations ....

Hope this is fixed soon and not a few years later down the line ....
 
Thank you for reporting this. Could you please share some details to make it easier to investigate:
  • Do you previously detached this website from the toolkit?
  • Is this website installed into the domain root (httpdocs) or subfolder?
  • Is your website has a standard file structure (wp-content and wp-includes in the website root and wp-config.php in the same directory or one level above) or it has some customizations?
Your answers will help us to provide the fix or a workaround as quick as possible.
 
Hi,

thank you for your reply, I did not expect to get one !

Do you previously detached this website from the toolkit?
I have done this for a new domain, i.e. manually add wordpress directory with files/folders and manually attach database and I have tested also on a domain that already had a Wordpress install setup via the toolkit by removing the WordPress entity (not delete) and pressing scan again.

Is this website installed into the domain root (httpdocs) or subfolder?
Both domains are installed in sub-directories

Is your website has a standard file structure (wp-content and wp-includes in the website root and wp-config.php in the same directory or one level above) or it has some customizations?
Yes, both are standard file structure

Look below comments in this article


Huib van Wees
On February 24, 2022 14:37

Found the same issue.

Thanks
 
Thank you for answers! Could you please check that there is no hidden file .wp-toolkit-ignore in the root of website?
 
Thank you for answers! Could you please check that there is no hidden file .wp-toolkit-ignore in the root of website?
For the domain that was created with the toolkit and then removed this file exists.

For the domain that was manually created it does not exist.
 
Same here. When you detach a WP site from the WP Toolkit and remove the .wp-toolkit-ignore, a new scan will not get it back into WP Toolkit.

CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.42 Update #1
WordPress Toolkit Version 5.10.0-6098
 
When you detach a WP site from the WP Toolkit and remove the .wp-toolkit-ignore, a new scan will not get it back into WP Toolkit.
Did you use the file manager by any change to delete the .wp-toolkit-ignore file? If so, is the file perhaps still in the file manager trash can?
 
Did you use the file manager by any change to delete the .wp-toolkit-ignore file? If so, is the file perhaps still in the file manager trash can?

Nope, I'll deleted it on the commandline. It's gone.
 
Hey everyone,

Thank you for reporting this issue and providing a lot of useful info. We have found the root cause and we're planning to publish an update that fixes this issue ASAP.
 
Update: WPT v5.10.1 with the corresponding bugfix is now out. Thanks to everyone who helped report and identify the issue, and sorry for the inconvenience!
 
Thnx!

It works again for non-administrator users, but not when you're the admin of the server.
Has this always been the case or is this a change in the scan procedure?
How can I attach an existing WP site as an administrator?
 
Update: WPT v5.10.1 with the corresponding bugfix is now out. Thanks to everyone who helped report and identify the issue, and sorry for the inconvenience!
Thank you, its working now for both the domains I tested on.

However, I have not understood how this fix got applied seeing that no updates were detected by Plesk to install and I did not install anything manually.

Does somebody here know the procedure that applies such a fix with no notifications from either an automatic update or a manual update being available ?
 
So I can see the following

Version 18.0.42 Update #1, last updated on Mar 18, 2022 10:06 AM

From the release notes its clear that the fix is March 22.

So how this update get pushed across and is there other stuff that gets pushed across without appearing to the end user ???
 
If you go to Extensions and select the "Updates" tab, there is an option to enable/disable auto-update.
There is no message given when an update is installed.
 
If you go to Extensions and select the "Updates" tab, there is an option to enable/disable auto-update.
There is no message given when an update is installed.
Hi!

Thanks for the info,

OK, ive understood my misunderstanding.

The "WP Toolkit" is an extension, I was thinking its a core component of Plesk, hence the reason nothing appeared in the notifications area when it was updated.

So ive now understood that when an extension is updated we do not receive any notification.

:)
 
I get it ;-)

Best thing to do is to keep a eye on the change log:


Not only does it contain changes but also tips on how to activate or disable new features etc.
 
> How can I attach an existing WP site as an administrator?

@maartenv Is this question still actual? By design, the scanning should works the same way for administrator, customers or reseller. The difference is the area of scanning. For customer its limited by his own subscription(s), but for administrator it is the server wide scanning.
 
Hi,

I've just tested it again on 2 servers:

- scanning on server 1 seems to be working as an admin.

- scanning on server 2 still can't find the detached WP installation:
Firefox console log:
XHR POST https://server2:8443/modules/wp-toolkit/index.php/domain/scan [HTTP/1.1 200 OK 532ms]
XHR OPTIONS https://firehose.us-west-2.amazonaws.com/ [HTTP/1.1 200 OK 746ms]
XHR POST https://firehose.us-west-2.amazonaws.com/ [HTTP/1.1 200 OK 182ms]
XHR POST https://server2:8443/modules/wp-toolkit/index.php/domain/get-background-tasks-data [HTTP/1.1 200 OK 467ms]
XHR GET https://server2:8443/modules/wp-toolkit/index.php/domain/get-initial-data [HTTP/1.1 200 OK 577ms]
XHR POST https://server2:8443/modules/wp-toolkit/index.php/domain/get-instances-data/withAssets/1 [HTTP/1.1 200 OK 2304ms]

Server 1 =
CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.42 Update #1
WordPress Toolkit Version 5.10.1-6111

Server 2 =
CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.42 Update #1
WordPress Toolkit Version 5.10.1-6111
 
Back
Top