Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: The selected file is not a valid Moodle backup file and can't be restored.

$
0
0
by SAMIR ELFADIL.  

I did migrate the Moodle site 3.7 to the new server.
I beleived the problem was in php version in the old server but support didn't respond to me.
I upgrade from 3.7 to 3.9 then 4.1 and every thing go smoothly, when I try to upgrade from 4.1 to 4.5 I had the following error:
mod_scorm
Error writing to database
Debug info: Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='
INSERT INTO mdl_scorm_scoes_value (attemptid, scoid, elementid, value, timemodified)
SELECT a.id as attemptid, t.scoid as scoid, e.id as elementid, t.value as value, t.timemodified
FROM mdl_scorm_scoes_track t
JOIN mdl_scorm_element e ON e.element = t.element
JOIN mdl_scorm_attempt a ON (t.userid = a.userid AND t.scormid = a.scormid AND a.attempt = t.attempt)
[array (
)]
Error code: dmlwriteexception×Dismiss this notification
Stack trace:
line 497 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
line 1292 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
line 157 of /mod/scorm/db/upgrade.php: call to mysqli_native_moodle_database->execute()
line 895 of /lib/upgradelib.php: call to xmldb_scorm_upgrade()
line 638 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1927 of /lib/upgradelib.php: call to upgrade_plugins()
line 726 of /admin/index.php: call to upgrade_noncore()

I did upgrade from 4.1 to 4.2 but when upgrading to 4.3 I got the same error message, any Idea smile

there weren't problems in resources neither in old server nor the new one

Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>