H5P Core - Contenttypes are not updating even though task is running

H5P Core - Contenttypes are not updating even though task is running

Gemma Lesterhuis -
回帖数:7
Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

I am wondering if someone on the forum could explain to me how this works. 

I am using M3.9 + H5P core (blue icon). 

The cron task \mod_hvp\task\look_for_updates is running, result is always succesfull. 

Though I am under the impression that the task is not updating my contenttypes. Example:


And in a different moodle enviroment, I already have the Drag and Drop 1.14.7 version


Is the task indeed updating the H5P contenttypes, or do I have to update them manually. And if so - how can I do this? 

Thank you!
Gemma

回复Gemma Lesterhuis

Re: H5P Core - Contenttypes are not updating even though task is running

Daniel Thies -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Shouldn't you be checking \core\task\h5p_get_content_types_task instead?
回复Daniel Thies

Re: H5P Core - Contenttypes are not updating even though task is running

Gemma Lesterhuis -
Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Thank you Daniel, you are indeed right. Which explains alot, as well that the task is just running 1 a month, which explains that one of the sites was 'running' ahead.
I do wonder ifyou might now how long it takes that a githubbug fixes will be eventually available on either the hub or moodle core?
回复Gemma Lesterhuis

Re: H5P Core - Contenttypes are not updating even though task is running

Daniel Thies -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
I do not know that it is done regularly as bugs are patched. It seems that a few times a year, they update most of the content types at once. I assume that is why default is set at checking once a month. You always have the option to upload individual content types in the admin settings if you need to...
回复Daniel Thies

Re: H5P Core - Contenttypes are not updating even though task is running

Daniel Thies -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
I found this https://h5p.org/post-hub-releases which may provide more detailed information.
回复Daniel Thies

Re: H5P Core - Contenttypes are not updating even though task is running

Gemma Lesterhuis -
Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Thank you for the link, but that does not does not give me any 'hope' if the last fix is from may 2022. I am pretty sure I have seen contenttype updates older than that date.
回复Gemma Lesterhuis

Re: H5P Core - Contenttypes are not updating even though task is running

Oliver Tacke -
Particularly helpful Moodlers的头像
That list has not been updated for quite a while, but I don't know why. There definitely have been updates after May 20.

There's not a schedule for feature updates or bug fixes. Sometimes bug fixes get released within hours, sometimes within days, sometimes it takes way longer. The frequent updates that were mentioned usually only cover new translations or some changes to existing translations files.

Downloading the zip file from github may work for older content types, but normally the repositories hold the plain source code that needs to be built and packaged before it can be installed. If you want to try that, you could read https://peter.baumgartner.name/2021/04/12/h5p-library-installation/ for guidance - BUT make sure to read the comments, too.
回复Daniel Thies

Re: H5P Core - Contenttypes are not updating even though task is running

Gemma Lesterhuis -
Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Hi Daniel,

I know about this option, but then I wonder - where do I find the contenttype version with the bug fix. I have tried the github download, but that does not work. As well.. I don't want to 'screw' up the versions on a later stage.

Gem