Copying Quizzes Between Courses not Working

65 views
Skip to first unread message

mmc...@lrei.org

unread,
Apr 11, 2015, 8:15:31 PM4/11/15
to canvas-l...@googlegroups.com
Hello-
Is there anything related to self hosting Canvas and not having the Copying Quizzes between courses work?
The Job is shown as complete without error but the quiz is not copied over. 
thank you
Matt

Samuel Santhosh

unread,
Apr 11, 2015, 11:56:44 PM4/11/15
to canvas-l...@googlegroups.com, mmc...@lrei.org
Hi Matt,

Make sure you have the QTIMigrationTool package installed in your canvas instance,
The QTIMigrationTool needs to be installed for copying content from one Canvas course to another to succeed.
check that in  <application root>/vendor

If you don't have the package installed, follow the below links,

mmc...@lrei.org

unread,
Apr 12, 2015, 3:54:51 PM4/12/15
to canvas-l...@googlegroups.com, mmc...@lrei.org
I tried installing the package and I get this error:

sysadmin@class:~$ cd /var/canvas/vendor

sysadmin@class:/var/canvas/vendor$ git clone https://github.com/instructure/QTIMigrationTool.git QTIMigrationTool

fatal: could not create work tree dir 'QTIMigrationTool'.: Permission denied

mmc...@lrei.org

unread,
Apr 12, 2015, 8:30:43 PM4/12/15
to canvas-l...@googlegroups.com, mmc...@lrei.org

I got all the way to the last step of restarting the scripts but I get this error


sysadmin@class:/var/canvas$ script/delayed_job restart

Bundler version 1.6.0 is required; you're currently running 1.7.12. Maybe try `bundle _1.7.10_ restart`, or `gem uninstall bundler -v 1.7.12`.



How might I fix this?

Graham Ballantyne

unread,
Apr 12, 2015, 8:43:52 PM4/12/15
to canvas-l...@googlegroups.com, mmc...@lrei.org
As the error message says, uninstall bundler 1.7.2, install 1.6.0. 

— Graham
--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matthew Mclean

unread,
Apr 12, 2015, 8:47:00 PM4/12/15
to Graham Ballantyne, canvas-l...@googlegroups.com
Thanks Graham. I did so and then when trying to restart scripts I get this and I cannot decipher the error:

Successfully uninstalled bundler-1.7.12

sysadmin@class:/var/canvas$ script/delayed_job restart

/var/canvas/vendor/bundle/ruby/1.9.1/gems/canvas-jobs-0.9.8/lib/delayed/settings.rb:34:in `read': Permission denied - /var/canvas/config/delayed_jobs.yml (Errno::EACCES)

from /var/canvas/vendor/bundle/ruby/1.9.1/gems/canvas-jobs-0.9.8/lib/delayed/settings.rb:34:in `worker_config'

from /var/canvas/vendor/bundle/ruby/1.9.1/gems/canvas-jobs-0.9.8/lib/delayed/pool.rb:315:in `read_config'

from /var/canvas/vendor/bundle/ruby/1.9.1/gems/canvas-jobs-0.9.8/lib/delayed/pool.rb:45:in `run'

from script/delayed_jo

Graham Ballantyne

unread,
Apr 12, 2015, 9:05:56 PM4/12/15
to Matthew Mclean, canvas-l...@googlegroups.com
Permission denied - /var/canvas/config/delayed_jobs.yml (Errno::EACCES)

What are the permissions on this file? Can the user that canvas is running under read the file?

— Graham

Matthew Mclean

unread,
Apr 12, 2015, 9:46:50 PM4/12/15
to Graham Ballantyne, canvas-l...@googlegroups.com
I'm not sure what the permissions of the file are. I'm logged in as the canvas admin

Graham Ballantyne

unread,
Apr 12, 2015, 11:06:31 PM4/12/15
to Matthew Mclean, canvas-l...@googlegroups.com
ls -la /var/canvas/config/delayed_jobs.yml

What does that output?

— Graham

> On Apr 12, 2015, at 18:46, Matthew Mclean <mmc...@lrei.org> wrote:
>
> /var/canvas/config/delayed_jobs.yml
Reply all
Reply to author
Forward
0 new messages