Skip to content

Conversation

@ramonsmits
Copy link
Member

@ramonsmits ramonsmits commented Oct 12, 2023

Validate if the storage engine is RavenDB5 compatible. If not, do not allow the upgrade and provide guidance to the online upgrade guide.

Powershell

   Ramon@ZOLDER  S:\ServiceControl\src  installer-storage-engine-check  sc-upgrade -Name Particular.V4.25
Upgrade aborted. Please note that the storage format has changed and the RavenDB 3.5 storage engine is no longer available. Upgrading requires a side-by-side deployment of both versions. Migration guidance is available in the version 4 to 5 upgrade guidance at https://docs.particular.net/servicecontrol/upgrades/4to5/
Invoke-ServiceControlInstanceUpgrade: Upgrade of Particular.V4.25 failed
   Ramon@ZOLDER  S:\ServiceControl\src  installer-storage-engine-check    audit-upgrade -Name  Particular.V4.25.Audit
Upgrade aborted. Please note that the storage format has changed and the RavenDB 3.5 storage engine is no longer available. Upgrading requires a side-by-side deployment of both versions. Migration guidance is available in the version 4 to 5 upgrade guidance at https://docs.particular.net/servicecontrol/upgrades/4to5/
Invoke-ServiceControlAuditInstanceUpgrade: Upgrade of Particular.V4.25.Audit failed
   Ramon@ZOLDER  S:\ServiceControl\src  installer-storage-engine-check   

SCMU

image

… allow the upgrade and provide guidance to the online upgrade guide.
@ramonsmits ramonsmits self-assigned this Oct 12, 2023
@ramonsmits ramonsmits marked this pull request as draft October 12, 2023 12:51
@ramonsmits ramonsmits marked this pull request as ready for review October 12, 2023 18:03
@ramonsmits
Copy link
Member Author

FYI: To test the powershell module locally

  1. Perform a build
  2. Run Import-Module -Name S:\ServiceControl\deploy\PowerShellModules\Particular.ServiceControl.Management -Verbose where S:\ServiceControl is the folder to your SC git folder
  3. Run the sc-upgrade and audit-upgrade commands

@tmasternak tmasternak merged commit 56dc504 into master Oct 13, 2023
@tmasternak tmasternak deleted the installer-storage-engine-check branch October 13, 2023 09:32
@DavidBoike DavidBoike added this to the 5.0.0 milestone Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants