Moodle - Validating h5p package failed.

Hi I'm getting an error when trying to install content types into my moodle 3.1.6 environment. I'm using google chrome. I get the following error:

Validating h5p package failed.

I believe it may be due to file permissions as my install uses multiple app servers and prevents writing to source code directorys. I'm not seeing any errors in my logs files on the servers. Is there anyway to manually install content types directly on the server? 

Thanks,

Shaun

BV52's picture

Hi Shaun,

Does this happen to all content types that you install? 

Can you try downloading the sample contents from this page and upload it to Moodle. In some cases this is a good workaround if the hub is not working. If this works I would also suggest that you download Course Presentation and Column first since both contents have multiple content dependencies that is included when you download them.

-BV52

Hi, 

I was on an old version, 1.3, I've upgraded my site to use 1.8 and it is working now.

Thanks,

Shaun

BV52's picture

Hi Shaun,

I'm glad that you got it working and thank you for getting back to us.

-BV52

I am receiving the same message trying to upload the current "question-set-615.h5p" example as an activity within my Moodle installation. Does this mean that I should ask my Moodle administrator to upgrade the h5p plugin?

BV52's picture

Hi jrroberts,

Yes you are correct. In some instances when a library has been updated it will also require that the core files of H5P is up to the date. If I'm not mistaken this has been the case for the update in November of last year and March of this year.

-BV52

I have the same issue

Validating h5p package failed.

Missing required library H5P.AdvancedText 1.1Get help

Missing required library H5P.DragQuestion 1.13Get help

Missing required library jQuery.ui 1.10Get help

Missing required library FontAwesome 4.5Get help

Missing required library H5P.JoubelUI 1.3Get help

Missing required library H5P.Transition 1.0Get help

Missing required library Drop 1.0Get help

Missing required library Tether 1.0Get help

Missing required library H5P.FontIcons 1.0Get help

Missing required library H5P.Question 1.4Get help

BV52's picture

Hi Craig-IT,

Would you mind providing the following:

  1. Platform and version number. E.g. Drupal, Wordpress, Moodle. (if updates are available please update the plugin)
  2. H5P plugin version (if updates are available please update the plugin)

-BV52

Moodle 3.6.4

installed the newest version yesterday.

Sorry for the newb question, but how would one check if there are updates?

BV52's picture

Hi Craig-IT,

If you just installed the plugin yesterday I would assume that it is the latest version but to make sure you can check it by going to Site Administration -> Plugins -> Plugins Overview. The most recent version of H5P in Moodle is 1.17.2. If this is the case can try creating a Drag and Drop content in Moodle.

Edit: Please also check if you have any errors in browser console.

-BV52

In Moodle I just get no results found when searching for content type.

 

Attachments: 

i have same issue

 

otacke's picture

Hi Ashk!

Given that you're answering to a post from 2018, could you please make sure you have "the exact" same issue and describe it here?

The "missing library" message often originates from a lack of rights to install H5P libraries (from the H5P file), please cmp. "Why can't I upload H5P content?".

Best,
Oliver

Please find attached files

when I try to install the plugin this error pops up, Writing Access Check .... Install Aborted due to a Validation error, help, please

Moodle version 3.6

H5p current v. 1.23.0