Opened 3 years ago

Closed 3 years ago

#12118 closed Bug/Something is broken (fixed)

Hard Error attempting to install MediaWIki

Reported by: Jen Wokaty Owned by: JaimeV
Priority: Medium Component: Tech
Keywords: Cc:
Sensitive: no


I got a hard error attempting to install mediawiki on peery for I understand it is related to Could I ask you to remove the web application entry since I cannot delete something that is pending? Also, is there an alternative way that I can install mediawiki on my hosting order?

Change History (6)

comment:1 Changed 3 years ago by JaimeV

Owner: set to JaimeV
Status: newassigned

I've removed the hard error and the file crated by the failed automated install. I apologize for suggesting this route to you in #12089. I think the best way to go forward is a manual install of mediawiki which is actually not that bad. I can help you work through the basic steps.

Are you able to sftp into your new hosting order on peery?

comment:2 Changed 3 years ago by Jen Wokaty

No problem. I appreciate your help since I need it periodically.

I was able to start and install mediawiki; however, attempting to visit the page for the first time I get an error because it wants to write to a cache. It seems to be resolvable by changing permissions, so I thought chowning group ownership to the process running php (is this root?). I am open to better strategies. Please advise.

The details of the errors are below and here is the link:

[5ad03433bbdafd3c56778b40] /index.php MWException from line 118 of /home/members/foodcoop/sites/ Unable to move the new CDB file into place.

comment:3 Changed 3 years ago by JaimeV

I don't think it's really your permissions that are the problem here. Searching the web for that error suggests it may have to do with the $wgCacheDirectory variable in your LocalSettings.php file.

comment:4 Changed 3 years ago by JaimeV

Following the config files comments I've set the $wgCacheDirectory variable to your include directory which is not publicly accessible but writable by your user.

## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
$wgCacheDirectory = "/home/members/foodcoop/sites/";

After the change I ran the command php maintenance/rebuildLocalisationCache.php

The wiki appears to be responding now.

comment:5 Changed 3 years ago by JaimeV

Resolution: fixed
Status: assignedfeedback

comment:6 Changed 3 years ago by automatic

Status: feedbackclosed

No news is good news (we hope)! Given the lack of feedback, we think this ticket can be closed.

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.