Page MenuHomePhabricator

DBUnexpectedError error recovering an old file version on ro.wp
Closed, DuplicatePublic

Description

Trying to recover an old deleted file revision, I get the following error:

[fd06ade5] 2015-04-26 21:19:32: Excepție fatală pentru tipul „DBUnexpectedError”

The version is: https://ro.wikipedia.org/w/index.php?title=Special:%C5%9Eterge_revizie&type=oldimage&target=Fi%C8%99ier%3ASigla+academia+romana.gif&ids=20130710064933

Event Timeline

Strainu created this task.Apr 26 2015, 9:23 PM
Strainu updated the task description. (Show Details)
Strainu raised the priority of this task from to Needs Triage.
Strainu added a subscriber: Strainu.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 26 2015, 9:23 PM
Strainu removed a subscriber: Strainu.Apr 26 2015, 9:23 PM
Aklapper renamed this task from Error recovering an old file version to Error recovering an old file version on ro.wp.Apr 28 2015, 10:51 AM
Aklapper triaged this task as Normal priority.
Aklapper set Security to None.
Aklapper renamed this task from Error recovering an old file version on ro.wp to DBUnexpectedError error recovering an old file version on ro.wp.
MZMcBride added a subscriber: Krenair.

@Krenair: Could you grab the stack trace here, please?

Sure:

2015-04-27 00:19:32 mw1093 rowiki exception INFO: [fd06ade5] /w/index.php?title=Special:%C5%9Eterge_revizie&action=submit   DBUnexpectedError from line 3588 of /srv/mediawiki/php-1.26wmf2/includes/db/Database.php: Attempted to start explicit transaction when atomic levels are still open.
#0 /srv/mediawiki/php-1.26wmf2/includes/filerepo/LocalRepo.php(93): DatabaseBase->begin()
#1 /srv/mediawiki/php-1.26wmf2/includes/revisiondelete/RevDelFileList.php(101): LocalRepo->cleanupDeletedBatch()
#2 /srv/mediawiki/php-1.26wmf2/includes/revisiondelete/RevDelList.php(192): RevDelFileList->doPreCommitUpdates()
#3 /srv/mediawiki/php-1.26wmf2/includes/specials/SpecialRevisiondelete.php(670): RevDelList->setVisibility()
#4 /srv/mediawiki/php-1.26wmf2/includes/specials/SpecialRevisiondelete.php(599): SpecialRevisionDelete->save()
#5 /srv/mediawiki/php-1.26wmf2/includes/specials/SpecialRevisiondelete.php(207): SpecialRevisionDelete->submit()
#6 /srv/mediawiki/php-1.26wmf2/includes/specialpage/SpecialPage.php(384): SpecialRevisionDelete->execute()