Bug 926899
| Summary: | mw-updateallinstances is broken | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Scott Schmit <i.grok> | ||||||
| Component: | mediawiki | Assignee: | Michael Cronenworth <mike> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 17 | CC: | bugsubmitter, mike, puiterwijk | ||||||
| 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-20 20:10:33 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Scott Schmit
2013-03-24 00:09:19 UTC
Also, I noticed this: $ rpm -q --scripts mediawiki postinstall scriptlet (using /bin/sh): /usr/sbin/mw-updateallinstances >> /var/log/mediawiki-updates.log 2>&1 || : /var/log/mediawiki-updates.log exists, but is empty. It last changed on November 26, 2011, so something tells me this isn't actually getting run on upgrades. It's been three weeks since I filed this bug, and I've seen no response. It's obviously not a common bug, since there's only one other bug filed about this (Bug 949621), but I really would like to see this fixed, as my wiki has been nothing but a blank page for three weeks now. Any thoughts? Ok, so manually running "php /usr/share/mediawiki/maintenance/update.php --quick --conf LocalSettings.php" from my wiki directory now works. Maybe the selinux policy got fixed in the meantime. Created attachment 734506 [details]
Patch to mediawiki git repo
This patch should fix mw-createinstance & mw-updateallinstances so that they work.
Created attachment 734507 [details]
Fixes to mw-createinstance and mw-updateallinstances
Correction to earlier patch: we also need a symlink to includes now.
*** Bug 949621 has been marked as a duplicate of this bug. *** I hadn't encountered problems upgrading my installs and I didn't find time to look at this yet. Thanks for the patch. An update will be pushed out soon. mediawiki-1.20.3-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mediawiki-1.20.3-3.fc19 mediawiki-1.19.4-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mediawiki-1.19.4-3.fc18 mediawiki-1.19.4-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mediawiki-1.19.4-3.fc17 Package mediawiki-1.20.3-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mediawiki-1.20.3-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-5494/mediawiki-1.20.3-3.fc19 then log in and leave karma (feedback). mediawiki-1.20.3-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. mediawiki-1.19.4-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. mediawiki-1.19.4-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |