Title: Migration Issues &#8211; Multisite
Last modified: September 17, 2020

---

# Migration Issues – Multisite

 *  Resolved [tporteusiatro](https://wordpress.org/support/users/tporteusiatro/)
 * (@tporteusiatro)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/)
 * Hello,
 * Few issues with the migration tool in a multisite environment:
 * – No ability to migrate all sites
    – Final step trys to disable and remove the
   Block Lab plugin – Even if used by other sites! I have Block Lab network activated
   so this failed the permission check.
 * So I don’t really have a route forward, I’ve network activated the new plugin,
   and my templates are picked up by both plugins – but I can’t add anything new
   and have no way of seeing which sites are activated and which aren’t.
 * I’m left with opportunistically migrating sites, but with a few 1000 this is 
   going to be painful.
 * Please can you improve the migration tool to support multisite?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420565)
 * [@tporteusiatro](https://wordpress.org/support/users/tporteusiatro/),
    Sorry,
   and thanks for your patience.
 * > I’m left with opportunistically migrating sites, but with a few 1000 this is
   > going to be painful.
 * OK, does migration work for an individual site in the multisite?
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420607)
 * Not saying that’s a good solution, just trying to see exactly what isn’t working.
 *  Thread Starter [tporteusiatro](https://wordpress.org/support/users/tporteusiatro/)
 * (@tporteusiatro)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420655)
 * They work individually, just errors at the last step when it tries to remove 
   blocklab.
 * What is the migration doing? Is it just changing the CPT or is it migrating more
   than that?
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420700)
 * Ah, good to know.
 * The migration is [changing the block CPT](https://github.com/getblocklab/block-lab/blob/1ae868ed6edb6eca082b0ef5e9a1b3ce74ec86c9/php/admin/migration/class-post-type.php)
   and [changing the namespace](https://github.com/getblocklab/block-lab/blob/1ae868ed6edb6eca082b0ef5e9a1b3ce74ec86c9/php/admin/migration/class-post-content.php)
   of blocks in post_content from `block-lab/` to `genesis-custom-blocks/`
    -  This reply was modified 5 years, 8 months ago by [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/).
    -  This reply was modified 5 years, 8 months ago by [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/).
 *  Thread Starter [tporteusiatro](https://wordpress.org/support/users/tporteusiatro/)
 * (@tporteusiatro)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420738)
 * If I used a search and replace plugin could I achieve the same effect?
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420758)
 * Hm, an earlier comment I made is held for moderation. That explains what the 
   migration does.
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420923)
 * A search and replace might be enough for the `post_content` migration to the `
   genesis-custom-blocks/` namespace, but probably won’t migrate the block CPT.
 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420953)
 * This will migrate a single site’s CPTs and `post_content`, though I know it doesn’t
   help with multisite.
 *     ```
       wp shell
       ( new Block_Lab\Admin\Migration\Post_Content( 'block-lab', 'genesis-custom-blocks' ) )->migrate_all();
       ( new Block_Lab\Admin\Migration\Post_Type( 'block_lab', 'block-lab', 'block_lab', 'genesis_custom_block', 'genesis-custom-blocks', 'genesis_custom_blocks' ) )->migrate_all();
       ```
   

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Migration Issues – Multisite’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/block-lab_5c34e8.svg)
 * [Block Lab](https://wordpress.org/plugins/block-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/block-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-lab/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/migration-issues-multisite/#post-13420953)
 * Status: resolved