Sp2013 to Sp2019 DB migration with custom SPWeb template

SPadminSk 1 Reputation point

I need help with one problem:
we have a custom WebTemplate, that comes with WSP in 2013 farm.
After migrating DB from 2013 to 2016 we get an error upgrading without this template.
We dont need this WSP and template anymore, so we dont want to migrate this template to new farm.

We've tried to backup all lists of the web with custom template in old farm and move them to web with normal template, such as STS01.
But one of SPWeb with custom template is root Web. So, if I'll delete it through GUI, it also delete site collection.
With PowerShell I get an error deleting root web.

So did i have any options with it with minimal effort?

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,630 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 34,186 Reputation points Microsoft Vendor

    Based on your description, I understand that you want to migrate a site without custom template from SharePoint 2013 to 2019.

    First, you should set OOB site template for the site, then migrate a site from SharePoint 2013 to 2019.

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. SPadminSk 1 Reputation point

    Any other thoughts? Thank you

    0 comments No comments