You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried with and without compression, single process on restore (to avoid missing parent orgs), disabling the hierarchy plugin. I can create orgs through the GUI just fine.
The server trips at no_loops_in_hierarchy:
'''Checks that the parent groups specified in the data would not cause
a loop in the group hierarchy, and therefore cause the recursion up/down
the hierarchy to get into an infinite loop.
'''
Since the data causing this is production data I'm confused how it would be fine on the old instance, but throw this problem in the new instance.
Question re ckanapi and ckanext-hierarchy: I'm trying to migrate organizations with a hierarchy and am getting server errors when migrating.
ckanapi dump organizations --all -O organizations.jsonl.gz -z -p 4 -r OLDSITE
ckanapi load organizations -I organizations.jsonl.gz -z -p 1 -r NEWSITE -a $APIKEY
I've tried with and without compression, single process on restore (to avoid missing parent orgs), disabling the hierarchy plugin. I can create orgs through the GUI just fine.
The server trips at no_loops_in_hierarchy:
'''Checks that the parent groups specified in the data would not cause
a loop in the group hierarchy, and therefore cause the recursion up/down
the hierarchy to get into an infinite loop.
'''
Since the data causing this is production data I'm confused how it would be fine on the old instance, but throw this problem in the new instance.
See also https://datawagovau.readthedocs.io/en/latest/disaster-recovery.html
Possible problem: orgs reference now deleted duplicate user profiles? approach: modify organizations.jsonl to exclude user dict, e.g. using
jq
.The text was updated successfully, but these errors were encountered: