Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesse Andrews 191 posts 716 karma points c-trib
    Jun 19, 2020 @ 17:48
    Jesse Andrews
    0

    Encountered initialization error after installing umarketing via nuget

    Umbraco Version: 8.2.2

    uMarketing Version: 1.1.2

    I installed the nuget package, but when I run it, it fails to finish running the migrations. Here is the error I'm getting.

    System.InvalidOperationException: A transaction with minimum RepeatableRead isolation level is required.
      at Umbraco.Core.Scoping.Scope.ReadLock(Int32[] lockIds) in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 496
      at Umbraco.Core.Services.Implement.MediaService.GetPagedChildren(Int32 id, Int64 pageIndex, Int32 pageSize, Int64& totalChildren, IQuery`1 filter, Ordering ordering) in D:\a\1\s\src\Umbraco.Core\Services\Implement\MediaService.cs:line 507
      at uMarketingSuite.Web.Migrations._2020_05_27.AddPersonalizationCustomerJourneyTables.EnsureMediaFolder(String folder, Udi& mediaFolderUdi)
      at uMarketingSuite.Web.Migrations._2020_05_27.AddPersonalizationCustomerJourneyTables.InsertDefaultCustomerJourneyData(IDatabase db)
      at uMarketingSuite.Web.Migrations._2020_05_27.AddPersonalizationCustomerJourneyTables.Migrate()
      at Umbraco.Core.Migrations.MigrationPlan.Execute(IScope scope, String fromState, IMigrationBuilder migrationBuilder, ILogger logger) in D:\a\1\s\src\Umbraco.Core\Migrations\MigrationPlan.cs:line 309
      at Umbraco.Core.Migrations.Upgrade.Upgrader.Execute(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, ILogger logger) in D:\a\1\s\src\Umbraco.Core\Migrations\Upgrade\Upgrader.cs:line 67
      at uMarketingSuite.Data.Common.Migrations.MigrationPlanExecuter.Execute(MigrationPlan plan, Boolean ignoreExceptions)
      at uMarketingSuite.Web.Migrations.UmsMigrationsComponent.Initialize()
      at Umbraco.Core.Composing.ComponentCollection.Initialize() in D:\a\1\s\src\Umbraco.Core\Composing\ComponentCollection.cs:line 31
      at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 159
    

    I've run migrations successfully in the project I'm testing in before, so I doubt it's a general issue. Could be an issue with the scope initialization, or maybe the latest code is not be compatible with umbraco 7.2.2.

  • Tom van Gessel 21 posts 266 karma points
    Jun 22, 2020 @ 06:38
    Tom van Gessel
    0

    Hi Jesse, thank you for reporting this issue. We have managed to reproduce the error on Umbraco 8.2.2. and uMarketingSuite 1.1.2. We will come back to you a.s.a.p.

  • [email protected] 406 posts 2135 karma points MVP 7x c-trib
    Jul 10, 2020 @ 07:32
    jeffrey@umarketingsuite.com
    0

    Hi Jesse,

    thanks for using the uMarketingSuite and sorry that you found this bug. But we're superhappy that you reported it, so we can fix it for you :)

    We've reported the issue on GitHub as well because we use that as our central bugtracking tool for end users (https://github.com/uMarketingSolutions/uMarketingSuite/issues/2).

    Also we're glad to let you know that we fixed the issue in the next release of the uMarketingSuite (1.2). We will release that version next week and will let you know when we released it! Hopefully you are willing to spend a some time testing whether the bug is now fixed.

    Thanks again and have a great friday,

    Jeffrey uMarketingSuite; the tool that will make all your dreams come true ;)

    enter image description here

  • [email protected] 406 posts 2135 karma points MVP 7x c-trib
    Jul 17, 2020 @ 15:26
    jeffrey@umarketingsuite.com
    100

    Hi Jesse,

    we've fixed your issue in release 1.2 of the uMarketingSuite (https://www.umarketingsuite.com/blog/product-update-july-2020/).

    If you have a few minutes; Could you verify that this actually fixes your issue? If so, please let us know! If not, let us know as well ;)

    Have a great weekend,

    Jeffrey

Please Sign in or register to post replies

Write your reply to:

Draft