Kentico / xperience-by-kentico-kentico-migration-tool

A customizable tool that migrates older Kentico solutions to the latest version of Xperience by Kentico.
MIT License
6 stars 1 forks source link

Kentico 12 to XbyK Migration - Site is not converting to Channel properly using migration tool #253

Open karthik-akqa opened 5 days ago

karthik-akqa commented 5 days ago

When we migrate the from Kentico 12 to XbyK, the site is not getting converted properly to channel properly and it shows as below. Due to this we were not able to view pages for the newly created content types. I tried to add a new channel into database using SQL queries, but it doesn't seem to be working. Can you help us understand what could be the issue for this as soon as possible please?

image

image

image

tkrch commented 4 days ago

Hi @karthik-akqa, could You share console output of process running XbyK after errors in UI occurred? Are there any errors shown in "Event log" app?

karthik-akqa commented 3 days ago

Hi @tkrch the above issue has been resolved after the performing a fresh migration again, but I'm getting the below error now:

image

Here's the log file: migration.toolkit-20241001.log

Could you please check on this? Thanks.

Note that I used the latest migration kit from the master branch.

tkrch commented 3 days ago

Error interpretation: migration tool cannot correctly determine path to media library.

@karthik-akqa in appsettings.json, what are values set to configuration keys:

  1. MigrateOnlyMediaFileInfo?
  2. KxCmsDirPath?

What is result of 2 queries on source database (K12):

Query 1:

SELECT * FROM CMS_SettingsKey WHERE KeyName = N'CMSMediaLibrariesFolder'
FOR XML AUTO

Query 2:

SELECT * FROM CMS_SettingsKey WHERE KeyName = N'CMSUseMediaLibrariesSiteFolder'
FOR XML AUTO

Information will help me find reproduction steps.

tkrch commented 3 days ago

there will be soon update on migration of media files to content items (in this week) that will add some missing features (rich text links update and more).

tkrch commented 3 days ago

@karthik-akqa You may try changes in PR #254, it affects feature mentioned in this issue and may bring improvement.

karthik-akqa commented 3 days ago

Hi @tkrch

Query 1 result

Query 2 result:

Sure, will try from the feature branch.

Thanks.

karthik-akqa commented 2 days ago

Hi @tkrch I tried running the migration tool from "feat/url_replacement_in_RTE" branch, but still getting the same error:

image

migration.toolkit-20241002.log

tkrch commented 2 days ago

Could you send me values of these settings?

@karthik-akqa in appsettings.json, what are values set to configuration keys:

  1. MigrateOnlyMediaFileInfo?
  2. KxCmsDirPath?
karthik-akqa commented 2 days ago

@tkrch

  1. MigrateOnlyMediaFileInfo: true
  2. KxCmsDirPath: D:\Kentico XbK Upgrade\MyProject\CMS
tkrch commented 1 day ago

@karthik-akqa set option "MigrateOnlyMediaFileInfo" to false. When "MigrateOnlyMediaFileInfo" is set to true, migration of media files to content items will fail (i will adjust error message) - it was meant for migrations to media libraries only.

latest changes are still in feature branch - #254, i have changed error message

Let me know if that helped