Upgraded to Moodle 4.1 as a test but none of the H5P activites copied over

ruthruane's picture

Hi I recently upgraded my moodle site from 3.11 to 4.1 and everything went smoothly. I am think though I am going to  have to roll it back to 3.11 again because not one of the H5P activities copied over with moodledata and all the courses are devoid of any H5P activities. Before I do a roll back is there an easy way of accessing my H5P content and getting the activities to load in the courses as they were in the 3.11 version of moodle. 

I was really excited about upgrading and really thought that H5P was complatible with Moodle 4.11

If I roll it back I suppose I can download all the H5P activites and then take screenshots of where they go and recreate them in the upgraded site. But I wish there was an easier way. 

I also tried to restore from a course back up and the H5P activities did not copy over. In the 3.11 version of moodle when I restored the courses from a course back up the H5P activities copied perfectly. I am really disappointed that I have to roll it back and that to upgrade to moodle 4.1 I will have to manually copy over the H5P activites and add them to the courses. 

Even if I could find the content files I might think about rebuilding them in the new version but I actually cannot even find the content files and when I go to add them it says that folder is empty. 

Thank you for any help or advice you can offer me. I dont mind to pay for your advice if you can help me or if anyone else can please. 

 

Summary: 
lost all my H5P content in the upgrade to 4.1 have to roll back to 3.11
otacke's picture

Hi Ruth!

 

Could you please let the H5P community know whether you are using the H5P plugin for moodle (usually associated with the black H5P symbol) or moodle's custom H5P integration (usually associated with the blue H5P symbol and the content bank)? While it is definitely sad that you're having trouble either way: the H5P plugin was created by the H5P core team who might help out here, but they have nothing to do with moodle's custom H5P integration. The latter was created by the moodle team and you might want to reach out to them if you are using their integration.

 

Best,

 

Oliver 

papi Jo's picture

To complement Oliver's answer, I suggest you re-post your question to the relevant Moodle H5P forum at https://moodle.org/mod/forum/view.php?id=8603. And please remember to state which H5P plugin you are using, the blue icon or the black icon.

ruthruane's picture

Thank you both for your replies.  Sorry for the delay with replying, I did not have notifications turned on. This issue is solved. What happened was that I realised that I forgot to copy over the H5P folder from my old moodle files and everything came back. What happened was when I tried to create a new H5P activity the black icon wasn't there, only the blue one. So the penny dropped that I had to copy over my H5P folder from my old moodle folder (old public.html back up) and it worked like a dream after that. I have found what I think might be a bug in the accordian activity the activity description that is displaying on the course page displays twice when the activity is opened and I cannot find anyway to make only one. I am attaching screen shots. There is only one photo there and one description. It displays as expected in the course page, but annoyingly repeats in the activity. The only option I can see is to delete the description altogether but I do not want to do that as it is a requirement to show what people can expect to see when they click into an activity. Thank you again for your help. I really appreciate it. 

otacke's picture

Hello again!

Yes, what you're describing is the fact that there are two H5P integrations that do not have to do anything with another. One was created by the H5P core team, one was created by the moodle team.

To the best of my knowledge, what you are describing is caused by changes to moodle's specification in version 4+. That's causing the H5P plugin (created by the H5P core team) to display some items twice. From what I can see, someone has already contributed the code to fix this issue. The H5P core team will need to review that code, however, and they need to release an update to the H5P plugin for moodle.

Cheers,
Oliver