Wp workbench - apply to cpanel wordpress migrations

SYSTEM INFORMATION
OS type and version REQUIRED
Webmin version REQUIRED
Virtualmin version REQUIRED
Webserver version REQUIRED

I am running latest versions of webmin/virtualmin, and wp workbench

I have multiple migrated sites from cPanel. All with Wordpress installed.

When I run the WP Workbench Manager

Importing instances ..
.. skipped, no new instances detected

WP Workbench Manager
Refreshing all instances data ..

WordPress found in `~/public_html` on local instance **example1.com**
WordPress found in `~/public_html` on local instance **example2.com**
WordPress found in `~/public_html` on local instance **example3.com**
WordPress found in `/home/example4/public_html/demo/wp` on local instance **example4.com**
WordPress found in `~/public_html` on local instance **example5.com**

.. done, 0 instances processed

In webapps, there is Wordpress showing in the Installed Apps, but no other management tools.

How do i get virtualmin to recognise the WP installations?

Hello,

Does it work for you if you click the “Refresh Instances” button?

By the way the issue you’re describing sounds like an old one that we fixed some time ago.

What versions of Webmin and Virtualmin do you have installed?

In my op I mentioned I am running latest versions. Also tried the refresh and nothing see above. What’s the best way to manually add them in?

You shouldn’t do this manually, but there’s a virtualmin detect-scripts CLI command.

Also, is there anything useful logged under ~/logs/?

You should fill it out for each new post at the very top so any future reader can see the version and OS. Latest doesn’t say much in a couple of months or years.

Are you logged in as the domain owner or a master administrator?

Fair call. I will add that info in future. Yes logged in as root admin.

I will update your original post for you to fill it for this ticket as well.

Can you show a screenshot of the “Manage Web Apps” page and the “WP Workbench Manager” page after clicking the “Refresh Instances” and “Import Instances” buttons?

My info is

|**Operating system**|Rocky Linux 9.7|
|**Webmin version**|2.621|**Usermin version**|2.521|
|**Virtualmin version**|[8.0.1] Professional|**Authentic theme version**|26.22|

screenshots as requested

On the last screenshot, what are getting when you click on wordpress as that where WP workbench is.
Ignore, just notice the top one is saying no WP installations. Bit weird.

Can you check the logs at ~/logs/wp_cli_log? Do you see anything useful there?

Also, as @stefan1959 suggested—what happens when you click on WordPress in the last screenshot? I suspect there’s something wrong with the WP-CLI command.

FYI I have the same thing for all virtual servers. They were all migrated over from cPanel. They are all WordPress sites.

I don’t see any log for “wp_cli_log” either under root or any virtual server

This is what I see when i go to one of the virtual servers and click on > manage web apps > wordpress

If I click on that green “install WP CLI” then the workbench comes up on the individual account, and also now in the workbench manager.

Are you suggesting I need to do that for all imported WP installations?

Is there a way to activate this for all accounts via SSH - since the UI failed?

I looked here

and I tried this >

[root@~]# virtualmin configure-all-scripts --app wordpress --import-instances
Importing instances ..
.. skipped, no new instances detected
[root@~]#

I’ll need to take a closer look and try to reproduce it. Based on what you’re reporting, the migrated WordPress site fails to import when WP-CLI is not available. Though, I would expect it to work.

I will take a look.

1 Like

OK thank you - sorry for the hassle. Meanwhile is there any console command to achieve the same thing as the green button ?

OK I discovered that under Manage Webapps, If i select the visible WP installation and click on the blue “upgrade selected webapp” it returns me to the WP workbench - while I am under the Manage Webapp menu, but then if I navigate somewhere else and come back the WP workbench interface is gone.

Do you mean that when only one web app (i.e. WordPress) is selected for an upgrade, after the successful upgrade, the page shows three blue buttons at the end of the page, and clicking the first one takes you to the WP Workbench of the upgraded WordPress instance?