Page MenuHomePhabricator

WM-PA repeated db-error
Closed, ResolvedPublic

Description

Author: bugs

Description:
If a vist page like "User talk:Cbrown1023", all is well... but if I try to visit "User:Cbrown1023", I get the following error:

Database error
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "LocalFile::loadFromDB". MySQL returned error "1054: Unknown column 'img_sha1' in 'field list' (10.0.0.102)".

I tried a few times and still got the same thing (I also checked dev log and didn't see anything that might affect this).


Version: unspecified
Severity: normal
URL: http://pa.us.wikimedia.org

Details

Reference
bz11089

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:50 PM
bzimport set Reference to bz11089.
bzimport added a subscriber: Unknown Object (MLST).

The img_sha1 update hadn't been properly applied because the database was created in an intermediate state, so when combining updates it conflicted with a previously applied update.

Have fixed it, and did a sweep of other databases for the same problem; auditcomwiki also affected and fixed.