Migration tool import: identifier stack_id is missing
Permalink
Hi,
I want to use migration tool to upgrade from 5.6.x to version 8.1
I have a full export of my content in v 5.6 ... and the migration tool on 8.1 and added all data (xml and files).
The import Batch section does not show any error ("No errors detected." in a green box on top) - the mappings seem to be fine. But if I press [Import Batch to site] I get an error message in the popup window (that shows the import progress) after a few seconds:
Publishing Content...
The identifier stack_id is missing for a query of Concrete\Core\Entity\Statistics\UsageTracker\StackUsageRecord
I also enabled debug output in the settings .. but I don't get a more detailed message. I don't know what page is the reason for it,
Who has an Idea to handle and fix that error? I created my stacks in v8.1 in /index.php/dashboard/blocks/stacks already - do I need to set the same stack IDs somehow?
Or must I upgrade to 5.7 first - then to 8.1?
Thanks for your help!
Regards,
Axel
I want to use migration tool to upgrade from 5.6.x to version 8.1
I have a full export of my content in v 5.6 ... and the migration tool on 8.1 and added all data (xml and files).
The import Batch section does not show any error ("No errors detected." in a green box on top) - the mappings seem to be fine. But if I press [Import Batch to site] I get an error message in the popup window (that shows the import progress) after a few seconds:
Publishing Content...
The identifier stack_id is missing for a query of Concrete\Core\Entity\Statistics\UsageTracker\StackUsageRecord
I also enabled debug output in the settings .. but I don't get a more detailed message. I don't know what page is the reason for it,
Who has an Idea to handle and fix that error? I created my stacks in v8.1 in /index.php/dashboard/blocks/stacks already - do I need to set the same stack IDs somehow?
Or must I upgrade to 5.7 first - then to 8.1?
Thanks for your help!
Regards,
Axel
I've experienced this with stacks too. My solution was to clone the old site to a different server to have a copy to mess up. I deleted all global area content and did a new export. With this export i was able to import to 8.0.3
Had to recreate all global content, but at least had all my other content to import :-)
Had to recreate all global content, but at least had all my other content to import :-)
Thanks to both of you!
I have both installations of 5.6 an 8.1 locally on my pc to play with the installations.
What I found in the meanwhile: after opening the batch in the mapping of the blocktypes I mapped "core_stack_display" to "ignored". Then the import runs and my pages were imported. So it works to export 5.6 and import into 8.1.
I "only" miss all the used stacks (like buurvrouw said - with the difference to set a ignore mapping instead of deleting stacks before).
Maybe I find something to keep the stacks (and I will add it here) - or I need to add all stacks on 8.1 by hand :-/
regards,
Axel
I have both installations of 5.6 an 8.1 locally on my pc to play with the installations.
What I found in the meanwhile: after opening the batch in the mapping of the blocktypes I mapped "core_stack_display" to "ignored". Then the import runs and my pages were imported. So it works to export 5.6 and import into 8.1.
I "only" miss all the used stacks (like buurvrouw said - with the difference to set a ignore mapping instead of deleting stacks before).
Maybe I find something to keep the stacks (and I will add it here) - or I need to add all stacks on 8.1 by hand :-/
regards,
Axel
Hi, just to finish the topic:
with the migration I was unable to transfer the stack items. Even if they are in the export xml file.
Additionally the export file has a lot of empty attributes (see screenshot - in v5.6 it has data), so I lost
- meta keywords,
- meta description,
- tags on pages and
- custom attributes.
With all visible content it helps a lot but adding all attributes and tags after import is still a lot of work.
regards,
Axel
with the migration I was unable to transfer the stack items. Even if they are in the export xml file.
Additionally the export file has a lot of empty attributes (see screenshot - in v5.6 it has data), so I lost
- meta keywords,
- meta description,
- tags on pages and
- custom attributes.
With all visible content it helps a lot but adding all attributes and tags after import is still a lot of work.
regards,
Axel
I would try updating to 5.7 first and then to v8 and see if that works.