Moodle

restore issue

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Backup
  • Labels:
    None
  • Environment:
    Share hosting - MySQL 5.0.51a - PHP 5.2.6
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

This is very weird.
'm logged in as administrator.
I'm restoring 1.6.5+ courses without users (nor userdata).
Backup file in Front Page - Site files.
Moodle 1.9.2+ ((Build: 20080806) has to create a new course in an empty category.
The restore process tells me the (26) categories I made are not available.
If I continue the restore process it ruines my Moodle frontpage: apparently the restored course overwrites parts of it.
This restored course doesn't show up in the course list.

I then tried the blank course solution.
Uploaded backup file in Course files.
The zip file is OK: Moodle lists all files.
Roles assigned: editingteacher, teacher and Student
The backup fails at forums telling me "the default teacher role was not found".
After that I get a "No files found" message and I get transfered to the front page.
Categories indicates there was a course created but inside the category there's nothing.
To delete the whole thing I have to delete the categorie

Now, if I opt for a restore without the forums the backup executes correctly.
Is this a bug?
Is this somekind of a role issue?

Activity

Hide
Jordan Zebor added a comment -

I can confirm this on PHP 5 and MySQL 5.0.45 when using the same Moodle version. I was unable to choose a category from the list when the backup file was in context of the frontpage. Once these backup files were moved into the context of another course the restore worked as it should.

Show
Jordan Zebor added a comment - I can confirm this on PHP 5 and MySQL 5.0.45 when using the same Moodle version. I was unable to choose a category from the list when the backup file was in context of the frontpage. Once these backup files were moved into the context of another course the restore worked as it should.
Hide
Wen Hao Chuang added a comment -

This seems to be still an issue in the latest 1.9.5+ (20090702) codes?

Show
Wen Hao Chuang added a comment - This seems to be still an issue in the latest 1.9.5+ (20090702) codes?
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Dates

  • Created:
    Updated:
    Resolved: