Ghostthinker / moodle-mod_ivs

Moodle Plugin for the Interactive Video Suite (IVS)
GNU General Public License v3.0
3 stars 3 forks source link

mod_ivs plugin update to v1.16.899 fails. #31

Closed voltere5 closed 1 year ago

voltere5 commented 1 year ago

DB: Postgresql14 Moodle Version: 4.1.3 PHP: 8.0

== Moodle von 4.1.3 (Build: 20230424) (2022112803) auf 4.1.3 (Build: 20230424) (2022112803) aktualisieren ==

Die Moodle-Dateien wurden auf Ihrem Server verändert. Moodle wird
automatisch auf die Version 4.1.3 (BUILD: 20230424) (2022112803)
aktualisiert. Danach können Sie nicht mehr zur alten Version
zurückkehren. Beachten Sie, dass der Vorgang sehr lange dauern könnte!

Möchten Sie die Aktualisierung des Servers wirklich starten?

y (yes=ja) oder n (no=nein) eingeben
: y
-->mod_ivs
Default exception handler: Datensatz kann nicht in der Datenbank gefunden werden Debug: SELECT cm.*, m.name, md.name AS modname 
              FROM {course_modules} cm
                   JOIN {modules} md ON md.id = cm.module
                   JOIN {ivs} m ON m.id = cm.instance

             WHERE m.id = :instance AND md.name = :modulename

[array (
  'instance' => NULL,
  'modulename' => 'ivs',
)]
Error code: invalidrecordunknown
* line 1682 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
* line 1317 of /lib/datalib.php: call to moodle_database->get_record_sql()
* line 137 of /mod/ivs/classes/annotation.php: call to get_coursemodule_from_instance()
* line 86 of /mod/ivs/classes/UpdateService.php: call to mod_ivs\annotation->load_audio_annotation()
* line 111 of /mod/ivs/db/upgrade.php: call to mod_ivs\UpdateService->alterVideocommentTableForCommentType()
* line 934 of /lib/upgradelib.php: call to xmldb_ivs_upgrade()
* line 677 of /lib/upgradelib.php: call to upgrade_plugins_modules()
* line 1953 of /lib/upgradelib.php: call to upgrade_plugins()
* line 202 of /admin/cli/upgrade.php: call to upgrade_noncore()

!!! Datensatz kann nicht in der Datenbank gefunden werden !!!
!! SELECT cm.*, m.name, md.name AS modname 
              FROM {course_modules} cm
                   JOIN {modules} md ON md.id = cm.module
                   JOIN {ivs} m ON m.id = cm.instance

             WHERE m.id = :instance AND md.name = :modulename

[array (
  'instance' => NULL,
  'modulename' => 'ivs',
)]
Error code: invalidrecordunknown !!
!! Stack trace: * line 1682 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
* line 1317 of /lib/datalib.php: call to moodle_database->get_record_sql()
* line 137 of /mod/ivs/classes/annotation.php: call to get_coursemodule_from_instance()
* line 86 of /mod/ivs/classes/UpdateService.php: call to mod_ivs\annotation->load_audio_annotation()
* line 111 of /mod/ivs/db/upgrade.php: call to mod_ivs\UpdateService->alterVideocommentTableForCommentType()
* line 934 of /lib/upgradelib.php: call to xmldb_ivs_upgrade()
* line 677 of /lib/upgradelib.php: call to upgrade_plugins_modules()
* line 1953 of /lib/upgradelib.php: call to upgrade_plugins()
* line 202 of /admin/cli/upgrade.php: call to upgrade_noncore()
 !!
Ghostthinker commented 1 year ago

Thank you for the bug report. We released a new version, the update should now run successfully. Here is the release https://github.com/Ghostthinker/moodle-mod_ivs/releases/tag/v1.17.900

voltere5 commented 1 year ago

can confirm it works with v1.17.900. closed.