Page MenuHomePhabricator

Couldn't delete uploaded files - PostgreSQL GET_LOCK
Closed, ResolvedPublic

Description

Author: baldin

Description:
Couldn't delete uploaded files. Switched on
$wgShowExceptionDetails for details:


A database error has occurred Query: SELECT
GET_LOCK('MediaWiki.wikidb.FileStore', 5) AS lockstatus Function:
FileStore::lock Error: 1 ERROR: function get_lock("unknown", integer) does not
exist at character 30 HINT: No function matches the given name and argument
types. You may need to add explicit type casts.

Backtrace:

#0 /home/baldin/public_html/mediawiki/includes/Database.php(651):
DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'SELECT GET_LOCK...',
'FileStore::lock', false)
#1 /home/baldin/public_html/mediawiki/includes/FileStore.php(41):
Database->query('SELECT GET_LOCK...', 'FileStore::lock')
#2 /home/baldin/public_html/mediawiki/includes/Image.php(1828): FileStore::lock()
#3 /home/baldin/public_html/mediawiki/includes/ImagePage.php(556):
Image->delete('proba')
#4 /home/baldin/public_html/mediawiki/includes/ImagePage.php(511):
ImagePage->doDelete('proba')
#5 /home/baldin/public_html/mediawiki/includes/Wiki.php(352): ImagePage->delete()
#6 /home/baldin/public_html/mediawiki/includes/Wiki.php(50):
MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title),
Object(User), Object(WebRequest))
#7 /home/baldin/public_html/mediawiki/index.php(47):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
Object(WebRequest))
#8 {main}



Version: 1.8.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz8471

Event Timeline

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

robchur wrote:

This was fixed in trunk.