<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint 2013 Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/category/sharepoint/sharepoint-2013/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/category/sharepoint/sharepoint-2013/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Tue, 30 May 2023 14:54:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>How to install SharePoint Cumulative Updates In Less Than An Hour in a SharePoint Farm Step by Step</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 01 May 2019 23:20:43 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=9567</guid>

					<description><![CDATA[<p>This post will explain how you can speed up the installation of Cumulative Updates in a SharePoint farm step by step using PowerShell. Using PowerShell, you can greatly reduce the time it takes to update your SharePoint farm which can take several hours to complete if you use the traditional method of installing Cumulative Updates. [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/">How to install SharePoint Cumulative Updates In Less Than An Hour in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post will explain how you can speed up the installation of Cumulative Updates in a SharePoint farm step by step using PowerShell. Using PowerShell, you can greatly reduce the time it takes to update your SharePoint farm which can take several hours to complete if you use the traditional method of installing Cumulative Updates. The steps described in this post are valid for SharePoint 2013, SharePoint 2016 and SharePoint 2019.</p>



<p>This post assumes a single SharePoint server but if you have multiple SharePoint servers, you must follow these steps on all SharePoint servers in your farm.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2019 that has support for a hybrid scenario can be a valid solution to allow a gradual move to the cloud.  </p>



<p>Installing a SharePoint 2019 farm can be done in an automated way using PowerShell and <a href="https://autospinstaller.com/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">AutoSPInstaller.</a> One additional advantage of this installation process ensures that the SharePoint farm is installed with the latest updates, leaving the SharePoint farm updated and working properly (if you want to learn how to install a SharePoint 2019 farm in an automated way, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a><a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">)</a>.</p>



<p>To ensure that after the installation, the SharePoint server is kept always updated, we must ensure that both the Windows Updates and specially the SharePoint Cumulative Updates are properly installed.</p>



<h2 class="wp-block-heading">Installing SharePoint Updates</h2>



<p>To install the latest SharePoint Cumulative Updates in your farm, follow the following steps:</p>



<ul class="wp-block-list">
<li>Download the SharePoint Cumulative Updates </li>



<li>Backup SharePoint Farm and Configurations</li>



<li>Install the Cumulative Updates in the SharePoint Farm (using PowerShell)</li>



<li>Run SharePoint Products and Configuration Wizard</li>



<li>Post-Installation Steps</li>
</ul>



<h3 class="wp-block-heading">Download the SharePoint Cumulative Updates </h3>



<p>All starts by downloading the latest SharePoint Cumulative Updates. To do that, you must download:</p>



<ul class="wp-block-list">
<li>SharePoint 2016 and SharePoint 2019:
<ul class="wp-block-list">
<li>The latest language independent SharePoint updates</li>



<li>The latest language dependent SharePoint updates (even if you just have the English language pack installed in your farm)</li>
</ul>
</li>



<li>SharePoint 2013:
<ul class="wp-block-list">
<li>The latest SharePoint 2013 Server updates (if you have SharePoint 2013 Server installed)</li>



<li>The latest SharePoint Foundation 2013 updates (if you have only SharePoint Foundation 2013 installed). This update is not necessary if you have SharePoint 2013 Server since SharePoint Foundation 2013 is included in SharePoint 2013 Server</li>
</ul>
</li>
</ul>



<p>To stay up to date and download the latest updates, click <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2019-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2019, <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2016-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2016 and <a href="https://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=346" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2013.</p>



<h3 class="wp-block-heading">Backup SharePoint Farm and Configurations</h3>



<p>Before applying the updates, you should perform the following backups:</p>



<ul class="wp-block-list">
<li>Backup the SharePoint farm by running the following command:  <br><strong><em>Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod Full -Verbose</em></strong></li>
</ul>



<p>           The backup folder should be a shared folder on the network, accessible by both SharePoint and database servers.</p>



<p>           Ensure the SharePoint Server VSS Writer service is started on the SharePoint server (not started automatically).</p>



<p>           Ensure the SQL Server VSS Writer service is started on the database server.</p>



<p>           For more details about SharePoint farm backup, click <a href="https://docs.microsoft.com/en-us/SharePoint/administration/prepare-to-back-up-and-restore" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>, <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/administration/back-up-a-farm" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/administration/best-practices-for-backup-and-restore" target="_blank">here</a></p>



<ul class="wp-block-list">
<li>Backup all SharePoint databases in the database server that supports the SharePoint farm using SQL Server Enterprise tools</li>



<li>Backup the web.config files for all web applications</li>



<li>If you have custom developed solutions using server-side code, backup the solutions. To make this easier, you can download a <a rel="noreferrer noopener" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2019/Export-WSP.ps1" target="_blank">PowerShell script</a> from my GitHub repository  </li>
</ul>



<h3 class="wp-block-heading">Install the Cumulative Updates in the SharePoint Farm (using PowerShell) </h3>



<p>After downloading the latest updates and taking the necessary precautions, you are ready to install them in your SharePoint farm.</p>



<p>If you want to use the traditional method to update your farm, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank">here</a>. If you want to learn the PowerShell way and speed up the installation of the Cumulative Updates in your SharePoint farm, read on!</p>



<p>To download the SharePoint Patch PowerShell script, click <a href="https://www.powershellgallery.com/packages/SharePointPatchScript/1.0/Content/SharePointPatchScript.psm1" target="_blank" rel="noreferrer noopener">here</a>. This script, written by Trevor Seward, is an improved version of a <a aria-label=" (opens in a new tab)" href="https://blog.russmax.com/why-sharepoint-2013-cumulative-update-takes-5-hours-to-install/" target="_blank" rel="noreferrer noopener">PowerShell script</a> originally created by Russ Maxwell for SharePoint 2013.</p>



<p>The way this PowerShell script ensures that the SharePoint patch process time is reduced from 4 to 5 hours to less than one hour is by doing the following:</p>



<ul class="wp-block-list">
<li>If you choose to (use the -Pause switch parameter), suspends the Search Service Application. This is very important since if a search crawl was triggered during the installation of the Cumulative Update, the Search Application could get corrupted and you could be forced to rebuild the entire Search Service Application, recreate any custom managed properties and perform a Full Crawl again to ensure you have search results and all search based solutions work properly</li>



<li>For SharePoint 2013 (not necessary for SharePoint 2016 and SharePoint 2019), the following services will be disabled and then stopped:
<ul class="wp-block-list">
<li>Search services are disabled</li>



<li>Search services are stopped</li>



<li>IISAdmin and SPTimerV4 services are disabled</li>



<li>IISAdmin and SPTimerV4 services are stopped</li>
</ul>
</li>



<li>If you choose to, the Cumulative Updates are installed in passive mode (without any necessary user interaction) but you can still see the installation process in the UI</li>



<li>When the installation of the Cumulative Updates is complete:
<ul class="wp-block-list">
<li>For SharePoint 2013 (not necessary for SharePoint 2016 and SharePoint 2019), the following services will be set to automatic:
<ul class="wp-block-list">
<li> Search services</li>



<li> IISAdmin and SPTimerV4 services</li>
</ul>
</li>



<li> If you choose to use the -Pause switch parameter, the Search Service Application will be resumed</li>
</ul>
</li>
</ul>



<p>To start the installation process, open the SharePoint PowerShell window (run as administrator) and execute the following commands:</p>



<ul class="wp-block-list">
<li>Import-Module .\SharePointPatchScript.psm1</li>



<li>Install-SPPatch -Path  -Pause
<ul class="wp-block-list">
<li>Example: Install-SPPatch -Path D:\SharePoint\Updates -Pause</li>
</ul>
</li>
</ul>



<p>For SharePoint 2016 and 2019, a monthly Cumulative Update typically contains both the language independent (&#8220;sts&#8221; file) and the language dependent (&#8220;wssloc&#8221; file) packages. Sometimes, a Cumulative Update only includes the language independent package. If that is the case, and you already have the latest language dependent package installed, you can run the PowerShell command with the -OnlySTS switch parameter:</p>



<ul class="wp-block-list">
<li>Import-Module .\SharePointPatchScript.psm1</li>



<li>Install-SPPatch <strong>-OnlySTS</strong> -Path  -Pause
<ul class="wp-block-list">
<li>Example: Install-SPPatch <strong>-OnlySTS</strong> -Path D:\SharePoint\Updates -Pause</li>
</ul>
</li>
</ul>



<p>This will start the SharePoint farm update process (examples for SharePoint 2013 and SharePoint 2019).</p>



<p>For SharePoint 2013, SharePoint Server or SharePoint Foundation packages will be detected automatically and installed. The example below is for SharePoint 2013 Server.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img fetchpriority="high" decoding="async" width="680" height="544" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2013_ApplyUpdateSP.png" alt="" class="wp-image-9824" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2013_ApplyUpdateSP.png 680w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2013_ApplyUpdateSP-300x240.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2013_ApplyUpdateSP-525x420.png 525w" sizes="(max-width: 680px) 100vw, 680px" /></figure>
</div>


<p>For SharePoint 2016 and SharePoint 2019, both language independent and language dependent packages will be detected automatically and installed.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="979" height="513" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_ApplyUpdate.png" alt="" class="wp-image-9606" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate.png 979w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-300x157.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-768x402.png 768w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-696x365.png 696w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-802x420.png 802w" sizes="(max-width: 979px) 100vw, 979px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="478" height="163" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png" alt="" class="wp-image-9412" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png 478w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress-300x102.png 300w" sizes="(max-width: 478px) 100vw, 478px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 farm update using PowerShell</em><br></figcaption></figure>
</div>


<p>Instead of taking hours to perform, the updates should be installed in less than one hour.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="976" height="513" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish.png" alt="" class="wp-image-9613" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish.png 976w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-300x158.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-768x404.png 768w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-696x366.png 696w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-799x420.png 799w" sizes="(max-width: 976px) 100vw, 976px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 farm update using PowerShell</em> (installation complete)</figcaption></figure>
</div>


<p>A reboot to the server may be necessary.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="407" height="137" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png" alt="" class="wp-image-9414" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png 407w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot-300x101.png 300w" sizes="(max-width: 407px) 100vw, 407px" /><figcaption class="wp-element-caption">Reboot to the server after Installation of the Cumulative Updates</figcaption></figure>
</div>


<h3 class="wp-block-heading">Run SharePoint Products and Configuration Wizard</h3>



<p>To finish the farm update process, you must ensure that after the updates are properly installed, you execute the SharePoint Products and Configuration Wizard that will ensure the following:</p>



<ul class="wp-block-list">
<li>The database schema for all SharePoint databases is updated to the latest version</li>



<li>Copies the required binaries from the install location into the _app_bin directories of all web applications<br></li>



<li>Fixes security settings on the file system to match SharePoint&#8217;s needs</li>



<li>Updates features registrations with SharePoint</li>
</ul>



<p>To start, run the SharePoint Products and Configuration Wizard and select Yes when prompted to reset IIS, SharePoint Administration and SharePoint Timer services.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="615" height="531" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png" alt="" class="wp-image-9429" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png 615w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-486x420.png 486w" sizes="(max-width: 615px) 100vw, 615px" /><figcaption class="wp-element-caption"> SharePoint Products and Configuration Wizard </figcaption></figure>
</div>


<p>Depending on your environment, the process will take some minutes to execute the 10 steps of the process.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="619" height="534" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png" alt="" class="wp-image-9432" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png 619w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-487x420.png 487w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption class="wp-element-caption"><em>SharePoint Products and Configuration Wizard </em> (Running)</figcaption></figure>
</div>


<p>After a few minutes, the SharePoint Products Configuration Wizard will finish executing, hopefully with success.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png" alt="" class="wp-image-9435" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png 609w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /><figcaption class="wp-element-caption"> <em>SharePoint Products and Configuration Wizard  (Finished Successfully)</em></figcaption></figure>
</div>


<p>After clicking on Finish, the Central Administration will automatically be launched.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="1188" height="779" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png?fit=696%2C456&amp;ssl=1" alt="" class="wp-image-9439" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png 1188w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-300x197.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-768x504.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1024x671.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-696x456.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-741x486.png 741w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1068x700.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-641x420.png 641w" sizes="(max-width: 1188px) 100vw, 1188px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em></figcaption></figure>
</div>


<h3 class="wp-block-heading">Post-Installation Steps</h3>



<p>To ensure that the farm was successfully updated, it is important to check that the Databases Upgrade Status page.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="1230" height="566" src="https://i2.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png?fit=696%2C320&amp;ssl=1" alt="" class="wp-image-9449" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png 1230w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-300x138.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-768x353.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1024x471.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-696x320.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1068x491.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-913x420.png 913w" sizes="(max-width: 1230px) 100vw, 1230px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em> (Databases Upgrade Status &#8211; databases needing upgrade)d</figcaption></figure>
</div>


<p>If the page shows any database still needing upgrade (showing the &#8220;Database is in compatibility range and upgrade is recommended&#8221; status), some additional steps must be followed.</p>



<p>These steps must also be followed if you encounter the error below while running SharePoint Products and Configuration Wizard, saying that there is a mismatch between SharePoint installed version (after updating the farm) and the database schema version.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="613" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1.png" alt="" class="wp-image-9778" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1.png 613w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1-300x258.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1-489x420.png 489w" sizes="(max-width: 613px) 100vw, 613px" /></figure>
</div>


<p>To ensure all databases are properly upgraded, follow the following steps:</p>



<ul class="wp-block-list">
<li>Upgrade the content databases by executing the following PowerShell command (executed with “run as administrator”):</li>
</ul>



<p><strong>           Get-SPContentDatabase | Upgrade-SPContentDatabase</strong></p>



<ul class="wp-block-list">
<li>Upgrade the remaining content databases, executing the following command (in command prompt with &#8220;run as administrator&#8221;):</li>
</ul>



<p><strong>           Psconfig.exe -cmd upgrade -inplace b2b -wait -force</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="680" height="629" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1.png" alt="" class="wp-image-9790" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1.png 680w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1-300x278.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1-454x420.png 454w" sizes="(max-width: 680px) 100vw, 680px" /></figure>
</div>


<ul class="wp-block-list">
<li>Run the SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) again. After running SharePoint Products and Configuration Wizard again, it should run without errors.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1.png" alt="" class="wp-image-9780" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1.png 609w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /></figure>
</div>


<p>To confirm the databases upgrade was successful, go back to the Databases Upgrade Status page. After the previous steps, all SharePoint databases were successfully upgraded.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="974" height="566" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png" alt="" class="wp-image-9461" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png 974w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-300x174.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-768x446.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-696x404.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-723x420.png 723w" sizes="(max-width: 974px) 100vw, 974px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Databases Upgrade Status &#8211; Databases Upgraded)</em></figcaption></figure>
</div>


<p>To ensure the upgrade process was successfully finished, go to the Patch Status page and the Upgrade Status page. </p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="872" height="681" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png" alt="" class="wp-image-9464" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png 872w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-300x234.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-768x600.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-696x544.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-538x420.png 538w" sizes="(max-width: 872px) 100vw, 872px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Patch Status)</em> </figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="824" height="228" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png" alt="" class="wp-image-9468" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png 824w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-300x83.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-768x213.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-696x193.png 696w" sizes="(max-width: 824px) 100vw, 824px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Upgrade Status) </em></figcaption></figure>
</div>


<h4 class="wp-block-heading">Important Notes</h4>



<p>Some important notes on using SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and PSCONFIG.EXE (command line version):</p>



<ul class="wp-block-list">
<li>You should not run PSCONFIG.EXE as a replacement of SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE)
<ul class="wp-block-list">
<li>PSCONFIGUI.EXE is the UI based configuration wizard which performs several tasks one after the other after installing fixes. It is the preferred option to ensure that the SharePoint farm update is completed after installing updates in your SharePoint farm</li>



<li>PSCONFIG.EXE is the command line tool which gives users granular control over all tasks that are executed and which is therefore often quicker than PSCONFIGUI.EXE but if misused will not make all the necessary tasks required after installing updates in your SharePoint farm</li>



<li>If you want to run PSCONFIG.EXE, ensure you run it with the correct parameters: &#8220;PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install&#8221;
<ul class="wp-block-list">
<li>Above, I used &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221; since I already had used  <br>SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and the only thing I wanted to ensure was that SharePoint databases schema were upgraded</li>
</ul>
</li>
</ul>
</li>



<li>PSCONFIGUI.EXE should always be executed even when installing SharePoint security updates</li>
</ul>



<p>For more details, check Stefan Goßner&#8217;s articles <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/09/09/why-we-recommend-require-to-run-the-configuration-wizard-also-for-security-fixes/" target="_blank">here</a>.</p>



<h3 class="wp-block-heading">Troubleshooting</h3>



<p>During an update there are a few errors that can occur while the patch is being validated against your SharePoint environment before is starts being installed. The most common errors are the following:</p>



<ul class="wp-block-list">
<li>&#8220;The expected version of the product was not found on the system&#8221; &#8211; <a rel="noreferrer noopener" aria-label="This article (opens in a new tab)" href="https://blog.stefan-gossner.com/2013/11/20/common-error-message-the-expected-version-of-the-product-was-not-found-on-the-system/" target="_blank">this article</a> by Stefan Goßner explains the error in detail and what can cause it. Basically, SharePoint is typically composed of the following components:
<ul class="wp-block-list">
<li>SharePoint Server or SharePoint Foundation*</li>



<li>SharePoint Server or SharePoint Foundation English Language Pack*</li>



<li>Any additional SharePoint Server or SharePoint Foundation Language Packs*<br><br> * &#8211; SharePoint Foundation existed from SharePoint 2007 to SharePoint 2013 and in SharePoint 2016 and 2019, only SharePoint Server is available<br><br>To solve this error, you must ensure that all components have the same patch level. If any of the installed components has a lower patch level or doesn&#8217;t meet the Cumulative Update Prerequisites, the error above will be shown and you won&#8217;t be able to install the Cumulative Update in your SharePoint farm.<br><br>Example: Install the May 2019 Cumulative Update in a SharePoint 2013 farm that has Service Pack 1 (15.0.4571.1502 patch level). The installed components have the following patch levels:
<ul class="wp-block-list">
<li>SharePoint Server 2013 &#8211; 15.0.4571.1502 (Service Pack 1)</li>



<li>SharePoint Server 2013 English Language Pack &#8211; 15.0.4571.1502 (Service Pack 1) </li>



<li>SharePoint Server 2013 Portuguese Language Pack &#8211; 15.0.4420.1017 (RTM)<br><br>The &#8220;The expected version of the product was not found on the system&#8221; error will be shown since of one of the components (the Portuguese Language Pack) has a lower patch level. To solve this, you must install the  SharePoint Server 2013 Portuguese Language Pack Service Pack 1 (you can get the download link <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://thesharepointfarm.com/2015/04/list-of-good-sharepoint-2013-service-pack-1-packages/" target="_blank">here</a>)<br><br>To help you to identify the problem, you can use <a rel="noreferrer noopener" aria-label="Roiscan&nbsp; (opens in a new tab)" href="http://technet.microsoft.com/en-us/library/hh221405(v=office.14).aspx#BKMK_DownloadScript" target="_blank">Roiscan&nbsp;</a>which generates a detailed report of all installed Office components, including SharePoint, and verify the patch level of each components.<br><br>You can also take a look at <a rel="noreferrer noopener" aria-label="this article (opens in a new tab)" href="https://blog.stefan-gossner.com/2016/08/09/sharepoint-patching-and-get-spproduct-local/" target="_blank">this article</a> that can help you ensure that the information about all installed patches is correctly updated in the SharePoint configuration database.<br> </li>
</ul>
</li>
</ul>
</li>



<li>&#8220;No product installed for contained patch&#8221; &#8211; this can occur if you are installing a Cumulative Update for the wrong version of SharePoint. The most common case is when you are trying to install the SharePoint Foundation 2013 Cumulative Update in a SharePoint Server 2013 farm. In this case, you only need to install the SharePoint 2013 Server Cumulative Update</li>
</ul>



<p>Other errors can occur while trying to run SharePoint Products and Configuration Wizard after installing the patch:</p>



<ul class="wp-block-list">
<li>&#8220;Feature is referenced in database but isn’t installed on the current farm&#8221; &#8211; this is more common in an farm upgrade scenario (ex: upgrade from SharePoint 2013 to SharePoint 2019) but can also occur while installing a SharePoint Service Pack or Cumulative Update. To learn more details about this error and how to solve it, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/" target="_blank">here</a>.</li>



<li>&#8220;An update conflict has occurred, and you must re-try this action.&#8221; when you run the following command &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221;. If you take a look at the ULS Logs, you may find messages like &#8220;PSCONFIG.EXE (0x1A8C) UpdatedConcurrencyException: The object SPUpgradeSession Name=Upgrade-20190531-122515-42 was updated by another user. Determine if these changes will conflict, resolve any differences, and reapply the second change. This error may also indicate a programming error caused by obtaining two copies of the same object in a single thread.&#8221;. To solve this problem, execute the following command:<br><br><strong>PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources</strong><br><br><strong>NOTE: </strong>After solving these issues, to finish the process, run SharePoint Products and Configuration Wizard again.</li>
</ul>



<h2 class="wp-block-heading" id="mce_24">Related Articles</h2>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>.</p>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you prefer to use the traditional method to update your farm and want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" aria-label="here  (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice. SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing! </p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/">How to install SharePoint Cumulative Updates In Less Than An Hour in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/feed/</wfw:commentRss>
			<slash:comments>19</slash:comments>
		
		
			</item>
		<item>
		<title>How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sun, 07 Apr 2019 23:10:59 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=9267</guid>

					<description><![CDATA[<p>This post will explain how you can install Cumulative Updates in your SharePoint farm step by step. The steps described in this post are valid for SharePoint 2010, SharePoint 2013, SharePoint 2016 and SharePoint 2019. This post assumes a single SharePoint server but if you have multiple SharePoint servers, you must follow these steps on [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/">How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post will explain how you can install Cumulative Updates in your SharePoint farm step by step. The steps described in this post are valid for SharePoint 2010, SharePoint 2013, SharePoint 2016 and SharePoint 2019.</p>



<p>This post assumes a single SharePoint server but if you have multiple SharePoint servers, you must follow these steps on all SharePoint servers in your farm.</p>



<p><strong>UPDATE 02/05/2019:</strong></p>



<p>The farm update process can take several hours. If you want to learn how to update your SharePoint farm in less than an hour, using PowerShell click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2019 that has support for a hybrid scenario can be a valid solution to allow a gradual move to the cloud.  </p>



<p>Installing a SharePoint 2019 farm can be done in an automated way using PowerShell and <a href="https://autospinstaller.com/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">AutoSPInstaller.</a> One additional advantage of this installation process ensures that the SharePoint farm is installed with the latest updates, leaving the SharePoint farm updated and working properly (if you want to learn how to install a SharePoint 2019 farm in an automated way, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a><a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">)</a>.</p>



<p>To ensure that after the installation, the SharePoint server is kept always updated, we must ensure that both the Windows Updates and specially the SharePoint Cumulative Updates are properly installed.</p>



<h2 class="wp-block-heading">Installing SharePoint Updates</h2>



<p>To install the latest SharePoint Cumulative Updates in your farm, follow the following steps:</p>



<ul class="wp-block-list">
<li>Download the SharePoint Cumulative Updates </li>



<li>Backup SharePoint Farm and Configurations</li>



<li>Pre-Installation Steps</li>



<li>Install the Cumulative Updates in the SharePoint Farm</li>



<li>Run SharePoint Products and Configuration Wizard</li>



<li>Post-Installation Steps</li>
</ul>



<h3 class="wp-block-heading">Download the SharePoint Cumulative Updates </h3>



<p>All starts by downloading the latest SharePoint Cumulative Updates. To do that, you must download:</p>



<ul class="wp-block-list">
<li>SharePoint 2016 and SharePoint 2019:
<ul class="wp-block-list">
<li>The latest language independent SharePoint updates</li>



<li>The latest language dependent SharePoint updates (even if you just have the English language pack installed in your farm)</li>
</ul>
</li>



<li>SharePoint 2013:
<ul class="wp-block-list">
<li>The latest SharePoint 2013 Server updates (if you have SharePoint 2013 Server installed)</li>



<li>The latest SharePoint Foundation 2013 updates (if you have only SharePoint Foundation 2013 installed). This update is not necessary if you have SharePoint 2013 Server since SharePoint Foundation 2013 is included in SharePoint 2013 Server</li>
</ul>
</li>
</ul>



<p>To stay up to date and download the latest updates, click <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2019-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2019, <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2016-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2016 and <a href="https://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=346" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2013.</p>



<h3 class="wp-block-heading">Backup SharePoint Farm and Configurations</h3>



<p>Before applying the updates, you should perform the following backups:</p>



<ul class="wp-block-list">
<li>Backup the SharePoint farm by running the following command:  <br><strong><em>Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod Full -Verbose</em></strong></li>
</ul>



<p>           The backup folder should be a shared folder on the network, accessible by both SharePoint and database servers.</p>



<p>           Ensure the SharePoint Server VSS Writer service is started on the SharePoint server (not started automatically).</p>



<p>           Ensure the SQL Server VSS Writer service is started on the database server.</p>



<p>           For more details about SharePoint farm backup, click <a href="https://docs.microsoft.com/en-us/SharePoint/administration/prepare-to-back-up-and-restore" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>, <a rel="noreferrer noopener" aria-label="here  (opens in a new tab)" href="https://docs.microsoft.com/en-us/sharepoint/administration/back-up-a-farm" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://docs.microsoft.com/en-us/sharepoint/administration/best-practices-for-backup-and-restore" target="_blank">here</a></p>



<ul class="wp-block-list">
<li>Backup all SharePoint databases in the database server that supports the SharePoint farm using SQL Server Enterprise tools</li>



<li>Backup the web.config files for all web applications</li>



<li>If you have custom developed solutions using server-side code, backup the solutions. To make this easier, you can download a <a rel="noreferrer noopener" aria-label="PowerShell script (opens in a new tab)" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2019/Export-WSP.ps1" target="_blank">PowerShell script</a> from my GitHub repository  </li>
</ul>



<h3 class="wp-block-heading">Pre-Installation Steps</h3>



<p>To ensure that no crawls are started or running during the Cumulative Update installation, it is very import to suspend the Search Service. If a search crawl was triggered during the installation, the Search Application could get corrupted and you could be forced to rebuild the entire Search Service Application, recreate any custom managed properties and perform a Full Crawl again to ensure you have search results and all search based solutions work properly.</p>



<p>To avoid these problems and ensure there are no search crawls running during the installation, execute the following PowerShell command:</p>



<p><strong><em>Suspend-SPEnterpriseSearchServiceApplication –Identity “&lt;Search Service Application Name&gt;”</em></strong></p>



<h3 class="wp-block-heading">Install the Cumulative Updates in the SharePoint Farm</h3>



<p>After downloading the latest updates and taking the necessary precautions, you are ready to install them in your SharePoint farm. </p>



<p>First, install the language independent update:</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="492" height="68" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update.png" alt="" class="wp-image-9388" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update.png 492w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update-300x41.png 300w" sizes="(max-width: 492px) 100vw, 492px" /><figcaption class="wp-element-caption">Installing the latest language independent update </figcaption></figure>
</div>


<p>The update will take a few minutes, depending on your server capabilities.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="478" height="163" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png" alt="" class="wp-image-9412" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png 478w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress-300x102.png 300w" sizes="(max-width: 478px) 100vw, 478px" /><figcaption class="wp-element-caption"><em>Installing the latest language independent update</em> (In Progress)</figcaption></figure>
</div>


<p>After a few minutes, the update finishes the installation and a reboot to the server is necessary.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="407" height="137" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png" alt="" class="wp-image-9414" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png 407w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot-300x101.png 300w" sizes="(max-width: 407px) 100vw, 407px" /><figcaption class="wp-element-caption"> <em>Installing the latest language independent update (Finished</em>) </figcaption></figure>
</div>


<p>If you have a language dependent update, install it after installing the language independent update:</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="497" height="68" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack.png" alt="" class="wp-image-9390" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack.png 497w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack-300x41.png 300w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption class="wp-element-caption"> <em>Installing the latest language dependent update </em> </figcaption></figure>
</div>


<p>The update will take a few minutes, depending on your server capabilities. In my case, I installed the Portuguese (Portugal) Language Pack Cumulative Update.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="503" height="172" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Progress.png" alt="" class="wp-image-9420" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Progress.png 503w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Progress-300x103.png 300w" sizes="(max-width: 503px) 100vw, 503px" /><figcaption class="wp-element-caption"> <br><em>Installing the latest language dependent update (In Progress)</em> </figcaption></figure>
</div>


<p>After a few minutes, the update finishes the installation.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="467" height="148" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Finished.png" alt="" class="wp-image-9423" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Finished.png 467w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Finished-300x95.png 300w" sizes="(max-width: 467px) 100vw, 467px" /><figcaption class="wp-element-caption"> <em>Installing the latest language dependent update (Finished) </em> </figcaption></figure>
</div>


<h3 class="wp-block-heading">Run SharePoint Products and Configuration Wizard</h3>



<p>To finish the farm update process, you must ensure that after the updates are properly installed, you execute the SharePoint Products and Configuration Wizard that will ensure the following:</p>



<ul class="wp-block-list">
<li>The database schema for all SharePoint databases is updated to the latest version</li>



<li>Copies the required binaries from the install location into the _app_bin directories of all web applications<br></li>



<li>Fixes security settings on the file system to match SharePoint&#8217;s needs</li>



<li>Updates features registrations with SharePoint</li>
</ul>



<p>To start, run the SharePoint Products and Configuration Wizard and select Yes when prompted to reset IIS, SharePoint Administration and SharePoint Timer services.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="615" height="531" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png" alt="" class="wp-image-9429" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png 615w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-486x420.png 486w" sizes="(max-width: 615px) 100vw, 615px" /><figcaption class="wp-element-caption"> SharePoint Products and Configuration Wizard </figcaption></figure>
</div>


<p>Depending on your environment, the process will take some minutes to execute the 10 steps of the process.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="619" height="534" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png" alt="" class="wp-image-9432" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png 619w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-487x420.png 487w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption class="wp-element-caption"><em>SharePoint Products and Configuration Wizard </em> (Running)</figcaption></figure>
</div>


<p>After a few minutes, the SharePoint Products Configuration Wizard will finish executing, hopefully with success.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png" alt="" class="wp-image-9435" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png 609w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /><figcaption class="wp-element-caption"> <em>SharePoint Products and Configuration Wizard  (Finished Successfully)</em></figcaption></figure>
</div>


<p>After clicking on Finish, the Central Administration will automatically be launched.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="1188" height="779" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png?fit=696%2C456&amp;ssl=1" alt="" class="wp-image-9439" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png 1188w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-300x197.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-768x504.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1024x671.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-696x456.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-741x486.png 741w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1068x700.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-641x420.png 641w" sizes="(max-width: 1188px) 100vw, 1188px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em></figcaption></figure>
</div>


<h3 class="wp-block-heading" id="mce_17">Post-Installation Steps</h3>



<p>To ensure that the farm was successfully updated, it is important to check that the Databases Upgrade Status page.</p>



<figure class="wp-block-image"><img decoding="async" width="1230" height="566" src="https://i2.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png?fit=696%2C320&amp;ssl=1" alt="" class="wp-image-9449" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png 1230w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-300x138.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-768x353.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1024x471.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-696x320.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1068x491.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-913x420.png 913w" sizes="(max-width: 1230px) 100vw, 1230px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em> (Databases Upgrade Status &#8211; databases needing upgrade)d</figcaption></figure>



<p>If the page shows any database still needing upgrade (showing the &#8220;Database is in compatibility range and upgrade is recommended&#8221; status), some additional steps must be followed.</p>



<p>These steps must also be followed if you encounter the error below while running SharePoint Products and Configuration Wizard, saying that there is a mismatch between SharePoint installed version (after updating the farm) and the database schema version.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="613" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2.png" alt="" class="wp-image-9782" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2.png 613w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2-300x258.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2-489x420.png 489w" sizes="(max-width: 613px) 100vw, 613px" /></figure>
</div>


<p>To ensure all databases are properly upgraded, follow the following steps:</p>



<ul class="wp-block-list">
<li>Upgrade the content databases by executing the following PowerShell command (executed with “run as administrator”):</li>
</ul>



<p><strong>           Get-SPContentDatabase | Upgrade-SPContentDatabase</strong></p>



<ul class="wp-block-list">
<li>Upgrade the remaining content databases, executing the following command (in command prompt with &#8220;run as administrator&#8221;):</li>
</ul>



<p><strong>           Psconfig.exe -cmd upgrade -inplace b2b -wait -force</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="680" height="629" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt.png" alt="" class="wp-image-9788" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt.png 680w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-300x278.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-454x420.png 454w" sizes="(max-width: 680px) 100vw, 680px" /></figure>
</div>


<ul class="wp-block-list">
<li>Run the SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) again. After running SharePoint Products and Configuration Wizard again, it should run without errors.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2.png" alt="" class="wp-image-9784" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2.png 609w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /></figure>
</div>


<p>To confirm the databases upgrade was successful, go back to the Databases Upgrade Status page. After the previous steps, all SharePoint databases were successfully upgraded.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="974" height="566" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png" alt="" class="wp-image-9461" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png 974w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-300x174.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-768x446.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-696x404.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-723x420.png 723w" sizes="(max-width: 974px) 100vw, 974px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Databases Upgrade Status &#8211; Databases Upgraded)</em></figcaption></figure>
</div>


<p>To ensure the upgrade process was successfully finished, go to the Patch Status page and the Upgrade Status page. </p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="872" height="681" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png" alt="" class="wp-image-9464" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png 872w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-300x234.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-768x600.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-696x544.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-538x420.png 538w" sizes="(max-width: 872px) 100vw, 872px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Patch Status)</em> </figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="824" height="228" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png" alt="" class="wp-image-9468" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png 824w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-300x83.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-768x213.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-696x193.png 696w" sizes="(max-width: 824px) 100vw, 824px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Upgrade Status) </em> </figcaption></figure>
</div>


<p>Finally, after the farm is updated, you can resume the Search Service Application, running the following PowerShell command:</p>



<p><strong><em>Resume-SPEnterpriseSearchServiceApplication –Identity “&lt;Search Service Application Name&gt;”</em></strong></p>



<h4 class="wp-block-heading">Important Notes</h4>



<p>Some important notes on using SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and PSCONFIG.EXE (command line version):</p>



<ul class="wp-block-list">
<li>You should not run PSCONFIG.EXE as a replacement of SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE)
<ul class="wp-block-list">
<li>PSCONFIGUI.EXE is the UI based configuration wizard which performs several tasks one after the other after installing fixes. It is the preferred option to ensure that the SharePoint farm update is completed after installing updates in your SharePoint farm</li>



<li>PSCONFIG.EXE is the command line tool which gives users granular control over all tasks that are executed and which is therefore often quicker than PSCONFIGUI.EXE but if misused will not make all the necessary tasks required after installing updates in your SharePoint farm</li>



<li>If you want to run PSCONFIG.EXE, ensure you run it with the correct parameters: &#8220;PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install&#8221;
<ul class="wp-block-list">
<li>Above, I used &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221; since I already had used  <br>SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and the only thing I wanted to ensure was that SharePoint databases schema were upgraded</li>
</ul>
</li>
</ul>
</li>



<li>PSCONFIGUI.EXE should always be executed even when installing SharePoint security updates</li>
</ul>



<p>For more details, check Stefan Goßner&#8217;s articles <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/09/09/why-we-recommend-require-to-run-the-configuration-wizard-also-for-security-fixes/" target="_blank">here</a>.</p>



<h3 class="wp-block-heading">Troubleshooting</h3>



<p>During an update there are a few errors that can occur while the patch is being validated against your SharePoint environment before is starts being installed. The most common errors are the following:</p>



<ul class="wp-block-list">
<li>&#8220;The expected version of the product was not found on the system&#8221; &#8211; <a rel="noreferrer noopener" href="https://blog.stefan-gossner.com/2013/11/20/common-error-message-the-expected-version-of-the-product-was-not-found-on-the-system/" target="_blank">this article</a> by Stefan Goßner explains the error in detail and what can cause it. Basically, SharePoint is typically composed of the following components:
<ul class="wp-block-list">
<li>SharePoint Server or SharePoint Foundation*</li>



<li>SharePoint Server or SharePoint Foundation English Language Pack*</li>



<li>Any additional SharePoint Server or SharePoint Foundation Language Packs*<br><br> * &#8211; SharePoint Foundation existed from SharePoint 2007 to SharePoint 2013 and in SharePoint 2016 and 2019, only SharePoint Server is available<br><br>To solve this error, you must ensure that all components have the same patch level. If any of the installed components has a lower patch level or doesn&#8217;t meet the Cumulative Update Prerequisites, the error above will be shown and you won&#8217;t be able to install the Cumulative Update in your SharePoint farm.<br><br>Example: Install the May 2019 Cumulative Update in a SharePoint 2013 farm that has Service Pack 1 (15.0.4571.1502 patch level). The installed components have the following patch levels:SharePoint Server 2013 &#8211; 15.0.4571.1502 (Service Pack 1)<br>SharePoint Server 2013 English Language Pack &#8211; 15.0.4571.1502 (Service Pack 1) <br>SharePoint Server 2013 Portuguese Language Pack &#8211; 15.0.4420.1017 (RTM)<br><br>The &#8220;The expected version of the product was not found on the system&#8221; error will be shown since of one of the components (the Portuguese Language Pack) has a lower patch level. To solve this, you must install the  SharePoint Server 2013 Portuguese Language Pack Service Pack 1 (you can get the download link <a rel="noreferrer noopener" href="https://thesharepointfarm.com/2015/04/list-of-good-sharepoint-2013-service-pack-1-packages/" target="_blank">here</a>)<br><br>To help you to identify the problem, you can use <a rel="noreferrer noopener" href="http://technet.microsoft.com/en-us/library/hh221405(v=office.14).aspx#BKMK_DownloadScript" target="_blank">Roiscan&nbsp;</a>which generates a detailed report of all installed Office components, including SharePoint, and verify the patch level of each components.<br><br>You can also take a look at <a rel="noreferrer noopener" href="https://blog.stefan-gossner.com/2016/08/09/sharepoint-patching-and-get-spproduct-local/" target="_blank">this article</a> that can help you ensure that the information about all installed patches is correctly updated in the SharePoint configuration database. </li>
</ul>
</li>



<li>&#8220;No product installed for contained patch&#8221; &#8211; this can occur if you are installing a Cumulative Update for the wrong version of SharePoint. The most common case is when you are trying to install the SharePoint Foundation 2013 Cumulative Update in a SharePoint Server 2013 farm. In this case, you only need to install the SharePoint 2013 Server Cumulative Update </li>
</ul>



<p>Other errors can occur while trying to run SharePoint Products and Configuration Wizard after installing the patch:</p>



<ul class="wp-block-list">
<li>&#8220;Feature is referenced in database but isn’t installed on the current farm&#8221; &#8211; this is more common in an farm upgrade scenario (ex: upgrade from SharePoint 2013 to SharePoint 2019) but can also occur while installing a SharePoint Service Pack or Cumulative Update. To learn more details about this error and how to solve it, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/" target="_blank">here</a>.</li>



<li>&#8220;An update conflict has occurred, and you must re-try this action.&#8221; when you run the following command &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221;. If you take a look at the ULS Logs, you may find messages like &#8220;PSCONFIG.EXE (0x1A8C) UpdatedConcurrencyException: The object SPUpgradeSession Name=Upgrade-20190531-122515-42 was updated by another user. Determine if these changes will conflict, resolve any differences, and reapply the second change. This error may also indicate a programming error caused by obtaining two copies of the same object in a single thread.&#8221;. To solve this problem, execute the following command:<br><br><strong>PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources</strong><br><br><strong>NOTE: </strong>After solving these issues, to finish the process, run SharePoint Products and Configuration Wizard again.</li>
</ul>



<h2 class="wp-block-heading" id="mce_24">Related Articles</h2>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>.</p>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>.</p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p> If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>. </p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice. SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing! </p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/">How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>How to upgrade from SharePoint 2013 to SharePoint 2019 Step by Step (Part 2)</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 06 Mar 2019 00:12:15 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=9039</guid>

					<description><![CDATA[<p>This post is the second part of a two part step by step tutorial on how to migrate a SharePoint 2013 farm to SharePoint 2019. To read the first part, click here. Introduction The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/">How to upgrade from SharePoint 2013 to SharePoint 2019 Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post is the second part of a two part step by step tutorial on how to migrate a SharePoint 2013 farm to SharePoint 2019.</p>



<p>To read the first part, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2019 that has support for a hybrid scenario can be a valid solution to allow a gradual move to the cloud. </p>



<p>This post is based on upgrading a SharePoint 2013 farm to SharePoint 2019 using the database attach approach but should also be valid if you want to upgrade to SharePoint 2019. This post assumes that the we will only migrate the content database(s) from the source SharePoint 2013 to SharePoint 2019 and all other SharePoint databases are created in the target SharePoint 2019 farm during its installation process.</p>



<p>If you want to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>There is another valid migration approach to migrate from SharePoint 2013 to SharePoint 2019 by using a content migration. In this approach, the upgrade is not based in a database upgrade process but on content migration and typically a 3rd party solution is necessary to do the content migration. A few 3rd party solutions that can do the job are <a rel="noreferrer noopener" href="https://sharegate.com/products/sharegate-desktop" target="_blank">ShareGate</a>, <a rel="noreferrer noopener" href="https://www.avepoint.com/products/hybrid/office-365-migration/" target="_blank">AvePoint</a> and <a rel="noreferrer noopener" href="https://www.quest.com/metalogix/" target="_blank">Metalogix</a>. </p>



<p>Upgrading a SharePoint farm using the database attach approach can be a complex task and the upgrade process is composed by a series of steps:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2013 to SharePoint 2019  <br>(details about the migration of custom solutions are outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2016 farm</li><li>Upgrade to the target SharePoint 2019 farm</li></ul>



<p><strong>IMPORTANT NOTE:&nbsp;</strong>In a typical upgrade process, the below steps should be performed twice if there are custom developed solutions:</p>



<ul class="wp-block-list"><li>The first time, to test the migration process and allow custom developed solutions to be properly migrated and tested by the end users</li><li>The second time, to perform the final migration, after all custom developed solutions are migrated and tested by the end users</li></ul>



<p>This post will cover: </p>



<ul class="wp-block-list"><li>Upgrade to the target SharePoint 2019 farm</li></ul>



<h2 class="wp-block-heading">Upgrade to the target SharePoint 2019 farm</h2>



<p><strong>IMPORTANT NOTE: </strong>Migrating from SharePoint 2013 directly to SharePoint 2019 is not supported. To migrate from SharePoint 2013 to SharePoint 2019 we must first migrate to a temporary SharePoint 2016 farm and then migrate to SharePoint 2019.</p>



<p>The migration is performed using the database attach upgrade method (the only supported method to upgrade from SharePoint 2013 to SharePoint 2019 using a database upgrade approach).</p>



<p>In the upgrade process, for both the temporary SharePoint 2016 and the target SharePoint 2019 farms, you should create an empty web application so that a valid SharePoint content database is created. To learn more on how to install a SharePoint 2019 farm, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<p>After having all custom developed solutions migrated to SharePoint 2019 (if there are any), you should follow the following steps:</p>



<ul class="wp-block-list"><li><strong>SharePoint 2016: </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application and then the option &#8220;Remove content database&#8221;. This will make the web application unattached from any web application in the temporary SharePoint 2016 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1024" height="552" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1024x552.png" alt="" class="wp-image-8829" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1024x552.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-300x162.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-768x414.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-696x375.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1068x576.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-779x420.png 779w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB.png 1411w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Remove Content Database from SharePoint 2016 farm</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server </strong>(<strong>final migration only</strong>)<strong>:</strong> Place the database in read-write mode so that users will be able to change content in the target SharePoint 2019 farm. This can be achieved by the following T-SQL command: ALTER DATABASE &lt;CONTENT_DB_NAME&gt; SET read_write</li><li><strong>SharePoint 2016 Database Server:</strong> Backup of the content database(s) </li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="618" height="428" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png" alt="" class="wp-image-8752" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png 618w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-300x208.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-100x70.png 100w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-218x150.png 218w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-606x420.png 606w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption>Backup the SharePoint 2016 content database</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application, then the option &#8220;Add content database&#8221; and finally select the name of the content database previously removed. This will make the web application available again in the temporary SharePoint 2016 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1173" height="380" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB.png?fit=696%2C226&amp;ssl=1" alt="" class="wp-image-9084" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB.png 1173w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB-300x97.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB-768x249.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB-1024x332.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB-696x225.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB-1068x346.png 1068w" sizes="(max-width: 1173px) 100vw, 1173px" /><figcaption>Add content database</figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1159" height="696" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm.png?fit=696%2C418&amp;ssl=1" alt="" class="wp-image-9085" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm.png 1159w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm-300x180.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm-768x461.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm-1024x615.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm-696x418.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm-1068x641.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2016_Upgrade_AddContentDB_Confirm-699x420.png 699w" sizes="(max-width: 1159px) 100vw, 1159px" /><figcaption> <em>Add content database</em> (confirmation)</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019 Database Server:</strong> Copy the database backup file from the temporary SharePoint 2016 database server to the database server that supports the target SharePoint 2019 farm</li><li><strong>SharePoint 2019: </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application where you want to migrate to and then the option &#8220;Remove content database&#8221;. This will make the database unattached from any web application.</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1390" height="760" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB.png?fit=696%2C381&amp;ssl=1" alt="" class="wp-image-9124" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB.png 1390w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB-300x164.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB-768x420.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB-1024x560.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB-696x381.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_RemoveSPContentDB-1068x584.png 1068w" sizes="(max-width: 1390px) 100vw, 1390px" /><figcaption>Remove Content Database from SharePoint 2019 farm</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019 Database Server:</strong> Restore the content database backup from the temporary SharePoint 2016 database server. The restore must replace the content database that was created during the SharePoint 2019 installation.</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png" alt="" class="wp-image-8765" width="403" height="281" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png 354w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-300x209.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-100x70.png 100w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption>Restore the temporary SharePoint 2016 content database in the SharePoint 2019 database server</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019: </strong> If you have custom developed farm solutions, deploy all the migrated WSPs in the target SharePoint 2019 farm.</li><li><strong>SharePoint 2019: </strong>As a farm administrator, execute the first of a series of PowerShell commands to associate the restored content database to the SharePoint 2019 farm (in this example the web application URL is http://sp2019): Test-SPContentDatabase -Name &lt;Content_DB_Name&gt; -WebApplication http://sp2019<br> <ul><li>This PowerShell cmdlet will test the content database against the web application to verify if all customizations referenced within the content database are also installed in the farm</li><li>In my case, I got some missing features errors but none of them are upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1216" height="538" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB.png?fit=696%2C308&amp;ssl=1" alt="" class="wp-image-9091" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB.png 1216w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB-300x133.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB-768x340.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB-1024x453.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB-696x308.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB-1068x473.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPContentDB-949x420.png 949w" sizes="(max-width: 1216px) 100vw, 1216px" /><figcaption>Test-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019: </strong>As a farm administrator, execute the second of a series of PowerShell commands to associate the restored content database to the SharePoint 2019 farm: Mount-SPContentDatabase -Name &#8220;&lt;Content_DB_Name&gt;&#8221; -DatabaseServer &#8220;&lt;DBAlias&gt;&#8221; -WebApplication &#8220;http://sp2019&#8221; <ul><li>This PowerShell cmdlet attaches an existing content database to a web application</li><li>In my case, no errors or warnings were shown </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="663" height="284" src="https://blogit.create.pt////wp-content/uploads/2019/03/SP2019_Upgrade_PSMountSPContentDB.png" alt="" class="wp-image-9094" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSMountSPContentDB.png 663w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSMountSPContentDB-300x129.png 300w" sizes="(max-width: 663px) 100vw, 663px" /><figcaption>Mount-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019: </strong>As a farm administrator, execute the third of a series of PowerShell commands to associate the restored content database to the SharePoint 2019 farm: Test-SPSite http://sp2019<ul><li>This PowerShell cmdlet runs a series of health checks on the site collection and its contents</li><li>In my case, I got a warning but once again nothing that is upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1220" height="371" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite.png?fit=696%2C211&amp;ssl=1" alt="" class="wp-image-9096" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite.png 1220w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite-300x91.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite-768x234.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite-1024x311.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite-696x212.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSTestSPSite-1068x325.png 1068w" sizes="(max-width: 1220px) 100vw, 1220px" /><figcaption>Test-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019: </strong>As a farm administrator, execute the fourth of a series of PowerShell commands to associate the restored content database to the SharePoint 2019 farm: Repair-SPSite -identity http://sp2019<ul><li>This PowerShell cmdlet is similar to the Test-SPSite cmdlet but fixes any issues that it finds</li><li>The result was identical to the Test-SPSite cmdlet: no upgrading blocking issues were found </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1220" height="374" src="https://i2.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite.png?fit=696%2C213&amp;ssl=1" alt="" class="wp-image-9098" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite.png 1220w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite-300x92.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite-768x235.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite-1024x314.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite-696x213.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSRepairSPSite-1068x327.png 1068w" sizes="(max-width: 1220px) 100vw, 1220px" /><figcaption>Repair-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2019: </strong>As a farm administrator, execute the fifth of a series of PowerShell commands to associate the restored content database to the SharePoint 2019 farm: Upgrade-SPSite http://sp2019 -VersionUpgrade <ul><li>This PowerShell cmdlet will upgrade the site collections associated to the web application to SharePoint 2019 mode. Before this cmdlet was executed, the site collections were still in SharePoint 2016 mode. </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="636" height="88" src="https://blogit.create.pt////wp-content/uploads/2019/03/SP2019_Upgrade_PSUpgradeSPSite.png" alt="" class="wp-image-9100" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSUpgradeSPSite.png 636w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_PSUpgradeSPSite-300x42.png 300w" sizes="(max-width: 636px) 100vw, 636px" /><figcaption>Upgrade-SPSite cmdlet result</figcaption></figure></div>



<p>After the migration is complete, your SharePoint web application is successfully displayed in your brand new SharePoint 2019 environment! The site is presented using the classic site experience, but from now on, you will be able to take advantage of the new modern experiences in your SharePoint 2019 environment!</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1155" height="644" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite.png?fit=696%2C388&amp;ssl=1" alt="" class="wp-image-9101" srcset="https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite.png 1155w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite-300x167.png 300w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite-768x428.png 768w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite-1024x571.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite-696x388.png 696w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite-1068x595.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/03/SP2019_Upgrade_TeamSite-753x420.png 753w" sizes="(max-width: 1155px) 100vw, 1155px" /><figcaption>SharePoint 2019 Upgraded Team Site</figcaption></figure></div>



<p> To download the SharePoint 2019 migration PowerShell files, click <a href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2019/Migrations/SP2019_MigrationFiles.zip" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>. </p>



<p>To read the first part of this two part step by step tutorial, click&nbsp;<a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here</a>.</p>



<h2 class="wp-block-heading" id="mce_20">Related Articles</h2>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank">here</a>.</p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank">her</a><a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="e (opens in a new tab)">e</a>. </p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell,&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>. </p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>. </p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice.&nbsp;SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing!</p>


<p><!--EndFragment--></p>
<p></p><p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/">How to upgrade from SharePoint 2013 to SharePoint 2019 Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to upgrade from SharePoint 2013 to SharePoint 2019 Step by Step (Part 1)</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 06 Mar 2019 00:11:52 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=9035</guid>

					<description><![CDATA[<p>This post is the first part of a two part step by step tutorial on how to migrate a SharePoint 2013 farm to SharePoint 2019. To read the second part, click here. Introduction The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/">How to upgrade from SharePoint 2013 to SharePoint 2019 Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post is the first part of a two part step by step tutorial on how to migrate a SharePoint 2013 farm to SharePoint 2019.</p>



<p>To read the second part, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2019 that has support for a hybrid scenario can be a valid solution to allow a gradual move to the cloud.</p>



<p>This post is based on upgrading a SharePoint 2013 farm to SharePoint 2019 using the database attach approach but is also valid if you want to upgrade to SharePoint 2016 (to learn more about upgrading to SharePoint 2016, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>). This post assumes that the we will only migrate the content database(s) from the source SharePoint 2013 to SharePoint 2019 and all other SharePoint databases are created in the target SharePoint 2019 farm during its installation process.</p>



<p>If you want to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>There is another valid migration approach to migrate from SharePoint 2013 to SharePoint 2019 by using a content migration. In this approach, the upgrade is not based in a database upgrade process but on content migration and typically a 3rd party solution is necessary to do the content migration. A few 3rd party solutions that can do the job are <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://sharegate.com/products/sharegate-desktop" target="_blank">ShareGate</a>, <a rel="noreferrer noopener" aria-label="AvePoint (opens in a new tab)" href="https://www.avepoint.com/products/hybrid/office-365-migration/" target="_blank">AvePoint</a> and <a rel="noreferrer noopener" aria-label="Metalogix (opens in a new tab)" href="https://www.quest.com/metalogix/" target="_blank">Metalogix</a>.</p>



<p>Upgrading a SharePoint farm using the database attach approach can be a complex task and the upgrade process is composed by a series of steps:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2013 to SharePoint 2019 (outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2016 farm</li><li>Upgrade to the target SharePoint 2019 farm</li></ul>



<p><strong>IMPORTANT NOTE:&nbsp;</strong>In a typical upgrade process, the below steps should be performed twice if there are custom developed solutions:</p>



<ul class="wp-block-list"><li>The first time, to test the migration process and allow custom developed solutions to be properly migrated and tested by the end users</li><li>The second time, to perform the final migration, after all custom developed solutions are migrated and tested by the end users</li></ul>



<p>This post will cover:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2013 to SharePoint 2019 (details about the migration of custom solutions are outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2016 farm</li></ul>



<h2 class="wp-block-heading">Migrating Custom Developed Solutions from SharePoint 2013 to SharePoint 2019</h2>



<p>This step is outside the scope of this post but a few notes are important to mention if you have custom developed solutions that you want to migrate from SharePoint 2013 to SharePoint 2019:</p>



<ul class="wp-block-list"><li>First, you should analyze the source SharePoint 2013 farm and look for custom developed solutions and in particular for farm solutions and/or sandboxed solutions</li><li>If custom developed solutions are found and if you want to take the easiest migration path, you could simply upgrade your custom developed solutions to SharePoint 2019 without changing the solution architecture. This typically involves migrating server-side code from SharePoint 2013 to SharePoint 2019, possible migration of master pages and adjustments to CSS and JS files</li><li>Despite more difficult, if possible, you should consider migrating the existing solutions to one of the following development models: <ul><li>SharePoint Framework: the latest and the recommended development model for modern SharePoint solutions, enabling an easier migration path to SharePoint Online and Office 365</li><li>SharePoint Add-Ins: this development model is still supported and can be a valid solution depending on your scenario. However, when possible. you should consider migrating solutions to the SharePoint Framework development model </li></ul></li></ul>



<h2 class="wp-block-heading">Upgrade into a temporary SharePoint 2016 farm</h2>



<p><strong>IMPORTANT NOTES: </strong></p>



<ul class="wp-block-list"><li>Migrating from SharePoint 2013 directly to SharePoint 2019 is not supported. To migrate from SharePoint 2013 to SharePoint 2019 we must first migrate to a temporary SharePoint 2016 farm and then migrate to SharePoint 2019</li><li>To to be able to migrate to SharePoint 2016 and then to SharePoint 2019, the SharePoint 2013 farm must at least have the March 2013 Public Update installed. For more details, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://docs.microsoft.com/en-us/sharepoint/upgrade-and-update/overview-of-the-upgrade-process" target="_blank">here</a></li></ul>



<p>The migration is performed using the database attach upgrade method (the only supported method to upgrade from SharePoint 2013 to SharePoint 2019 using a database upgrade approach).</p>



<p>In the upgrade process, for both the temporary SharePoint 2016 and the target SharePoint 2019 farms, you should create an empty web application so that a valid SharePoint content database is created. To learn more on how to install a SharePoint 2019 farm, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>After having all custom developed solutions migrated to SharePoint 2019 (if there are any), you should follow the following steps:</p>



<ul class="wp-block-list"><li><strong>SharePoint 2013 (test migration only): </strong>Export all WSPs from the SharePoint 2013 farm to file system. To export the WSP files, you can use this <a rel="noreferrer noopener" aria-label="PowerShell script (opens in a new tab)" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2013/Export-WSP.ps1" target="_blank">PowerShell script</a>.<br><strong>SharePoint 2013 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application and then the option &#8220;Remove content database&#8221;. This will temporarily make the web application unavailable in the source SharePoint 2013 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1021" height="742" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png" alt="" class="wp-image-8825" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png 1021w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-300x218.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-768x558.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-324x235.png 324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-696x506.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-578x420.png 578w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption>Temporarily Remove Content Database from Source SharePoint 2013 farm</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server </strong>(<strong>final migration only</strong>)<strong>:</strong> Place the database in read-only mode to ensure the source web application is made available again and so that users cannot change content anymore during the upgrade process. This can be achieved by the following T-SQL command: ALTER DATABASE &lt;CONTENT_DB_NAME&gt; SET read_only</li><li><strong>SharePoint 2013 Database Server:</strong> Backup of the content database(s) (in read-only mode in the final migration)</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="618" height="428" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png" alt="" class="wp-image-8752" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png 618w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-300x208.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-100x70.png 100w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-218x150.png 218w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-606x420.png 606w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption>Backup the SharePoint 2013content database</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application, then the option &#8220;Add content database&#8221; and finally select the name of the content database previously removed. This will make the web application available again in the source SharePoint 2013 farm in read-only mode, preventing users from changing any content</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1024" height="274" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1024x274.png" alt="" class="wp-image-8972" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1024x274.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-300x80.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-768x205.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-696x186.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1068x286.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB.png 1350w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Add content database</figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1024" height="444" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1024x444.png" alt="" class="wp-image-8973" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1024x444.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-300x130.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-768x333.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-696x302.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1068x464.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-968x420.png 968w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm.png 1311w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <br>Add content database (confirmation)<br></figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server:</strong> Copy the database backup file from the source SharePoint 2013 database server to the database server that supports the temporary SharePoint 2016 farm</li><li><strong>SharePoint 2016: </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application where you want to migrate to and then the option &#8220;Remove content database&#8221;. This will make the database unattached from any web application.</li></ul>



<figure class="wp-block-image"><img decoding="async" width="1024" height="552" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1024x552.png" alt="" class="wp-image-8829" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1024x552.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-300x162.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-768x414.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-696x375.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1068x576.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-779x420.png 779w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB.png 1411w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <br>Remove Content Database from SharePoint 2016 farm<br></figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server:</strong> Restore the content database backup from the source SharePoint 2013 database server. The restore must replace the content database that was created during the SharePoint 2016 installation.</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png" alt="" class="wp-image-8765" width="403" height="281" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png 354w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-300x209.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-100x70.png 100w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption>Restore the SharePoint 2013 content database in the SharePoint 2016 database server<br></figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016: </strong> If you have custom developed farm solutions, add all the exported WSPs (without deploying them) in the temporary SharePoint 2016 farm. For each WSP, run the following command:<ul><li>Add-SPSolution -LiteralPath $location\solution.wsp where $location is the file system location of the WSP files </li></ul></li><li><strong>SharePoint 2016: </strong> Execute the first of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2016 farm (in this example the web application URL is http://sp2016): Test-SPContentDatabase -Name &lt;Content_DB_Name&gt; -WebApplication http://sp2016<br> <ul><li>This PowerShell cmdlet will test the content database against the web application to verify if all customizations referenced within the content database are also installed in the farm</li><li>In my case, I got some warnings but none of them are upgrade blocking</li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="491" height="249" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB.png" alt="" class="wp-image-8776" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB.png 491w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-300x152.png 300w" sizes="(max-width: 491px) 100vw, 491px" /><figcaption> Test-SPContentDatabase cmdlet result<br></figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016: </strong> Execute the second of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2016 farm: Mount-SPContentDatabase -Name &#8220;&lt;Content_DB_Name&gt;&#8221; -DatabaseServer &#8220;&lt;DBAlias&gt;&#8221; -WebApplication &#8220;http://sp2016&#8221; <ul><li>This PowerShell cmdlet attaches an existing content database to a web application</li><li>In my case, no errors or warnings were shown</li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="560" height="216" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB.png" alt="" class="wp-image-8847" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB.png 560w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB-300x116.png 300w" sizes="(max-width: 560px) 100vw, 560px" /><figcaption> <em>Mount-SPContentDatabase cmdlet result</em><br></figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016: </strong> Execute the third of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2016 farm: Test-SPSite http://sp2016 <ul><li>This PowerShell cmdlet runs a series of health checks on the site collection and its contents</li><li>In my case, I got a warning but once again nothing that is upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="752" height="272" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite.png" alt="" class="wp-image-8849" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite.png 752w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite-300x109.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite-696x252.png 696w" sizes="(max-width: 752px) 100vw, 752px" /><figcaption> Test-SPSite cmdlet result<br></figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016: </strong> Execute the fourth of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2016 farm: Repair-SPSite -identity http://sp2016 <ul><li>This PowerShell cmdlet is similar to the Test-SPSite cmdlet but fixes any issues that it finds</li><li>The result was identical to the Test-SPSite cmdlet: no upgrading blocking issues were found </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="758" height="270" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite.png" alt="" class="wp-image-8851" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite.png 758w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite-300x107.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite-696x248.png 696w" sizes="(max-width: 758px) 100vw, 758px" /><figcaption> Repair-SPSite cmdlet result<br></figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016: </strong> Execute the fifth of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2016 farm: Upgrade-SPSite http://sp2016 -VersionUpgrade <ul><li>This PowerShell cmdlet will upgrade the site collections associated to the web application to SharePoint 2016 mode. Before this cmdlet was executed, the site collections were still in SharePoint 2013 mode. </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="550" height="40" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite.png" alt="" class="wp-image-8852" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite.png 550w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-300x22.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-533x40.png 533w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-534x40.png 534w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption> Upgrade-SPSite cmdlet result<br></figcaption></figure></div>



<p>To download the SharePoint 2016 migration PowerShell files, click <a href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2016/Migrations/SP2016_MigrationFiles.zip" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<p>To read the second part of this two part step by step tutorial, click&nbsp;<a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">her</a><a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">e</a>.</p>



<h2 class="wp-block-heading" id="mce_20">Related Articles</h2>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>. </p>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank">here</a>.</p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.  </p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell,&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>.    </p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>.</p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice.&nbsp;SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing!</p>


<p><!--EndFragment--></p>
<p></p><p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/">How to upgrade from SharePoint 2013 to SharePoint 2019 Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>How To Fix a Degraded Search Index Partition in a SharePoint 2013 farm</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/10/07/how-to-fix-a-degraded-search-index-partition-in-a-sharepoint-2013-farm/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/10/07/how-to-fix-a-degraded-search-index-partition-in-a-sharepoint-2013-farm/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sun, 07 Oct 2018 19:30:30 +0000</pubDate>
				<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Index]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=7531</guid>

					<description><![CDATA[<p>Hello, Recently, a customer reported problems with Search in a SharePoint 2013 farm. Instead of showing search results, the following error was being shown: The Problem To diagnose the problem, I opened Central Administration and the Search Service Application page indicated problems with the Index Partition component in the Search Service Application Topology. To further [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/10/07/how-to-fix-a-degraded-search-index-partition-in-a-sharepoint-2013-farm/">How To Fix a Degraded Search Index Partition in a SharePoint 2013 farm</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>Recently, a customer reported problems with Search in a SharePoint 2013 farm. Instead of showing search results, the following error was being shown:</p>
<p><img decoding="async" class="alignnone wp-image-7536 size-full" src="https://blogit.create.pt////wp-content/uploads/2018/10/SP2013_Search_Problem.png" alt="" width="512" height="66" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Problem.png 512w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Problem-300x39.png 300w" sizes="(max-width: 512px) 100vw, 512px" /></p>
<h1>The Problem</h1>
<p>To diagnose the problem, I opened Central Administration and the Search Service Application page indicated problems with the Index Partition component in the Search Service Application Topology.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7537" src="https://blogit.create.pt////wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded.png" alt="" width="1313" height="145" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded.png 1313w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded-300x33.png 300w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded-768x85.png 768w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded-1024x113.png 1024w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded-696x77.png 696w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_Degraded-1068x118.png 1068w" sizes="(max-width: 1313px) 100vw, 1313px" /></p>
<p>To further diagnose the problem, I opened up a PowerShell window (used the option &#8220;Run As Administrator&#8221; to ensure proper permissions) and executed the following commands:</p>
<p>$ssa = Get-SPServiceApplication -Name &#8220;Search Service Application&#8221;<br />
Get-SPEnterpriseSearchStatus -SearchApplication $ssa -Detailed -Text</p>
<p>After execution, the result confirmed a problem with the Index Partition, showing the Index component with the Degraded state. According to <a href="https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/get-spenterprisesearchstatus?view=sharepoint-ps" target="_blank" rel="noopener">Microsoft</a> &#8220;The reason for the degraded status is typically a transient situation related to a restart or network issues&#8221; but from my experience it is not easy to understand why this happens.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7534" src="https://blogit.create.pt////wp-content/uploads/2018/10/PowerShell_Index_Partition_Degraded.png" alt="" width="679" height="343" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/PowerShell_Index_Partition_Degraded.png 679w, https://blogit.create.pt/wp-content/uploads/2018/10/PowerShell_Index_Partition_Degraded-300x152.png 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<h1>The Solution</h1>
<p>The solution was composed by two steps:</p>
<ul>
<li>Reset the Search Index &#8211; this operation will clear all index content but will NOT delete any custom managed properties you may have created in the search service application</li>
<li>Perform a Full Crawl on Search Content Source to crawl and reindex all your content</li>
</ul>
<h2>Reset the Search Index</h2>
<p>To reset the Search Index, I went to the Reset Index page in the Search Service Application in Central Administration and clicked the <strong>&#8220;Reset Now&#8221; </strong>button.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7542" src="https://blogit.create.pt////wp-content/uploads/2018/10/SP2013_Search_Index_Reset.png" alt="" width="748" height="212" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Index_Reset.png 748w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Index_Reset-300x85.png 300w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Index_Reset-696x197.png 696w" sizes="(max-width: 748px) 100vw, 748px" /></p>
<p>To confirm the Index Reset, I clicked <strong>&#8220;OK&#8221;</strong> in the popup message.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7541" src="https://blogit.create.pt////wp-content/uploads/2018/10/SP2013_Search_Index_Reset_Confirmation.png" alt="" width="416" height="170" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Index_Reset_Confirmation.png 416w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Search_Index_Reset_Confirmation-300x123.png 300w" sizes="(max-width: 416px) 100vw, 416px" /></p>
<h2>Perform a Full Crawl on Search Content Sources</h2>
<p>After resetting the index, the search index data was deleted and to allow search results to be shown again, we need to perform a Full Crawl on all Content Sources in the farm. To do that, we must go to the Content Sources page in the Search Service Application in Central Administration and for each available Content Sources, select <strong>&#8220;Start Full Crawl&#8221;</strong>.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7550" src="https://blogit.create.pt////wp-content/uploads/2018/10/SP2013_Content_Search_Search_Full_Crawl.png" alt="" width="829" height="340" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Content_Search_Search_Full_Crawl.png 829w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Content_Search_Search_Full_Crawl-300x123.png 300w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Content_Search_Search_Full_Crawl-768x315.png 768w, https://blogit.create.pt/wp-content/uploads/2018/10/SP2013_Content_Search_Search_Full_Crawl-696x285.png 696w" sizes="(max-width: 829px) 100vw, 829px" /></p>
<p><strong>NOTE:</strong> If you have more than one Content Source, let the Full Crawl on the previous Content Source finish before starting to Full Crawl the next Content Source.</p>
<p>After the Full Crawl on all Content Sources finished, I returned to Central Administration and the Search Service Application page to check the Search Service Application status. The page now indicates a healthy status for all Search components.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7533" src="https://blogit.create.pt////wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK.png" alt="" width="1313" height="145" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK.png 1313w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK-300x33.png 300w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK-768x85.png 768w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK-1024x113.png 1024w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK-696x77.png 696w, https://blogit.create.pt/wp-content/uploads/2018/10/Central_Admin_Index_Partition_OK-1068x118.png 1068w" sizes="(max-width: 1313px) 100vw, 1313px" /></p>
<p>To confirm that the problem is solved, I ran the same commands previously executed in the PowerShell window.</p>
<p>$ssa = Get-SPServiceApplication -Name &#8220;Search Service Application&#8221;<br />
Get-SPEnterpriseSearchStatus -SearchApplication $ssa -Detailed -Text</p>
<p>After execution, the result confirms that the problem with the Index Partion is solved,<br />
showing an Activate state in the Index component.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7535" src="https://blogit.create.pt////wp-content/uploads/2018/10/PowerShell_Index_Partition_OK.png" alt="" width="677" height="346" srcset="https://blogit.create.pt/wp-content/uploads/2018/10/PowerShell_Index_Partition_OK.png 677w, https://blogit.create.pt/wp-content/uploads/2018/10/PowerShell_Index_Partition_OK-300x153.png 300w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>After the above steps, SharePoint sites started returning search results again!</p>
<h1>Related Articles</h1>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>This solution should be also valid for SharePoint 2016 and SharePoint 2019. If you want to know all about the new features available in the new SharePoint Server release, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>To find a solution to a search crawling issue I recently found in a SharePoint 2016 farm, click <a href="https://blogit.create.pt////miguelisidoro/2018/08/10/sharepoint-2016-problems-crawling-content-and-the-the-crawler-could-not-communicate-with-the-server-error/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>SharePoint 2019 RTM was recently announced! To learn all about SharePoint 2019 and all its features, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noopener noreferrer">learning resources</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.</p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>Hope this can help someone with the same problem!</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/10/07/how-to-fix-a-degraded-search-index-partition-in-a-sharepoint-2013-farm/">How To Fix a Degraded Search Index Partition in a SharePoint 2013 farm</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/10/07/how-to-fix-a-degraded-search-index-partition-in-a-sharepoint-2013-farm/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>the European SharePoint Conference 2015 was great!</title>
		<link>https://blogit.create.pt/andrevala/2015/11/14/the-european-sharepoint-conference-2015-was-great/</link>
					<comments>https://blogit.create.pt/andrevala/2015/11/14/the-european-sharepoint-conference-2015-was-great/#comments</comments>
		
		<dc:creator><![CDATA[André Vala]]></dc:creator>
		<pubDate>Sat, 14 Nov 2015 00:02:05 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[European SharePoint Conference]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/andrevala/?p=1941</guid>

					<description><![CDATA[<p>The fourth edition of the European SharePoint Conference has now finished and it was bigger and better than ever. It took place in the wonderful city of Stockholm, in Sweden, from November 9th to November 12th. Like in previous years, the first day was dedicated to pre-conference full-day tutorials and the conference actually started in [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2015/11/14/the-european-sharepoint-conference-2015-was-great/">the European SharePoint Conference 2015 was great!</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The fourth edition of the <a href="http://www.sharepointeurope.com" target="_blank">European SharePoint Conference</a> has now finished and it was bigger and better than ever. It took place in the wonderful city of <strong>Stockholm</strong>, in <strong>Sweden</strong>, from <strong>November 9th</strong> to <strong>November 12th</strong>. Like in previous years, the first day was dedicated to pre-conference full-day tutorials and the conference actually started in the second day. It featured a large exposition floor for sponsors to present their products and services, and also a community area with soapbox sessions during session intermissions and meals. The conference got <strong>over 1,500 delegates</strong> from <strong>over 50 different countries</strong>. </p>
<p>The programme team did a great job going through over <strong>700 session submissions</strong> and putting together a stellar lineup of great speakers while also broadening the scope of the conference to include Office 365 and Microsoft Azure along with the SharePoint-related content. Congratulations to <strong>Wim Dierickx</strong>, <strong>Göran Husman</strong>, <strong>Adis Jugo</strong> and <strong>Nicki Borell</strong>. I was on the programme team last year and I know how hard it is to select the sessions and speakers, and put together a compelling programme. </p>
<p>The first keynote was delivered by <strong>Seth Patton</strong>, <strong>Jeff Tepper</strong> and <strong>Bill Baer</strong>, and this fact alone demonstrates how much Microsoft is invested in connecting with the community. The keynote was mostly focused on: </p>
<ul>
<li>Usage and adoption statistics for Office 365</li>
<li>New and improved features that recently rolled out in Office 365</li>
<li>Near future roadmap for Office 365</li>
<li>What&#8217;s New in SharePoint Server 2016</li>
</ul>
<p>Regarding usage and adoption, Office 365 has some impressive statistics: </p>
<ul>
<li><strong>Over 75,000 customers</strong> which account for more than <strong>160 million users</strong>
<li>200% monthly active user growth
<li><strong>7 Billion Office documents</strong> stored in OneDrive for Business, team sites and other SharePoint portals, which represents a <strong>500% year-on-year growth</strong> in content
<li>Runs on <strong>30,000 servers</strong>, with<strong> 20,000 SQL databases</strong>, on <strong>19 datacenters</strong> around the world.</li>
</ul>
<p>As for new features and near future roadmap for Office 365, Jeff Tepper and Bill Baer shared that: </p>
<ul>
<li>OneDrive for Business will now have a new rock-solid sync client (which has been in preview for a few weeks) and already has mobile apps for all devices. It recently got a revamped UI with a better browsing and sharing experience, and better tooling for IT management.
<li>SharePoint Online has rolled-out improvements in collaboration, co-authoring and external sharing features.
<li>The new Office 365 groups and their tight integration with Outlook 2016 is helping people to be more productive, adapting the technology to the users and not the other way around.
<li>Delve and the Office Graph are also evolving, with new APIs and the new analytics features that are now in development.</li>
</ul>
<p>The biggest announcement was the release of a <strong>second and last beta version of SharePoint Server 2016</strong> before the end of the month, which will be nearly feature complete. The new features of SharePoint Server 2016 were already known since Microsoft Ignite a few months back, but it was still interesting to hear about the enhanced mobile experience, robust and cloud inspired infrastructure, and the compliance and data loss prevention features. </p>
<p>My session was about &#8220;<strong>Content Recommendation with SharePoint Search</strong>&#8221; and I think it was well received by the 100 or so attendees in the room, but having to deliver a session on the afternoon of the last day usually means I&#8217;m not going to enjoy the conference because I&#8217;ll be too worried fine tuning the slides and demos, and practicing the presentation until almost the end. If you&#8217;re interested in the presentation contents check the slide deck on <a href="http://www.slideshare.net/AndreVala/content-recommendation-with-sharepoint-search" target="_blank">SlideShare</a>. </p>
<p>Nevertheless, I still managed to attend a few sessions by really good presenters: </p>
<ul>
<li><strong>Radi Atanassov</strong> (<a title="@RadiAtanassov" href="https://twitter.com/RadiAtanassov/" target="_blank">@RadiAtanassov</a>) presented a great session on <strong>Office 365 Dev Patterns and Practices</strong>.
<li><strong>Chris O&#8217;Brien</strong> (<a title="@ChrisO_Brien" href="https://twitter.com/ChrisO_Brien/" target="_blank">@ChrisO_Brien</a>) gave some fantastic tips on what you <strong>should and shouldn&#8217;t do</strong> when developing for Office 365.
<li><strong>Marius Constantinescu</strong> (<a href="https://twitter.com/c_marius" target="_blank">@c_marius</a>) showed us how to use Lightswitch to <strong>build cloud business apps</strong> in Visual Studio.
<li><strong>Nuno Costa</strong> (<a title="@ndocosta" href="https://twitter.com/ndocosta">@ndocosta</a>) and <strong>João Oliveira</strong> (<a href="https://twitter.com/joaopcoliveira" target="_blank">@joaopcoliveira</a>), fellow Portuguese Microsoft guys, delivered a brilliant talk on <strong>Office 365 governance with PowerShell and CSOM</strong>.
<li><strong>Rodrigo Pinto</strong> (<a title="@ScoutmanPt" href="https://twitter.com/ScoutmanPt/">@ScoutmanPt</a>), fellow Portuguese MVP, got to present two great sessions: one on <strong>PowerShell Desired State Configuration</strong> and another one on techniques to <strong>migrate full trust solutions to the add-in model</strong>.
<li><strong>Edin Kapic</strong> (<a title="@ekapic" href="https://twitter.com/ekapic/">@ekapic</a>) made complex topics such as <strong>authentication and authorization</strong> seem simple as he showed how to build a <strong>custom claims provider</strong> for SharePoint. Pretty epic stuff.
<li><strong>Knut Relbe-Moe</strong> (<a title="@sharePTkarm" href="https://twitter.com/sharePTkarm/">@sharePTkarm</a>) dove deep into the <strong>Office 365 group</strong> and filled a room even on the last session slot of the conference.</li>
</ul>
<p>It was a nice surprise to find <strong>Pedro Serrano</strong> and <strong>Daniel Pereira</strong> from <a href="http://www.cavedigital.com" target="_blank">Cave Digital</a> showing off their <strong>Smart Governance</strong> product in the expo floor, and <strong>Alex Ferreira</strong> (<a href="https://twitter.com/alexaem" target="_blank">@alexaem</a>) and <strong>Tiago Duarte</strong> (<a href="https://twitter.com/tduarte85" target="_blank">@tduarte85</a>) attending the conference. It&#8217;s always great meeting Portuguese friends when we&#8217;re far away from home. </p>
<p>Overall it was a great experience and the team in charge of the organization has done a tremendous job. If I had to point out three highlights of the event, those would be: </p>
<ul>
<li>The venue for the awards gala, which was absolutely fantastic, and the venue for the conference. It will be very hard to top that next year.
<li>The networking opportunities.
<li>The speaker and session lineup, which included top Microsoft executives.</li>
</ul>
<p>Next year the European SharePoint Conference will take place in <strong>Vienna, Austria</strong>, on <strong>November 14-17</strong>, and I hope I can be there again.</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2015/11/14/the-european-sharepoint-conference-2015-was-great/">the European SharePoint Conference 2015 was great!</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/andrevala/2015/11/14/the-european-sharepoint-conference-2015-was-great/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>European SharePoint Conference 2015</title>
		<link>https://blogit.create.pt/andrevala/2015/04/10/european-sharepoint-conference-2015/</link>
					<comments>https://blogit.create.pt/andrevala/2015/04/10/european-sharepoint-conference-2015/#comments</comments>
		
		<dc:creator><![CDATA[André Vala]]></dc:creator>
		<pubDate>Fri, 10 Apr 2015 21:33:54 +0000</pubDate>
				<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[European SharePoint Conference]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/andrevala/?p=1841</guid>

					<description><![CDATA[<p>The programme for the European SharePoint Conference 2015 was announced yesterday and guess what? I’ll be presenting a session on day 3 (November 12th) about Content Recommendation with SharePoint Search! You’ll also find my good friend and SharePoint MVP Rodrigo Pinto, as well as Nuno Oliveira Costa and João Oliveira, from Microsoft Portugal, among the [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2015/04/10/european-sharepoint-conference-2015/">European SharePoint Conference 2015</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The <a title="ESPC 2015 Programme" href="http://www.sharepointeurope.com/conferences/2015/european-sharepoint-conference-2015-programme" target="_blank">programme</a> for the <a title="European SharePoint Conference 2015" href="http://www.sharepointeurope.com" target="_blank">European SharePoint Conference 2015</a> was announced yesterday and guess what? I’ll be presenting a session on day 3 (November 12<sup>th</sup>) about <a title="Content Recommendation with SharePoint Search" href="http://www.sharepointeurope.com/conferences/session/546/content-recommendation-with-sharepoint-search--level-300" target="_blank"><strong>Content Recommendation with SharePoint Search</strong></a>! You’ll also find my good friend and SharePoint MVP <a title="Rodrigo Pinto" href="http://mvp.microsoft.com/en-us/mvp/Rodrigo%20Pinto-4032603" target="_blank">Rodrigo Pinto</a>, as well as Nuno Oliveira Costa and João Oliveira, from Microsoft Portugal, among the speakers.</p>
<p>The conference will take place in <strong>Stockholm</strong>, Sweden, <strong>from November 9<sup>th</sup> to November 12<sup>th</sup></strong>, and has a fantastic session lineup from some of the best speakers in the business. The programme team did a great job putting it together. I know how hard it is to select 100 breakout sessions and 8 full-day tutorials out of several hundred candidates to build a balanced and interesting session lineup.</p>
<p>If you have not attended in previous years, I highly recommend it. It’s well worth it.<br />You still have 7 days to grab the ticket at <strong>Super Early Booking Rate</strong> (ends on April 17<sup>th</sup>) so, if you’re considering attending, don’t wait!</p>
<p>I’ll see you there!</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2015/04/10/european-sharepoint-conference-2015/">European SharePoint Conference 2015</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/andrevala/2015/04/10/european-sharepoint-conference-2015/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Webinar: Information Rights Management in SharePoint</title>
		<link>https://blogit.create.pt/andrevala/2015/03/31/webinar-information-rights-management-in-sharepoint/</link>
					<comments>https://blogit.create.pt/andrevala/2015/03/31/webinar-information-rights-management-in-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[André Vala]]></dc:creator>
		<pubDate>Tue, 31 Mar 2015 20:17:01 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[IRM]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[European SharePoint Conference]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/andrevala/?p=1821</guid>

					<description><![CDATA[<p>On April 7th at 11am CET I will be presenting a live webinar to the European SharePoint Community on Information Rights Management in SharePoint. Here’s what I’ll be talking about: Information security is one of the most important concerns when designing a content management solution. Learn about Information Rights Management (IRM) and what it allows [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2015/03/31/webinar-information-rights-management-in-sharepoint/">Webinar: Information Rights Management in SharePoint</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>On April 7<sup>th</sup> at 11am CET I will be presenting a live webinar to the European SharePoint Community on <a href="http://www.sharepointeurope.com/content/information-rights-management-in-sharepoint" target="_blank">Information Rights Management in SharePoint</a>.</p>
<p>Here’s what I’ll be talking about:  </p>
<p><i>Information security is one of the most important concerns when designing a content management solution. Learn about Information Rights Management (IRM) and what it allows you to do to protect your information and control its usage. Learn how it can be applied to SharePoint 2013 and SharePoint Online and the main differences between the way it works in each version.</i>  </p>
<p><i></i> </p>
<p>In this webinar for IT Pro’s you will:  </p>
<ol>
<ol>
<li>Learn what is Information Rights Management (IRM)
<li>Learn how IRM works in SharePoint 2013 and SharePoint Online
<li>Learn how to manage IRM</li>
</ol>
</ol>
<p><i></i> </p>
<p>You can <a title="Register for Webinar" href="https://attendee.gotowebinar.com/register/1862732491891084290" target="_blank">register for my webinar on Information Rights Management here</a>. I hope you can join me!</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2015/03/31/webinar-information-rights-management-in-sharepoint/">Webinar: Information Rights Management in SharePoint</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/andrevala/2015/03/31/webinar-information-rights-management-in-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Configure a native webpart  using another webpart</title>
		<link>https://blogit.create.pt/antoniobrisson/2014/12/23/configure-a-webpart-using-another-webpart/</link>
					<comments>https://blogit.create.pt/antoniobrisson/2014/12/23/configure-a-webpart-using-another-webpart/#respond</comments>
		
		<dc:creator><![CDATA[António Brisson]]></dc:creator>
		<pubDate>Tue, 23 Dec 2014 10:36:50 +0000</pubDate>
				<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[ContentSearchWebPart]]></category>
		<category><![CDATA[LimitedWebPartManager]]></category>
		<category><![CDATA[Webparts]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/antoniobrisson/?p=251</guid>

					<description><![CDATA[<p>Have you ever found a scenario where you would like to edit the configurations of native webpart but don&#8217;t want to mess it by creating a custom one? In this case you should consider the use of second webpart to do all the messy configurations. The following example shows how you you can create a custom [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/antoniobrisson/2014/12/23/configure-a-webpart-using-another-webpart/">Configure a native webpart  using another webpart</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Have you ever found a scenario where you would like to edit the configurations of native webpart but don&#8217;t want to mess it by creating a custom one? In this case you should consider the use of second webpart to do all the messy configurations.</p>
<p>The following example shows how you you can create a custom webpart that modifies the search query string of a content search web part that exists in the same page.</p>
<p><strong>Setup: Add a visual web part to your SharePoint project and add the Newton-King Json.NET reference to your project</strong></p>
<ol>
<li>On Visual Studio, open your project solution, right click your project folder and select &#8220;Add Item &#8220;</li>
<li>In the Add New Item menu select &#8220;Office/SharePoint&#8221; -&gt;  VisualWebPart, give a name ex: &#8220;WebPartConfigurator&#8221;</li>
<li>Add James Newton-King Json.NET .dll to your project.  This will make it extremely easy to edit the search query once you get it from the target webpart. (you can find it here: <a title="http://james.newtonking.com/json" href="http://james.newtonking.com/json">http://james.newtonking.com/json</a>)</li>
</ol>
<p><strong>Code: Follow 3 steps -&gt; Get the the LimitedWebPartManager, get the target content search  webpart, configure the  query string in the target content search webpart</strong>.</p>
<p>1. Add the following to your class header:</p>
<pre>using System.Linq; //For accessing the web part
using Newtonsoft.Json.Linq; // For editing the webparts search query (Json). Don't forget to add a reference to this lib on your project.</pre>
<p>2. Uncomment PageLoad method and add the following code:</p>
<pre>//Get the page
SPFile membersPage = SPContext.Current.File;
SPLimitedWebPartManager limitedWebpartManager;

//Get the page's Limited Web Part Manager using (limitedWebPartManager = membersPage.GetLimitedWebPartManager(PersonalizationScope.Shared)) {                     ////Gets all the the webpart with <strong>"YOUR_WEB_PART_NAME_HERE"</strong> name if they exist                     System.Collections.Generic.List&lt;System.Web.UI.WebControls.WebParts.WebPart&gt; searchWebParts = limitedWebPartManager.WebParts.Cast&lt;System.Web.UI.WebControls.WebParts.WebPart&gt;().Where(webpart =&gt; webpart.Title == <strong>"YOUR_WEB_PART_NAME"</strong>).ToList();                      ////If any web part is found runs the configuration method "ConfigureWebpart" on it                     if (membersWebParts.Count &gt; 0)                     {                         foreach (System.Web.UI.WebControls.WebParts.WebPart webPart in membersWebParts)                         {                             ////Run the configuration method on your target webpart ConfigureWebPart(webPart); ////Save all the changes made to your target webpart!!!!!!!                             limitedWebPartManager.SaveChanges(webPart);                         }                                                  } } ////Updates all the changes made to the page elements membersPage.Update();</pre>
<p>3. Add your ConfigureWebPart method. In this case we will change the query string using Newtons-King Json.net lib.</p>
<pre>private void ConfigureMembersWebPart(System.Web.UI.WebControls.WebParts.WebPart webPart)
{
            ////Cast the webpart to a ContentSearchWebPart (ResultScriptWebPart in .Net)
            ResultScriptWebPart membersWebPart = (ResultScriptWebPart)webPart;
            
            ////Get the query object
            JObject query = JObject.Parse(membersWebPart.DataProviderJSON);
 
            ////Edit the query object
            query.Property("QueryTemplate").Value = <strong>"YOUR_QUERY_HERE"</strong>;
 
            ////Set the webpart's query object to the newly edited object.
            membersWebPart.DataProviderJSON = query.ToString();
}</pre>
<p><strong>Finishing: Add the custom web part to the page of the target webpart.</strong></p>
<p>The post <a href="https://blogit.create.pt/antoniobrisson/2014/12/23/configure-a-webpart-using-another-webpart/">Configure a native webpart  using another webpart</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/antoniobrisson/2014/12/23/configure-a-webpart-using-another-webpart/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Super short guide to a successful SharePoint 2013 FBA Pack Installation</title>
		<link>https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/</link>
					<comments>https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/#respond</comments>
		
		<dc:creator><![CDATA[António Brisson]]></dc:creator>
		<pubDate>Wed, 17 Dec 2014 13:01:47 +0000</pubDate>
				<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[FBA]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/antoniobrisson/?p=111</guid>

					<description><![CDATA[<p>If you need a super-short reference to get FBA authentication rolling in your SharePoint application, you&#8217;ll find it here. This is a super short guide to a successful experience with Sharepoint 2013 FBA Pack.  For a fully detailed process please refer to Chris Coulson&#8217;s life saving article. Our goal? Provide FBA authentication in our SahrePoint [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/">Super short guide to a successful SharePoint 2013 FBA Pack Installation</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you need a super-short reference to get FBA authentication rolling in your SharePoint application, you&#8217;ll find it here.</p>
<p>This is a super short guide to a successful experience with <a href="http://sharepoint2013fba.codeplex.com/">Sharepoint 2013 FBA Pack. </a> For a fully detailed process please refer to <a href="http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/http://">Chris Coulson&#8217;s life saving article.</a></p>
<p><strong>Our goal?</strong></p>
<p>Provide FBA authentication in our SahrePoint application</p>
<p><strong>What we need?</strong></p>
<p>The<a href="http://sharepoint2013fba.codeplex.com/"> SharePoint2013FBAPack zip file </a>with the Activate.ps1, Deploy.ps1, UnDeploy.ps1and Visigo.Sharepoint.FormsBasedAuthentication.wsp files.</p>
<p><strong>Our three simple steps?</strong></p>
<ol>
<li>Create users database</li>
<li>Install the <a href="http://sharepoint2013fba.codeplex.com/">Sharepoint 2013 FBA Pack</a></li>
<li>Configure web application</li>
</ol>
<p><strong>1. Create users database</strong></p>
<ol>
<li>Go to c:\windows\Microsoft.NET\Framework64\v4.0.30319\</li>
<li>Run “aspnet_regsql.exe”
<ol>
<li>Choose “Configure SQL Server for application services” -&gt; click Next</li>
</ol>
</li>
<li>Now that you have created your users database, you must make sure that the the identity running you SharePoint application pool can access it.
<ol>
<li>Where can you find this identity?  In IIS -&gt;“Application Pools”. Check the value in the Identity column of you SharePoint application pool. Take a note, you&#8217;ll need it later.
<ol>
<li>Open SQL server as an Administrator -&gt; Go to Security/Logins -&gt; Select the user that matches the identity identified earlier -&gt; Right click -&gt; Select Properties -&gt; Check the &#8220;Map&#8221; box for the database created previously and check the &#8220;db_owner&#8221; role. -Now the db is ready!</li>
</ol>
</li>
</ol>
</li>
</ol>
<p><strong>2 . Install the <a href="http://sharepoint2013fba.codeplex.com/">Sharepoint 2013 FBA Pack</a></strong></p>
<ol>
<li>If you haven&#8217;t download -the pack zip file do it now 🙂 and extract its content</li>
<li>Open a Powershell and navigate to the pack extraction path.</li>
<li>Run &#8220;Set-ExecutionPolicy Unrestricted&#8221; and &#8220;.\deploy [Site Collection URL]</li>
</ol>
<p><strong>3. Configure Web Application</strong></p>
<p>Now that we have a membership database,  that our SharePoint pool identity can access it and that the FBA pack is installed, we need to configure the membership provider in the config files.</p>
<p>From the approaches described in <a href="http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/http://">Chris Coulson&#8217;s life saving article.</a> I would recommend to avoid the approach that involves machine.config editing, because unless  you&#8217;re doing something very special you don&#8217;t really want to disseminate your apps specifics beyond its scope.</p>
<p>With this in mind, also make sure you always backup  your .config files before editing any &#8220;tiniest&#8221; change to avoid spending hours trying to resolve a character typo our encoding mistakes.</p>
<p>We are going to add the same changes to three different config files. You can find each of these by navigate through IIS -&gt; right click the application -&gt; Explore -&gt; Double click the &#8220;web.config&#8221; file :</p>
<ul>
<li>SharePoint Central Administration</li>
<li>SecurityTokenServiceApplication</li>
<li>Your SharePoint application web application</li>
</ul>
<ol>
<li>In the &lt;ConnectionString&gt; section add the following line, make sure that [SERVER NAME] matches the fully-qualified name of your db server:
<pre>&lt;add connectionString="Server=<strong>[SERVER NAME]</strong>;Database=aspnetdb;Integrated Security=true" name="<strong>[CONNECTION STRING NAME]</strong>" /&gt;</pre>
</li>
<li>In the &lt;membership&gt;&lt;providers&gt; section add the following and make sure that [CONNECTION STRING NAME]  matches the value of the previous step:
<pre>&lt;add name="<strong>[MEMBERSHIP PROVIDER NAME]"</strong>
 type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
 connectionStringName=<strong>"[CONNECTION STRING NAME]"</strong>
 enablePasswordRetrieval="false"
 enablePasswordReset="true"
 requiresQuestionAndAnswer="false"
 applicationName="/"
 requiresUniqueEmail="true"
 passwordFormat="Hashed"
 maxInvalidPasswordAttempts="5"
 minRequiredPasswordLength="7"
 minRequiredNonalphanumericCharacters="1"
 passwordAttemptWindow="10"
 passwordStrengthRegularExpression="" /&gt;</pre>
</li>
<li>In the &lt;roleManager&gt;&lt;providers&gt; section add and make sure that [MEMBERSHIP PROVIDER NAME] and [CONNECTION STRING PROVIDER NAME] match the values of the previous steps.:
<pre>&lt;add name=<strong>"[MEMBERSHIP PROVIDER NAME]"</strong> connectionStringName="<strong>[CONNECTION STRING NAME]</strong>" applicationName="/"
 type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt;</pre>
</li>
</ol>
<p>Now  you&#8217;ll be able to add the Membership Provider to your web application when enabling the Forms Based Authentication.</p>
<p>Ok, so&#8230; this might not be super-short, but it is short enough. Just be extra careful when editing the config files and you won&#8217;t have to worry about anything else.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/">Super short guide to a successful SharePoint 2013 FBA Pack Installation</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/antoniobrisson/2014/12/17/super-short-guide-to-a-successful-experience-with-sharepoint-2013-fba-pack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
