Sp2013 to Sp2019 DB migration with custom SPWeb template

SPadminSk 1 Reputation point
2020-12-30T09:46:05.917+00:00

Hi.
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,971 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 48,176 Reputation points Microsoft Vendor
    2020-12-31T09:01:16.813+00:00

    @SPadminSk
    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
    2021-02-15T11:46:56.72+00:00

    Any other thoughts? Thank you

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.