Project

General

Profile

Actions

Task #3410

closed

Moodle - GSoD Course migration from LibreItalia to TDF

Added by Emiliano Vavassori over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Category:
Website
Target version:
Team - Qlater
Start date:
Due date:
% Done:

0%

Tags:

Description

Hi all,

Since the LibreItalia instance of Moodle is pretty old (3.7.8 build 20200914; 3.9 is out), I think that it could be worthy to migrate the course over TDF infra, also to help with the course tools issue Prashant and Olivier are experiencing.

The present task to coordinate and seek a shared process behind it.

IIRC there's the possibility to export a backup of a single course from the command line and restore it to another instance:
https://docs.moodle.org/39/en/Course_backup
https://docs.moodle.org/39/en/Course_restore

I think this would be a good path, but please advice otherwise :)

Thanks, regards,

Actions #1

Updated by Emiliano Vavassori over 3 years ago

Emiliano Vavassori wrote:

Since the LibreItalia instance of Moodle is pretty old (3.7.8 build 20200914; 3.9 is out), I think that it could be worthy to migrate the course over TDF infra

Also, an upgrade in place on the LibreItalia infra is not possible, because of an old version of MySQL/MariaDB in the backend.

Actions #2

Updated by Emiliano Vavassori over 3 years ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Low
  • Target version changed from Q4/2020 to Qlater

After a quick talk with Olivier (Documentation meeting), it seems the timeline within GSoD is pretty tight; as such, we agreed not to waste precious time with migrations before the GSoD window is expired.

So let's simply freeze the task for the time being, until the GSoD activities are completed.

Actions #3

Updated by Olivier Hallot over 3 years ago

Time has come to move or copy the contents of LibreItalia Advanced Calc to an TDF instance.

Actions #4

Updated by Emiliano Vavassori over 3 years ago

I backed up the course from the web interface, which is available here: https://cloud.libreitalia.org/s/SAGgDw7WKRqNiNZ

I don't have access to the TDF instance and Guilhem is on vacation ATM IIRC, as such I cannot move this more forward than this.

Guilhem Moulin please poke back when you are available to do this; I think this is not urgent, but please state if it is otherwise.

Actions #5

Updated by Guilhem Moulin over 3 years ago

Emiliano Vavassori wrote:

Guilhem Moulin please poke back when you are available to do this; I think this is not urgent, but please state if it is otherwise.

I'm back now :-) Not the right person to assess urgency though: the instance was deployed 2.5 months ago and no one from the doc team has ever tried to log in, and the only provisioned accounts are Sophie's and mine. Started the VM again last week-end and upgraded Moodle to 3.10.0.

Courses can be imported without changing the settings right? Otherwise that deployment effort was just wasted. Either way, next step is same as early October, doc team members need to log in so their account can be provisioned and infra can grant privileges.

Actions #6

Updated by Emiliano Vavassori over 3 years ago

Guilhem Moulin wrote:

Not the right person to assess urgency though

Well, more meant to Olivier than you :) But no worries.

Guilhem Moulin wrote:

the instance was deployed 2.5 months ago and no one from the doc team has ever tried to log in, and the only provisioned accounts are Sophie's and mine. Started the VM again last week-end and upgraded Moodle to 3.10.0.

Nice.

Guilhem Moulin wrote:

Courses can be imported without changing the settings right?

To my understanding, the backup can be restored by anyone that has the right to publish a course, additionally to the admin (which can always restore a course, even by CLI). So, either way should work.

Let me know :)

Actions #7

Updated by Guilhem Moulin over 3 years ago

Emiliano Vavassori wrote:

To my understanding, the backup can be restored by anyone that has the right to publish a course, additionally to the admin (which can always restore a course, even by CLI). So, either way should work.

Let me know :)

Cool, leaving that to Olivier or other doc team members then (pending account provisioning) :-)

Actions #8

Updated by Olivier Hallot over 3 years ago

Moodle admin rights assigned I hit the following issues:

1) Uploading backup file from https://cloud.libreitalia.org/s/SAGgDw7WKRqNiNZ as in comment#4 I get an incomplete content and messed page.

Hint: Wrong course... Should be "AC" and not "AdvCalc"

2) Doing right backup ("AC") backup from corsi.libreitalia, and uploading in TDF Moodle I get

"Error connecting to the server"

Which does not help very much, with no access to any loging. The file to restore is https://nextcloud.documentfoundation.org/s/yDGgRQEfg8gyMXb

Actions #9

Updated by Guilhem Moulin over 3 years ago

Olivier Hallot wrote:

Which does not help very much, with no access to any loging.

I'm certain your browser console has more and says something "Error 413 — body too large". Temporarily raised the limit to something larger than this file.

Actions #10

Updated by Olivier Hallot over 3 years ago

Backup restored.
Thank you.

Actions #11

Updated by Sophie Gautier over 2 years ago

  • Status changed from In Progress to Closed

Closing

Actions

Also available in: Atom PDF