Copied to clipboard

Flag this post as spam?

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


  • Andriy Boichuk 5 posts 71 karma points
    Jul 01, 2024 @ 06:45
    Andriy Boichuk
    0

    13 to 14 updating bd problems

    I am updating Umbraco from version 10 to 14. Upgrading to version 13 didn't present major issues, but transitioning from 13 to 14 has caused some problems. I used Usync migration to update nested content and grid to the new variations, but I'm encountering issues with updating the database from version 13 to 14. Can you help me resolve this? enter image description here

    its logs: {"@t":"2024-07-01T06:43:44.5192483Z","@mt":"Database configuration failed","@l":"Error","@x":"System.Text.Json.JsonException: Expected start object\r\n at Umbraco.Cms.Infrastructure.Serialization.JsonBlockValueConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)\r\n at System.Text.Json.Serialization.JsonConverter1.ReadAsObject(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)\r\n at System.Text.Json.Serialization.Converters.CastingConverter1.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)\r\n at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)\r\n at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)\r\n at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo1 jsonTypeInfo, Nullable1 actualByteCount)\r\n at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo1 jsonTypeInfo)\r\n at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)\r\n at Umbraco.Cms.Infrastructure.Serialization.SystemTextJsonSerializerBase.Deserialize[T](String input)\r\n at Umbraco.Cms.Core.Models.Blocks.BlockEditorDataConverter2.Deserialize(String json)\r\n at Umbraco.Cms.Core.PropertyEditors.BlockEditorValues2.DeserializeAndClean(Object propertyValue)\r\n at Umbraco.Cms.Core.PropertyEditors.BlockEditorPropertyValueEditor2.GetAllPropertyValues(Object value)+MoveNext()\r\n at System.Linq.Lookup2.Create[TSource](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)\r\n at System.Linq.GroupedEnumerable3.GetEnumerator()\r\n at Umbraco.Cms.Core.PropertyEditors.BlockEditorPropertyValueEditor2.GetReferences(Object value)+MoveNext()\r\n at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext()\r\n at Umbraco.Cms.Core.PropertyEditors.DataValueReferenceFactoryCollection.GetReferencesEnumerable(IDataEditor dataEditor, IEnumerable1 values)+MoveNext()\r\n at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other)\r\n at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer)\r\n at System.Linq.Enumerable.ToHashSet[TSource](IEnumerable1 source, IEqualityComparer1 comparer)\r\n at System.Linq.Enumerable.ToHashSet[TSource](IEnumerable1 source)\r\n at Umbraco.Cms.Core.PropertyEditors.DataValueReferenceFactoryCollection.GetReferences(IDataEditor dataEditor, IEnumerable1 values)\r\n at Umbraco.Cms.Core.PropertyEditors.DataValueReferenceFactoryCollection.GetAllReferences(IPropertyCollection properties, PropertyEditorCollection propertyEditors)\r\n at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.ContentRepositoryBase3.PersistRelations(TEntity entity)\r\n at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.DocumentRepository.PersistUpdatedItem(IContent entity)\r\n at Umbraco.Cms.Core.Cache.DefaultRepositoryCachePolicy2.Update(TEntity entity, Action1 persistUpdated)\r\n at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityRepositoryBase`2.Save(TEntity entity)\r\n at Umbraco.Cms.Core.Services.ContentService.SaveBlueprint(IContent content, Int32 userId)\r\n at Umbraco.Cms.Infrastructure.Migrations.Upgrade.V140_0.MoveDocumentBlueprintsToFolders.Migrate()\r\n at Umbraco.Cms.Infrastructure.Migrations.MigrationBase.Run()\r\n at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunMigration(Type migrationType, MigrationContext context)\r\n at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunScopedMigration(Transition transition, MigrationPlan plan)\r\n at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunMigrationPlan(MigrationPlan plan, String fromState)","@tr":"e58e98318693784276070b7ca8eef440","@sp":"680c9a9f1ee7986c","SourceContext":"Umbraco.Cms.Infrastructure.Migrations.Install.DatabaseBuilder","ActionId":"aaad7d19-9264-4820-bbd8-e37ec5dc1924","ActionName":"Umbraco.Cms.Api.Management.Controllers.Upgrade.AuthorizeUpgradeController.Authorize (Umbraco.Cms.Api.Management)","RequestId":"8000007e-0007-f700-b63f-84710c7967bb","RequestPath":"/umbraco/management/api/v1/upgrade/authorize","ProcessId":14192,"ProcessName":"iisexpress","ThreadId":5,"ApplicationId":"22bcec2aade440028a4e89739a34771abd12bbcd","MachineName":"DESKTOP-PUPP91N","Log4NetLevel":"ERROR","HttpRequestId":"dd4357df-2f42-4a13-b33d-371ca0bc03ce","HttpRequestNumber":5,"HttpSessionId":"f8534b8a-fa29-5b5f-2b89-251f32e54094"} {"@t":"2024-07-01T06:43:44.5198638Z","@mt":"Failed {StepName}, with the message: {Message}","@l":"Error","@tr":"e58e98318693784276070b7ca8eef440","@sp":"680c9a9f1ee7986c","StepName":"DatabaseUpgradeStep","Message":"The database failed to upgrade. ERROR: The database configuration failed with the following message: Expected start object\n Please check log file for additional information (can be found in 'LoggingSettings.Directory')","SourceContext":"Umbraco.Cms.Core.Services.Installer.UpgradeService","ActionId":"aaad7d19-9264-4820-bbd8-e37ec5dc1924","ActionName":"Umbraco.Cms.Api.Management.Controllers.Upgrade.AuthorizeUpgradeController.Authorize (Umbraco.Cms.Api.Management)","RequestId":"8000007e-0007-f700-b63f-84710c7967bb","RequestPath":"/umbraco/management/api/v1/upgrade/authorize","ProcessId":14192,"ProcessName":"iisexpress","ThreadId":5,"ApplicationId":"22bcec2aade440028a4e89739a34771abd12bbcd","MachineName":"DESKTOP-PUPP91N","Log4NetLevel":"ERROR","HttpRequestId":"dd4357df-2f42-4a13-b33d-371ca0bc03ce","HttpRequestNumber":5,"HttpSessionId":"f8534b8a-fa29-5b5f-2b89-251f32e54094"}

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jul 01, 2024 @ 07:03
    Huw Reddick
    0

    I'm not sure there is a direct upgrade route from 13 to 14 as there are major changes in 14. Personally I would setup a blank new 14 site and then use Usync to migrate doctypes content etc, however you will almost certainly then need to manually check and massage things to get it all working correctly depending how complex your Umbraco setup is)

    If you have many packages installed it is likely most of these will not work in 14 due to the backoffice changes

  • Andriy Boichuk 5 posts 71 karma points
    Jul 01, 2024 @ 09:24
    Andriy Boichuk
    0

    When I import uSync from version 13 to version 14 (to a newly created database), I encounter an error with this. enter image description here

    And after that, my content remains empty.enter image description here

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jul 01, 2024 @ 09:32
    Huw Reddick
    0

    Do all your doc and data types get synced correctly?

  • Andriy Boichuk 5 posts 71 karma points
    Jul 01, 2024 @ 15:04
    Andriy Boichuk
    0

    Yes, all our document and data types sync correctly.

Please Sign in or register to post replies

Write your reply to:

Draft