https://bugzilla.wikimedia.org/show_bug.cgi?id=43694

       Web browser: ---
            Bug ID: 43694
           Summary: update.php fails to either update account_requests
                    table, or create a new one (mw 1.20)
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: Unprioritized
         Component: ConfirmAccount
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Error when updating:

Adding acr_areas field to table account_requests...A database query syntax
error has occurred.
The last attempted database query was:
"ALTER TABLE `account_credentials`
 ADD acd_areas mediumblob NOT NULL
"
from within function "DatabaseBase::sourceFile(
/usr/share/mediawiki/extensions/ConfirmAccount/archives/patch-acr_areas.sql )".
Database returned error "1060: Duplicate column name 'acd_areas' (localhost)"

When dropping account request table to force recreation, the error is:

Creating account_requests table...A database query syntax error has occurred.
The last attempted database query was:
"CREATE INDEX acr_email_token ON `account_requests` (acr_email_token)
"
from within function "DatabaseBase::sourceFile(
/usr/share/mediawiki/extensions/ConfirmAccount/ConfirmAccount.sql )".
Database returned error "1170: BLOB/TEXT column 'acr_email' used in key
specification without a key length (localhost)"


This blocks updating to the current stable mediawiki version

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to