Copied to clipboard

Flag this post as spam?

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


  • JacobMarcussen 7 posts 77 karma points
    1 week ago
    JacobMarcussen
    0

    Articulate migration/upgrade. Umbraco 13

    Hi, So i have a problem with Articulate. I had a Umbraco 7 site running Articulate 3. I've now upgraded, so im running Umbraco 13 with articulate 5. It tries to run an unattented upgrade for the package everytime i run, but it fails. I dont know if it needs the upgrade or its an error. I ask since im having issues with passing/accesing the correct models in my custom theme. It tries to bind to IPublishedContent even though i do @model Articulate.Models.TheModelName. And theres not really any in depth documentation for this, so i hoped this might be the cause :) Nevertheless here's the error:

    Thanks!

    [15:24:56 INF] Starting unattended package migration for Articulate [Timing 76c9f55] [15:24:56 INF] Starting 'Articulate'... [15:24:56 INF] At origin [15:24:56 INF] Execute MigrateToPackageData [15:25:08 ERR] Exception (75125188). Microsoft.Data.SqlClient.SqlException (0x80131904): String or binary data would be truncated. The statement has been terminated.  at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)  at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)  at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)  at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)  at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()  at Microsoft.Data.SqlClient.SqlDataReader.getMetaData()  at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)  at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)  at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)  at Microsoft.Data.SqlClient.SqlCommand.ExecuteScalar()  at Umbraco.Cms.Infrastructure.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)  at NPoco.Database.ExecuteScalarHelper(DbCommand cmd)  at NPoco.Database.NPoco.IDatabaseHelpers.ExecuteScalarHelper(DbCommand cmd)  at NPoco.DatabaseTypes.SqlServerDatabaseType.ExecuteInsert[T](Database db, DbCommand cmd, String primaryKeyName, Boolean useOutputClause, T poco, Object[] args)  at NPoco.Database.InsertAsyncImp[T](PocoData pocoData, String tableName, String primaryKeyName, Boolean autoIncrement, T poco, Boolean sync)  at NPoco.AsyncHelper.RunSync[T](Task1 task)  at NPoco.Database.Insert[T](String tableName, String primaryKeyName, Boolean autoIncrement, T poco)  at NPoco.Database.Insert[T](T poco)  at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.DocumentRepository.PersistNewItem(IContent entity)  at Umbraco.Cms.Core.Cache.DefaultRepositoryCachePolicy2.Create(TEntity entity, Action1 persistNew)  at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityRepositoryBase2.Save(TEntity entity)  at Umbraco.Cms.Core.Services.ContentService.Save(IEnumerable1 contents, Int32 userId)  at Umbraco.Cms.Core.Services.ContentService.Umbraco.Cms.Core.Services.IContentServiceBase<Umbraco.Cms.Core.Models.IContent>.Save(IEnumerable1 contents, Int32 userId)  at Umbraco.Cms.Infrastructure.Packaging.PackageDataInstallation.ImportContentBase[TContentBase,TContentTypeComposition](IEnumerable1 roots, Int32 parentId, IDictionary2 importedDocumentTypes, Int32 userId, IContentTypeBaseService1 typeService, IContentServiceBase1 service)  at Umbraco.Cms.Infrastructure.Packaging.PackageDataInstallation.<>cDisplayClass2002.<ImportContentBase>b__0(CompiledPackageContentBase x)  at System.Linq.Enumerable.SelectManySingleSelectorIterator2.ToList()  at Umbraco.Cms.Infrastructure.Packaging.PackageDataInstallation.ImportContentBase[TContentBase,TContentTypeComposition](IEnumerable1 docs, IDictionary2 importedDocumentTypes, Int32 userId, IContentTypeBaseService1 typeService, IContentServiceBase1 service)  at Umbraco.Cms.Infrastructure.Packaging.PackageDataInstallation.InstallPackageData(CompiledPackage compiledPackage, Int32 userId)  at Umbraco.Cms.Infrastructure.Packaging.PackageInstallation.InstallPackageData(CompiledPackage compiledPackage, Int32 userId, PackageDefinition& packageDefinition)  at Umbraco.Cms.Core.Services.Implement.PackagingService.InstallCompiledPackageData(XDocument packageXml, Int32 userId)  at Umbraco.Cms.Infrastructure.Packaging.ImportPackageBuilderExpression.Execute()  at Umbraco.Cms.Infrastructure.Packaging.ImportPackageBuilder.Do()  at Umbraco.Cms.Infrastructure.Packaging.AutomaticPackageMigrationPlan.MigrateToPackageData.Migrate()  at Umbraco.Cms.Infrastructure.Migrations.MigrationBase.Run()  at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunMigration(Type migrationType, MigrationContext context)  at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunScopedMigration(Type migrationType, MigrationPlan plan)  at Umbraco.Cms.Infrastructure.Migrations.MigrationPlanExecutor.RunMigrationPlan(MigrationPlan plan, String fromState) ClientConnectionId:aab262df-995e-4a37-a2ce-f65b9b7f14f5 Error Number:8152,State:30,Class:16 [15:25:08 ERR] Plan failed at step 8c85afa6-fb3a-3919-8adf-7d07f22f2c0b [15:25:08 INF] Unattended upgrade completed for Articulate (12551ms) [Timing 76c9f55]

Please Sign in or register to post replies

Write your reply to:

Draft