moosh icon indicating copy to clipboard operation
moosh copied to clipboard

course-restore -- Restore pre-check failed

Open cyberjames opened this issue 8 years ago • 0 comments

  • moosh version:0.23
  • moodle version:3.1.1
    • database:5.5.40
  • php version:5.4.45
  • operating system:AWS Linux

Actual behaviour

Expected behaviour

Steps to reproduce

  1. moosh course-restore /path/to/file.mbz 31 It produces the error below but when web ui, there is an option of "continue" button to skip that error. How todo that in moosh?

....... ....... saving controller to db calculating controller checksum xxxxxxxxxxxxxxxxxxxxxxxx loading controller from db Restore pre-check failed! array(1) { ["warnings"]=> array(1) { [0]=> string(97) "The role in the backup file cannot be mapped to any of the roles that you are allowed to assign." } }

cyberjames avatar Feb 01 '17 05:02 cyberjames