Problem duplicating sites and connecting to MAINWP with MAINWP child

Hello
I think I discovered a bug, it happens with all my sites.
I’m making copies of the sites with Duplicator plugin to have an available copy for testing purposes.
All the production sites are set up with unique ID / individual ID.
When I first start the develop copy of the site I have to disable MAIN WP child and then enable it.
Then I go to settings and If I forget to disable the unique ID option I’m not able to come back later:

# Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

So with this option enabled I can’t connect my copy of the site to the MAINWP Dash. I tried delete and install the plugin and also cleaning the DB without luck.

Any ideas?

thanks

Hi @ecliente,

thanks for reaching out.
I haven’t seen this behavior before.
Can you tell me is there an option in the Duplicator plugin to skip certain DB tables/fields in the clone process?

Yes, there are the option to skip certain tables.
Should I skip all MAINWP related tables ?
Thanks for your answer

Hi @ecliente,

It might be good to try.

Let us know how it goes.

Hi @ecliente, were you able to run tests?

Hello,
I haven’t still tested it because I can’t find the mainwp child tables.
Do you know where they are exactly?

thx

I would start with the following fields in the wp_options table:

mainwp_child_pubkey
mainwp_child_uniqueId

If that doesn’t work, you can try with all fields in the wp_options table that start with mainwp_