Upgrading from SharePoint 2010 to SharePoint 2013
In this article I will list the steps in short form and I think it's enough for Professional SharePoint administrators J.
Upgrade process:
- Build new SharePoint 2013 farm
- Make SharePoint 2010 content databases as Read-only (No specific version or Cumulative update is required)
- Take backup from content databases
- Restore these content databases to SQL Server of SharePoint 2013
- Create Web Application in SharePoint 2013 with the default content database (new database)
- Deploy any custom solution from SharePoint 2010 to SharePoint 2013
- Deploy any physical files like (DLLs in bin, customization in web.confg…
- Remove the default content database
- Run Test-SPContentDatabase –Name … -WebApplication …
- Fix any missing features, WebParts, and re-run the commands
- Mount-SPContentDatabase –Name … -WebApplication …
- Upgrade the UI from top bar
Tools to figure out any issues:
- Event Logs
- Logs folder
- Health analyzer in Site Collection settings
Common Issues:
- Migrate from classic-mode to claims-based authentication in SharePoint 2013 https://technet.microsoft.com/en-us/library/gg251985.aspx
- Need to change the top area in custom master page after upgrade (Ribbon, Settings icon…)
- After upgraded, SharePoint will change the custom master pages from site settings to default master pages so consider to do the following:
- Get list of master pages and their websites from SharePoint 2010
-
-
- Get-SPSite https://portal | Get-SPWeb -Limit All | Select Title, URL, CustomMasterUrl | Export-Svc -Path c:\sites.cvc
- Create script which first update the value of master pages to 15 and then create script to change the default master page from site settings
-
- Custom site columns are hidden so to fix it (I think this common for any things become hidden like maybe content types…)
-
- De-Active the Feature which contains Your site Columns
- Un-install the Feature
- Copy Feature folder from /14/Template/Features to /15/Template/Features
- Install the feature with the new path
- enable the feature with force option
- iisreset
- To change any SharePoint projects from 2010 to 2013
- Make sure to change the following value
-
-
- For framework use 4.5
- For SharePoint path use /15
- Change any reference of DLLs from 14 version to 15 version
-
- To keep the UI in SharePoint 2010 and hide the top button which ask for upgrade
- #Get the site collection
- $Site = Get-spsite "https://test"
- #Disable Upgrade options from UI
- $Site.AllowSelfServiceUpgrade = $false
This disables upgrade options from site the collection by removing the upgrade banner and the "Upgrade Site Collection" button from Site collection upgrade page of site settings. So now, the only option to upgrade is: using PowerShell cmdlet: Upgrade-SPSite