Bug 1230630
Summary: | MediaWiki fails with "requires the PSR-3 logging library to be present" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom Hughes <tom> |
Component: | mediawiki | Assignee: | Michael Cronenworth <mike> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | alexis.lameire, fche, legoktm, mike, puiterwijk, uckelman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mediawiki-1.25.3-1.fc23 mediawiki-1.25.3-1.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-05 22:25:16 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: | |||
Bug Depends On: | 1231318, 1231351, 1231353, 1231354, 1231355, 1231356, 1264179, 1264191, 1264199, 1264209, 1264213 | ||
Bug Blocks: |
Description
Tom Hughes
2015-06-11 09:13:31 UTC
1.25 requires a bunch of libraries. http://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries I will include need to create some new packages to remove this manual step. Except that the Fedora package is presumably built from a release tar ball, not from git? Certainly that library appears to be in the rpm in /usr/share/mediawiki/vendor/psr along with various other vendored things - now that may well be a bundling violation that should be fixed, but it suggests something more complicated is going on... In this case as I say it is already packaged separately as php-PsrLog but that doesn't seem to help. I am aware of the package source... Yes, they are bundled, but they have always been bundled. Now they are localized in one place and a few new ones have been added (Psr). Installing "php-PsrLog" doesn't help you due to the fact MediaWiki doesn't look for it in the global include_path. Quick fix: ln -s /usr/share/mediawiki/vendor /foo/bar/wiki Replace /foo/bar/wiki with your wiki root installation path. Thanks - I can confirm that fixes the problem. Package reviews created. If you can provide some reviews (or want to swap) that would be a big help. Thanks. this package don't work. Until the review is done, you should consider repush the 1.24.2 and incress the epoch of your package. I incress the severity as urgent. Lameire, please read comment 3. I have created a 1.25 update that performs this workaround as the reviews are taking longer than expected. https://admin.fedoraproject.org/updates/mediawiki-1.25.1-3.fc22 mediawiki-1.25.3-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ec6d598d3d mediawiki-1.25.3-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-24fe8b66c9 mediawiki-1.25.3-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update mediawiki' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-ec6d598d3d mediawiki-1.25.3-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update mediawiki' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-24fe8b66c9 mediawiki-1.25.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. mediawiki-1.25.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. On my installation, where the vendor/ tree is managed by compose.phar (since we also run semanticwiki etc.), the symlink trick from comment #3 doesn't work; nor does "php compose.phar update" in the wiki/ directory. If you're going to use your own vendor directory you need to regenerate the autoload.php file inside it. The latest mediawiki update provides all the necessary dependencies, symlinks, and autoload.php file to not have any bundled libraries. |