In-place upgrades are never recommended for a number of reasons.
If your installation media was a gold or RTM version then you'll need to install this set as a prerequisite. When 2012 R2 RTM'd the updates were called rollups and were not cumulative and they also had to be installed sequentially in correct order.
https://www.microsoft.com/en-us/download/details.aspx?id=42153
https://www.microsoft.com/en-us/download/details.aspx?id=42334
then at this point; or if you installed Windows Server 2012 R2 with Update then you can start using the cumulative updates here.
the latest SSU
https://www.catalog.update.microsoft.com/Search.aspx?q=KB4566425
followed by the latest Monthly Rollup
The latest always contains new fixes plus the previous monthly update.
https://support.microsoft.com/en-us/help/4009470/windows-8-1-windows-server-2012-r2-update-history
--please don't forget to Accept as answer if the reply is helpful--