Bug 948741

Summary: problems updating moodle from 2.1.10 to 2.2.x
Product: [Fedora] Fedora EPEL Reporter: Michael Young <m.a.young>
Component: moodleAssignee: Gwyn Ciesla <gwync>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-05 14:20:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Young 2013-04-05 09:52:04 UTC
There are several problems updating a moodle install from from moodle-2.1.10-1.el6.noarch to moodle-2.2.9-1.el6.noarch (or 2.2.7-1.el6)

Updating the RPM fails with the error
error: unpacking of archive failed on file /var/www/moodle/web/lib/pear/HTML/QuickForm: cpio: rename

and if you manually delete /var/www/moodle/web/lib/pear/HTML/QuickForm first (so it can create the symlink) you get the similar error

error: unpacking of archive failed on file /var/www/moodle/web/lib/pear/OLE: cpio: rename

If you likewise work around this then upgrading the data gets as far as the 
Course overview plugin and then quits with the error (when debugging is turned on)

Warning: require_once(HTML/QuickForm/DHTMLRulesTableless.php): failed to open stream: No such file or directory in /var/www/moodle/web/lib/formslib.php on line 44 Fatal error: require_once(): Failed opening required 'HTML/QuickForm/DHTMLRulesTableless.php' (include_path='/var/www/moodle/web/lib/zend:/var/www/moodle/web/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/moodle/web/lib/formslib.php on line 44

so the php-pear-HTML-QuickForm package is missing DHTMLRulesTableless.php (also Renderer/Tableless.php) which moodle uses.

Comment 1 Gwyn Ciesla 2013-04-05 14:20:25 UTC

*** This bug has been marked as a duplicate of bug 947252 ***