• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue WordPress Toolkit Multi-Site Issue

Aakhyan

Basic Pleskian
Server operating system version
CentOS 7.9.2009 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.50.2
Hi Pleskians,

I'm facing issue cloning a WordPress Multi-Site. When I try to clone the WordPress MultiSite, it throws the issue of Permission denied.
Upon running the plesk fs repair, there were no errors.

Any insight/help would be great!
 

Attachments

  • toolkit.png
    toolkit.png
    176.6 KB · Views: 6
  • Screenshot 2023-02-18 at 2.11.29 PM.png
    Screenshot 2023-02-18 at 2.11.29 PM.png
    52.5 KB · Views: 7
Hi,

Below are the logs:

Code:
[2023-02-17 18:24:54.521] 15724:63ef78fc7a267 ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 18:24:54.522] 15724:63ef78fc7a267 ERR [panel] Task failed: id=12082, pid=15724, type=ext-wp-toolkit-clone-instance, erro
r=Permission denied
[2023-02-17 18:24:54.522] 15724:63ef78fc7a267 ERR [panel] Permission denied
[2023-02-17 18:24:55.479] 15724:63ef78fc7a267 ERR [panel] Long task executor: id=12082 completed with error: Permission denied:
[2023-02-17 18:27:04.159] 16668:63ef797e6f62a ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 18:27:04.160] 16668:63ef797e6f62a ERR [panel] Task failed: id=12083, pid=16668, type=ext-wp-toolkit-clone-instance, erro
r=Permission denied
[2023-02-17 18:27:04.160] 16668:63ef797e6f62a ERR [panel] Permission denied
[2023-02-17 18:27:05.439] 16668:63ef797e6f62a ERR [panel] Long task executor: id=12083 completed with error: Permission denied:
[2023-02-17 19:00:20.784] 24094:63ef816ba5165 ERR [extension/xovi] Can not find domain by id 43
[2023-02-17 19:00:56.661] 24504:63ef816f0f517 ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 19:00:56.661] 24504:63ef816f0f517 ERR [panel] Task failed: id=12088, pid=24504, type=ext-wp-toolkit-clone-instance, erro
r=Permission denied
[2023-02-17 19:00:56.662] 24504:63ef816f0f517 ERR [panel] Permission denied
[2023-02-17 19:00:57.613] 24504:63ef816f0f517 ERR [panel] Long task executor: id=12088 completed with error: Permission denied:
[2023-02-17 19:11:40.974] 20007:63ef83f3a2977 ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 19:11:40.974] 20007:63ef83f3a2977 ERR [panel] Task failed: id=12089, pid=20007, type=ext-wp-toolkit-clone-instance, erro
r=Permission denied
[2023-02-17 19:11:40.974] 20007:63ef83f3a2977 ERR [panel] Permission denied
[2023-02-17 19:11:42.237] 20007:63ef83f3a2977 ERR [panel] Long task executor: id=12089 completed with error: Permission denied:
[2023-02-17 19:20:51.631] 5374:63ef861a1b195 ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 19:20:51.631] 5374:63ef861a1b195 ERR [panel] Task failed: id=12099, pid=5374, type=ext-wp-toolkit-clone-instance, error=
Permission denied
[2023-02-17 19:20:51.631] 5374:63ef861a1b195 ERR [panel] Permission denied
[2023-02-17 19:20:52.989] 5374:63ef861a1b195 ERR [panel] Long task executor: id=12099 completed with error: Permission denied:
[2023-02-17 19:24:29.976] 19435:63ef86f4c73a9 ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 19:24:29.976] 19435:63ef86f4c73a9 ERR [panel] Task failed: id=12101, pid=19435, type=ext-wp-toolkit-clone-instance, erro
r=Permission denied
[2023-02-17 19:24:29.976] 19435:63ef86f4c73a9 ERR [panel] Permission denied
[2023-02-17 19:24:31.224] 19435:63ef86f4c73a9 ERR [panel] Long task executor: id=12101 completed with error: Permission denied:
[2023-02-17 19:34:24.238] 21522:63ef89475e58a ERR [extension/wp-toolkit] Failed to clone multisite instance #5 to same domain:
[2023-02-17 19:34:24.238] 21522:63ef89475e58a ERR [panel] Task failed: id=12102, pid=21522, type=ext-wp-toolkit-clone-instance, erro
r=Permission denied
[2023-02-17 19:34:24.238] 21522:63ef89475e58a ERR [panel] Permission denied

As per the error, its saying the same thing.

Nowhere in the WPToolkit Doc its mentioned this restriction.
 
According to the log, the issue is with your second 5th site trying to go to the same domain:

Failed to clone multisite instance #5 to same domain:

Is where you're trying to clone to have an existing instance? If so I think what you're trying to do is copy the data instead of cloning.
 
btw if you're trying to do a clone from, say: wpsite.com to wpsite.com/staging, that's not supported. You could clone to a sub domain or to a whole different domain with the /staging, but you can't clone from wpsite.com to wpsite/staging (or whatever)
 
@scsa20
As I mentioned earlier, this is a Multisite WP install, and if you observe the snapshot carefully, there was no option of cloning it to any subdomain.

Multisite WP only supports clone to either another domain or a sub-folder.
Hence I choose sub-folder.

And if the multi-site is giving the error on cloning to sub-folder of the same site, then either its code bug and this option should even be there, or they haven't yet figured out how to clone correctly a MultiSite WP Install.

@IgorG @Peter Debik Any updates from your end?
 
I've enabled multisite, created an extra site to the multisite and was able to clone to a sub domain just fine. I don't know how you're doing it but cloning works fine for me.
raw




And during my tests everything copied over fine.

Mind you this multisite was configured to use a subdomain for the multisite instead of a subdomain. I currently do not have a free completely blank domain to test the sub domain part but I can presume it's the same. I guess I could always test it with a sub sub domain but the cloning will and does work with multisite wordpress instances.
 
OK, so doing a test using the sub domain for the multisite set up, it's simply not possible to clone to a directory. You MUST use another domain. And honestly it makes sense in this specific case if you are using sub domains for the multisite (what I mean is if you're using something like site1.wpmulti.site, site2.wpmulti.site, etc., instead of wpmulti.site/site1 and wpmulti.site/site2). Because the sub domain requires the use of a wild card in the DNS and also requires you to create a sub domain in plesk using the wild card, trying to clone to a directory within the domain is simply not possible, it will causes conflicts. So because of that, you will need to use another domain. There is simply no way around it if you're using the subdomain multisite.
 
I think what you need is the plugin called NS Cloner Pro. The lite version of NS cloner is in the WP repository, but I am not entire sure it does everything you are looking for but try it first.
There are also other Multisite cloning plugins available, just Google it
 
Back
Top