Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46779

Re: Error during upgrade to 2.0 - Incorrect pool file content

$
0
0
by Andrei Catalyst.  

Hi all,

 

We have experienced the same problem when updating Moodle 1.9 to 2.2.6.

The upgrade fails with the following error.

Migrated course files - course 219/258.

0.07 sec

 84.88%

file name: /var/lib/sitedata/335/sai_gab_multi_v500_Generic_OCCAM.zip

file size: 1136109318

hashfile: /var/lib/sitedata/filedir/4d/c1/4dc19675afcac46f8233ead91aa88a45f3d70f62

http://dev.andrei.toll.local/theme/image.php?theme=standardtotara&image=error&rev=5&component=theme");font-family:Arial, Helvetica, sans-serif;font-size:13px;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-position:8px 11px;">

Incorrect pool file content 4dc19675afcac46f8233ead91aa88a45f3d70f62.

More information about this error

Stack trace:
  • line 1125 of /lib/filestorage/file_storage.php: file_pool_content_exception thrown
  • line 845 of /lib/filestorage/file_storage.php: call to file_storage->add_file_to_pool()
  • line 365 of /lib/db/upgradelib.php: call to file_storage->create_file_from_pathname()
  • line 98 of /lib/db/upgradelib.php: call to upgrade_migrate_files_course()
  • line 607 of /lib/db/upgrade.php: call to upgrade_migrate_files_courses()
  • line 1418 of /lib/upgradelib.php: call to xmldb_main_upgrade()
  • line 300 of /admin/index.php: call to upgrade_core()

 

 

File /var/lib/sitedata/335/sai_gab_multi_v500_Generic_OCCAM.zip file

exists and is about 1.3 Gb in size.

Temporary mdl_files table exists but is empty:

select count(*) from mdl_files;
+----------+
| count(*) |
+----------+
|        0    |
+----------+
1 row in set (0.00 sec)

Reading this thread and related Moodle bug I have not found clear solution what to do in this case.

I restored the database several times and rerun the update but alway ended up with the same error.

Can anybody suggest a solution how to fix/workaround this?

 


Viewing all articles
Browse latest Browse all 46779

Trending Articles