Problem with H5P and Moodle libraries

 In moodle, the files of some libraries have disappeared, but in the database it indicates the file.

How can I upload these files again in the moodledata?

I trie to load the libraries again, with a presentation, but it dos not reload the libraries, then it still does not work.

Best regards,

María Luisa Suárez

BV52's picture

Hi Maria,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV52

Hi BV52,

 The data that you ask me are:

 1: The error will NOT be reproduced.

 2. The platform is moodle 3.2.8

 3. Browsers: All

 4. Version of H5P 1.7

 5. Presentation activity

 6. Error: that the files of the libraries are not in the moodledata.

 How can I reload the libraries in the moodledata?

- Mª Luisa Suárez

thomasmars's picture

Hi, you can set:

$CFG->mod_hvp_dev = true;

 

in your Moodle config. This will allow you to overwrite libraries with the same patch version.
You can then upload the latest version of Course Presentation, for instance the example content from https://h5p.org/presentation.
This will replace your old library files with the new files from the Course Presentation you uploaded.
When you have done this, remember to remove the line from your moodle config.php file.

- Thomas

Hi Thomas,

It has been great.

Thank you.