4. run dataset APIs: execute the following HTTP request on the Dataverse 4.0 application to initiate dataset migration: http://<hostname>/api/batch/migrate?path=<parent directory of DDI files>&key=<Dataverse Admin API Key> Where to find <parent directory of DDI files>? is <Dataverse Admin API Key> the same as Dataverse Admin API Token? if not, where to find it? Thanks in advance! | |
4. run dataset APIs: execute the following HTTP request on the Dataverse 4.0 application to initiate dataset migration: http://<hostname>/api/batch/migrate?path=<parent directory of DDI files>&key=<Dataverse Admin API Key> Where to find <parent directory of DDI files>? is <Dataverse Admin API Key> the same as Dataverse Admin API Token? if not, where to find it? Thanks in advance! | |
|
|
Yes, key is the same as API token.
The parent directory of DDI files is the path to the directory where the ddi files were created in step 2 of the migration_presteps.txt, 2. "Run the script ./versions_source_".
Please check the directory from which you ran this script. There should be a subdirectory named ddi and that is where the files are generated. So, the full path in the above migration command should be <path where versions_source_ script was run>/ddi , I believe.
Sent: Wednesday, November 9, 2016 10:33:44 AM
To: Dataverse Migration Working Group
Subject: dataverse migration - DDI
While migrating dataverse from 3.6.2 to 4.5.1, I have a question regarding the following step:
4. run dataset APIs: execute the following HTTP request on the Dataverse 4.0 application to initiate dataset migration: http://<hostname>/api/batch/migrate?path=<parent directory of DDI files>&key=<Dataverse Admin API Key> Where to find <parent directory of DDI files>? is <Dataverse Admin API Key> the same as Dataverse Admin API Token? if not, where to find it? Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Dataverse Migration Working Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-migration-wg+unsub...@googlegroups.com.
To post to this group, send email to dataverse-migration-wg@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-migration-wg/5ec314d1-841c-4962-8864-949b03e8a91b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
OK, that is the problem. At the top of the migration_presteps doc it says to download and use the v3.6.3 version of the war file in order to support exporting versions.
I'm not sure why you had 0 results but at the very least you should upgrade to v3.6.3, rerun the export and confirm and preserve the ddi directory. You could potentially zip up that directory and move it to your target machine and run the import there but confirm it actually exports DDI files.
OK, that is the problem. At the top of the migration_presteps doc it says to download and use the v3.6.3 version of the war file in order to support exporting versions.
I'm not sure why you had 0 results but at the very least you should upgrade to v3.6.3, rerun the export and confirm and preserve the ddi directory. You could potentially zip up that directory and move it to your target machine and run the import there but confirm it actually exports DDI files.
Quick question: when you ran the versions_source script, which namespace did you specify?
1902.1 is our namespace and won't be present in your db. Make sure you are using the right one(s). If you have more than one, you will need to repeat for each.
Otherwise your steps to create a test v3.6 source platform seem ok. I am not sure you need the production files at this point but am checking. I did not see where you upgraded your test v3.6.2 war file to v3.6.3. Was that done? Also, confirm you can access the db from this box, does the app load and function from a browser?
Try checking the server.log for errors too when you run the export.