A Word doc outlining a comprehensive step-by-step overview of the migration/transfer process between a source and destination EC2.
I am running into an error on step 4 of this document on the 3500.5.0 REST/LTI Developer AMI. batch_ImportExport is running through my courses to archive them but I get this error on each course, example output for course_id 123:
Executed archive for 123 to /var/tmp/course_archives/Operation output:Jun 18, 2019 7:21:44 AM - [FATAL] Fatal: A fatal error that prevents processing from continuing has occurred. The reason for the error is: Unable to create necessary temporary directory. For more information, consult the detailed log.Jun 18, 2019 7:21:44 AM - [WARNING] Status: The operation archive did not complete
Executed archive for 123 to /var/tmp/course_archives/
Jun 18, 2019 7:21:44 AM - [FATAL] Fatal: A fatal error that prevents processing from continuing has occurred. The reason for the error is:
Unable to create necessary temporary directory.
For more information, consult the detailed log.
Jun 18, 2019 7:21:44 AM - [WARNING] Status: The operation archive did not complete
The command I am running is:
sudo -u root /usr/local/blackboard/apps/content-exchange/bin/batch_ImportExport.sh -f /var/tmp/COURSES_Batch_Archive.txt -l 1 -t archive
This seems like it should be a simple permissions issue, but root owns /var/tmp and and the permissions are set to rwxrwxrwt. These should be the defaults as I haven't changed anything on the server related to permissions. I later tried creating a course_archives directory in /var/tmp, but the error is the same.
My COURSES_Batch_Archive.txt looks like this:
but I also want to archive with grades and resources so I have also tried this
I have tried archiving courses one at a time through the System Administration UI, and while it says it will email me when the archive is ready I never get an email and I don't see any downloads available on the archive page. The administrator user is using my correct email address.
Thanks for any advice on how to proceed.
Retrieving data ...