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
7 stars 2 forks source link

After migration channel is failing to load. Error: the virtual path must start with "~" #265

Open farmergeek94 opened 23 hours ago

farmergeek94 commented 23 hours ago

Brief bug description

After migration from a kentico 12 portal site, the channel fails to load with the error "the virtual path must start with '~'"

Repro steps

Go to the admin, go to the channel. Get a kentico 500 error message

Expected behavior

Expect to be able to see the page tree.

Test environment

Screenshots

image

tkrch commented 9 hours ago

Hi @farmergeek94, can you share log output from Migration Tool? If You prefer not to share here, You may send it to my temp email mtsupport.half846@passmail.net

farmergeek94 commented 5 hours ago

Hi @farmergeek94, can you share log output from Migration Tool? If You prefer not to share here, You may send it to my temp email mtsupport.half846@passmail.net

Thanks, I sent it via email.

farmergeek94 commented 5 hours ago

By chance, does the CMSHashStringSalt on xperience and the one in the portal engine need to match during migration?

farmergeek94 commented 5 hours ago

Also just a note, we just realized that we were running a version of the tool from last week as the namespace was still toolkit. So we are trying with the newest version.

farmergeek94 commented 2 hours ago

Also just a note, we just realized that we were running a version of the tool from last week as the namespace was still toolkit. So we are trying with the newest version.

No go, same issue,

farmergeek94 commented 2 hours ago

Note: there are custom routes being used in in the portal. Those are coming over with ROUTE:/ prepended to the url. Would that be affecting this?

tkrch commented 24 minutes ago

What version is source Kentico instance? Is is KX13?

Note: there are custom routes being used in in the portal. Those are coming over with ROUTE:/ prepended to the url. Would that be affecting this?

yes, that might be the issue.

Issue with custom url patterns was discussed here

do You have Source instance API discovery set up? It might help with some of custom url paths if source Kentico instance is version 13.

What i meant by log, is full application log configured with appsettings.json: image