Last modified: 2014-06-11 16:05:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67761, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65761 - math.sql does not exist
math.sql does not exist
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: physikerwelt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-26 09:03 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-06-11 16:05 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-05-26 09:03:13 UTC
When creating the fawiki on the beta cluster, the addWiki.php yield an error:


hashar@deployment-bastion:~$ mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=aawiki fa fawiki fawiki fa.wikipedia.beta.wmflabs.org
Creating database fawiki for fa.fawiki (فارسی)
Initialising tables
[2ca8d598] [no req]   Exception from line 3790 of /mnt/srv/scap-stage-dir/php-master/includes/db/Database.php: Could not open "/mnt/srv/scap-stage-dir/php-master/extensions/Math/db/math.sql".

Backtrace:
#0 /mnt/srv/scap-stage-dir/php-master/extensions/WikimediaMaintenance/addWiki.php(100): DatabaseBase->sourceFile(string)
#1 /mnt/srv/scap-stage-dir/php-master/maintenance/doMaintenance.php(109): AddWiki->execute()
#2 /mnt/srv/scap-stage-dir/php-master/extensions/WikimediaMaintenance/addWiki.php(275): require_once(string)
#3 /mnt/srv/scap-stage-dir/multiversion/MWScript.php(97): require_once(string)
#4 {main}



The parent directory has:

$ ls -l /mnt/srv/scap-stage-dir/php-master/extensions/Math/db/
total 32
-rw-r--r-- 1 mwdeploy mwdeploy 511 May 20 11:45 mathlatexml.mysql.sql
-rw-r--r-- 1 mwdeploy mwdeploy 495 May 21 08:54 mathlatexml.postgres.sql
-rw-r--r-- 1 mwdeploy mwdeploy 511 May 21 08:54 mathlatexml.sqlite.sql
-rw-rw-r-- 1 mwdeploy mwdeploy 321 Apr 21 17:04 math.mssql.sql
-rw-r--r-- 1 mwdeploy mwdeploy 633 May 21 08:54 math.mysql.sql
-rw-rw-r-- 1 mwdeploy mwdeploy 346 Apr 21 17:04 math.oracle.sql
-rw-r--r-- 1 mwdeploy mwdeploy 252 May 21 08:54 math.postgres.sql
-rw-r--r-- 1 mwdeploy mwdeploy 633 May 21 08:54 math.sqlite.sql


The git working directory is clean and last commit is:

 commit 972cee0f98c0808985144012245c6a11d723ce7d
 Author: physikerwelt <wiki@physikerwelt.de>
 Date:   Wed May 21 10:16:15 2014 +0000


There is a glitch somewhere :-)
Comment 1 physikerwelt 2014-05-26 10:08:05 UTC
I feel sorry. That's my fault.
I was thinking that the database updates are using the
MathHooks::onLoadExtensionSchemaUpdates hook.
This commit I4f4d31c281257014734e9e3a8d7f1506855ea6d9 renames math.sql to math.mysql.php
Comment 2 Gerrit Notification Bot 2014-05-26 10:34:12 UTC
Change 135414 had a related patch set uploaded by Physikerwelt:
Fix: rename math table

https://gerrit.wikimedia.org/r/135414
Comment 3 Gerrit Notification Bot 2014-05-26 13:29:43 UTC
Change 135414 merged by jenkins-bot:
Fix: rename math table

https://gerrit.wikimedia.org/r/135414
Comment 4 Antoine "hashar" Musso (WMF) 2014-05-26 13:30:25 UTC
No need to feel sorry :-) Specially when you fix the glitch on spot!  Thank you!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links