Bug 1062131

Summary: Unable to open CDB file for write
Product: [Fedora] Fedora EPEL Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: mediawiki119Assignee: Patrick Uiterwijk <puiterwijk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: ian, puiterwijk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mediawiki119-1.19.13-1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-04 20:30:24 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 Flags
Fix apache ownership and avoid duplicate listing none

Description Nicolas Chauvet (kwizart) 2014-02-06 09:26:21 UTC
Description of problem:
When updating to mediawiki119-1.19.11-2.el6.noarch, I have a an error displayed on a browser that mediawiki is Unable to write to /var/www/mediawiki119/cache

Version-Release number of selected component (if applicable):
mediawiki119-1.19.11-2.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. run mediawiki
2.
3.

Actual results:
it display an error message

Expected results:
it should show the wiki

Additional info:
# ls -ald /var/www/mediawiki119/cache
drwxr-xr-x. 2 root root 4096 29 janv. 00:57 /var/www/mediawiki119/cache

Whereas it should be apache:apache

Also I remember that some alias was missing from the default apache host file.
I haven't checked if it's still the case, mines are:
Alias /wiki/index.php           /var/www/mediawiki119/index.php
Alias /wiki/api.php             /var/www/mediawiki119/api.php
Alias /wiki/load.php            /var/www/mediawiki119/load.php
Alias /wiki/opensearch_desc.php /var/www/mediawiki119/opensearch_desc.php
Alias /wiki/skins               /var/www/mediawiki119/skins
Alias /wiki/images              /var/www/mediawiki119/images
Alias /wiki                     /var/www/mediawiki119/index.php

Comment 1 Nicolas Chauvet (kwizart) 2014-03-02 19:36:11 UTC
For the record the error message was:
Unable to open CDB file "/var/www/mediawiki119/cache/l10n_cache-fr.cdb.tmp.874518348" for write.

I also note that there are conflicts with files provided as mediawiki119-ParserFunctions from the infrastructure repo. (Obsoletes/Provides ?)

Comment 2 Nicolas Chauvet (kwizart) 2014-03-02 19:38:51 UTC
Created attachment 869680 [details]
Fix apache ownership and avoid duplicate listing

Comment 3 Fedora Update System 2014-03-03 10:45:33 UTC
mediawiki119-1.19.12-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mediawiki119-1.19.12-2.el5

Comment 4 Fedora Update System 2014-03-03 10:45:46 UTC
mediawiki119-1.19.12-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mediawiki119-1.19.12-2.el6

Comment 5 Fedora Update System 2014-03-03 20:01:49 UTC
Package mediawiki119-1.19.12-2.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mediawiki119-1.19.12-2.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0726/mediawiki119-1.19.12-2.el5
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-03-13 16:16:26 UTC
mediawiki119-1.19.13-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mediawiki119-1.19.13-1.el6

Comment 7 Fedora Update System 2014-03-13 16:16:56 UTC
mediawiki119-1.19.13-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mediawiki119-1.19.13-1.el5

Comment 8 Fedora Update System 2014-04-04 20:30:24 UTC
mediawiki119-1.19.13-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-04-04 20:31:19 UTC
mediawiki119-1.19.13-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.