Opencast-Moodle / moodle-block_opencast

Block to manage Opencast publications in moodle
22 stars 27 forks source link

Add support for Opencast maintenance periods #194

Open abias opened 3 years ago

abias commented 3 years ago

This issue might overlap with #133.

At our university, Opencast has a scheduled maintenance downtime which does not fall into the scheduled maintenance downtime of Moodle.

This results in three problems which could be improved:

a) Teachers might upload videos in Moodle and Moodle might transfer them to Opencast when Opencast maintenance is started. The Opencast admins are then having a harder time maintaining the Opencast cluster in reasonable without breaking running uploads or workflows. It would be beneficial if Moodle would stop transferring videos to Opencast slightly before the Opencast maintance period starts and inform the teachers that their uploaded videos will be processed with some delay.

b) Teachers will receive misleading information on the Opencast videos overview page within Moodle when Opencast is down. With the current codebase of block_opencast, it may seem that all videos have disapperead when Opencast is not reachable. It would be benefial if Moodle would inform the teacher that Opencast is currently maintained and that no interaction is currently possible.

c) Students will receive misleading information and error messages when they want to view videos within LTI activities. It would be benefial if Moodle would inform the students that Opencast is currently maintained and that viewing videos is currently not possible.

For now, this is just a wishlist without planned implementations. Discussions about the particular implementation should be done before implementing anything.

TamaraGunkel commented 3 years ago

a) Taking up the suggestion from Jan, I would prefer the admin switch option. Admins can set a time slot between no connections to opencast should be made.

b) I'm currently improving the error messages. However, the current erro message would be "Could not reach Opencast server." This implies that something is broken and should be replaced by a better message if the maintainence mode is enabled.

c) We could send out notification a day / an hour before the maintainence period starts. I don't see a good way to display an appropiate method in the LTI activities. As an alternative we could leave it to the admins to notify students. At our university, we manually create notifications for maintainence periods that are displayed on every page.