Media Wiki server crashed - mediawiki

Our old media wiki server went down and I've been tasked with getting it up and running again. I was able to retrieve the files from /var/www but I am having some trouble locating the database files. Any help would be super helpful! It's an old version, too: 1.21.

Related

Move and upgrade mediawiki without upgrade first

I have a mediawiki version 1.21.2 (php 5.3.10, mysql 5.5.35, Apache/2.2.22, Ubuntu 12.04.4) and I want to move it to a new server with mediawiki version 1.29.1 (php 7.0.22, mysql 5.7.19, Apache/2.4.18, Ubuntu 16.04.3).
The old site is configured as a wiki-family with 5 associated wikis.
It seems the normal approach is to first upgrade the source site and then move the upgraded site to the target server.
The old site must remain active (read only) and as-is and will be turned off after the new site is in place.
I would like to try an approach with the following steps:
install version 1.29.1 on the target server
sql dump the datafiles from the source server
import the sql dump files into the target server database
run some update scripts to bring the source files into compliance with the target database
Of course I'll need to manage the media and extensions.
The target server already has php 7.0.22, mysql 5.7.19 (installed as part of default LAMP), so I suspect I'll have to downgrade components only to re-upgrade them. Maybe not.
Can anyone suggest the cleanest way to do this, please?
Upgrading the old server prior to moving the wiki is not really necessary.
You can follow your own steps:
Download your new MediaWiki version on the new server
Download/copy any additional extensions you need on the new server. Try to download new copies of extensions that match your MediaWiki version instead of copying them from the old server, since they may be incompatible with the new MediaWiki version
Copy your old media to the new server
Copy your LocalSettings.php from the old server to the new one and adapt it: you may need to change some settings or disable incompatible extensions.
Dump your database from the old server, and import it on the new server.
Run the update script.
You can do that even with the old wiki running, to test if the upgrade will work, and then redo it again putting the old wiki in read-only mode during the move.

Two MAMP/Wordpress sites, one with "missing MySQL" error

I'm trying to do some major dev on a two sites I built a couple years ago. They're both just plain old Wordpress installs with some customized themes. I pulled them both down off production today in an attempt to get them running locally to do this dev. First one goes fine. Second one keeps throwing the
Your PHP installation appears to be missing the MySQL extension which
is required by WordPress.
error. They're both running on the same MAMP install on my system, just different directories. So I'm pretty confused as to why there's a difference. Typical "check phpinfo" on server responses to this issue don't really help as they're on the same server and have the same settings. Nothing SEEMS out of place within wp-config or phpMyAdmin. Feeling lost... plz help.
Welp, I'm dumb. My MAMP was defaulting to php 7. Turned it back to 5.6 and now I'm in business.

SQL-Database Problems after importing wordpress database from localhost to server

I built a WordPress site using xampp and followed one of the various tutorials I found online when uploading the sql database to the server.
the homepage appears (www.esn-hannover.de) and looks fine but whenever I want to click on a link a 500 Internal Server Error appears.
All the files are uploaded and home and site-url point to the homepage as well...
Does anyone have any ideas what could've gone wrong and how to fix it?
there seemed to have been a problem with the .htaccess file...
i followed this tutorial and now everything's running fine.
Try:
Clean install WP on your live server
Install WP Clone plugin* on both your new live install & your local
dev version.
Run the plugin on your local dev version, then import the zip into
the live fresh installed version.
https://wordpress.org/plugins/wp-clone-by-wp-academy/
Hope that helps.

Error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress

I recently changed configurations on my web server and moved my MySQL databases to a remote server. Upon making the changes, I removed MySQL from my web server just to make it as minimal as possible. My WordPress site was working perfect with the remote SQL until I removed it on the local server. Then I got the error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress
I'm curious as to why WordPress forces you to have it installed even while using a remote connection? Is there a way to get around this?
Worst case scenario I guess I'll reinstall MySQL.
its not mySQL that is the issue you need to enable the mySQL extensions required by Wordpress in the php.ini file or install them if they don't exist.
When you removed MySQL it probably removed or diabled the extensions for it in PHP, atleast that is what it sounds like. You should be able to just install or enable the extensions back in without reinstalling all of mySQL

Installing TFS 08 with SQL Server 2008

I realize that this question has been asked and has been answered here but I am having problems with the slip stream approach and I'm hoping someone else has run into it. I've tried downloading the newest installation guide but the help file appears to be corrupt as it won't open any of the pages so I'm a bit in the dark here.
I rigorously followed the TFS SP 1 slipstream installation instructions but I am running into an error coded TF220059. The error explicitly states:
TF220059: An error occurred while the Setup program was querying the installation settings for Team Foundation Server. For more information about this error, see the installation logs. For more information about the installation logs, see "Troubleshooting Installation for Team Foundation" in the Team Foundation Installation Guide.
which has me confused because as far as I can tell, no one else ran into this while slipstreaming. The results from the error log can be found here. It's claiming that the accounts aren't specified but I created them as specified in this TFS install guide. It is a single server install so there is not a domain controller involved.
Any help would be greatly appreciated, I've been banging my head against the desk over this. Thanks!
EDIT: after a bit of searching, I've found that others have ran into this problem when reporting services aren't installed. Is this required?
To open the installation guide, try right clicking on the downloaded .chm file, click Properties and then press "Unblock". If you then re-open the file, the content should appear.
Regarding SQL Server Reporting Services, yet it is required. If you download the latest version of the TFS Install guide from here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=FF12844F-398C-4FE9-8B0D-9E84181D9923&displaylang=en
Unblock the file once downloaded, and then take a look at the section for installing SQL Server 2008 it will take you through how to get SQL set up in the way that TFS requires. TFS needs it's pre-requisites to be installed in very particular ways (such as IIS and SQL Server), so it pays to closely follow the install guide to ensure the pre-requisites are installed as required.
Good luck.