Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Latest commit

 

History

History
44 lines (27 loc) · 2.21 KB

2018-02-14-install-patch.md

File metadata and controls

44 lines (27 loc) · 2.21 KB
title author image tags
Installing a patch in sensenet
iviczl
../img/posts/fix.jpg
install
patch
SN7

sensenet moved to GitHub in small parts. These parts are also maintainable, so need patches. Here is the first one, let's see what this means for developers.


Patching Services

The Services component was the first to dwell on GitHub therefore it is quite reasonable to receive the first patch as well. It contains bugfixes and a single new feature.

Although this post was written at the time of the first patch, the process will be very similar in case of subsequent patches in other components as well.

Patch

Find out if you need it

The following conditions indicate that your sensenet have to be upgraded with the patch:

  • you have an installed sensenet 7.0.0 site
  • you want an in place upgrade, which means you want to get the latest version without dropping the database.

If one of these criteria is not fit for your situation you will not need to install this patch. In a development and test environment where you reinstall and reindex the whole database every time, you can use the updated NuGet packages and continue working.

Where can you find it?

You can find the patch on the release page's Assets paragraph, where you can download it from.

Upgrade

How do you install it?

Download the patch (a zip file indicating the base and the target versions) from the release page. In order to install it, you need to follow the next few steps:

  1. Stop the site.

  2. Execute the patch (using SnAdmin). This will raise the version number of this component in the database and make the necessary modifications.

    snadmin patch.zip

  3. Update the SenseNet.Services and SenseNet.Services.Install packages from NuGet in Visual Studio so that next time you build your solution you get the new libraries.

After you have finished the process you can start the site again and will find your Services component upgraded to the latest version. To make sure this happened, you may check the VersionInfo page on the Root console in Content Explorer.