Open alexlii1971 opened 5 years ago
Hi @alexlii1971 ,
Man, time flies, doesn't it? I found this plugin today, 5 years after your comment.
I'm running WordPress 6.3 and php7.4 on a multisite install of 284 sites.
It works just like the README says.
Upload the plugin. Activate the plugin.
Then SSH into your site (if your host doesn't offer SSH access, bad host!).
If you cannot SSH into your site, then you're out of luck, unless you can ask your host to run a command on your server for you.
The image is a screenshot of a completed run. I appreciate your quick tip on pulling down a list of sites! It made me feel a lot better looking at the list created by the plugin (orphaned sites) and the list created by wp-cli native (all active sites) to make sure active sites were not accidentally marked as orphaned. (none were).
The plugin adds WP CLI functionality, but if the plugin isn't installed and active, the command doesn't exist. (which is what you got with "Error: 'multisite-db' is not a registered wp command."
It is an added command by the plugin. Activate the plugin first, then SSH into your host, and run $ wp multisite-db list
to compare to your $ wp site list format=ids
list to give you piece of mind. When ready, just run $ wp multisite-db delete --force
.
It's possible that your SSH isn't to the proper directory. That might be something to ask your host about.
Hello,
Firstly, thanks for your great work.
I read this article, and I found there are lost different upon how to use it:
but in that article, there are different ways:
would you please clear upon how to use it?
Secondly,
I already activated it: http://prntscr.com/lluhb9
but, there is errors show up:
does it support wordpress 4.9.8?
Thanks