Topic on Project:Support desk/Flow

Duplicator doesn't run: Internal Error

7
TheMatt (talkcontribs)

All,


I'm an avid user of Duplicator and I can't seem to run it anymore. To wit:


[XIKDya3smIUAAHYHRiAAAAAV] /wiki/index.php?title=Special:Duplicator MediaWiki\Revision\RevisionAccessException from line 1635 of /home/geos/geos5.org/wiki/includes/Revision/RevisionStore.php: Main slot of revision 4281 not found in database!

Backtrace:

#0 /home/geos/geos5.org/wiki/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)

#1 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()

#2 /home/geos/geos5.org/wiki/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)

#3 /home/geos/geos5.org/wiki/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()

#4 /home/geos/geos5.org/wiki/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)

#5 /home/geos/geos5.org/wiki/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)

#6 /home/geos/geos5.org/wiki/includes/Revision.php(965): Revision->getMainSlotRaw()

#7 /home/geos/geos5.org/wiki/includes/page/WikiPage.php(1387): Revision->getContentModel()

#8 /home/geos/geos5.org/wiki/includes/page/Article.php(2792): WikiPage->updateRevisionOn(Wikimedia\Rdbms\DatabaseMysqli, Revision, NULL, NULL)

#9 /home/geos/geos5.org/wiki/extensions/Duplicator/Duplicator.page.php(339): Article->updateRevisionOn(Wikimedia\Rdbms\DatabaseMysqli, Revision)

#10 /home/geos/geos5.org/wiki/extensions/Duplicator/Duplicator.page.php(115): SpecialDuplicator->duplicate(Title, Title, boolean)

#11 /home/geos/geos5.org/wiki/includes/specialpage/SpecialPage.php(569): SpecialDuplicator->execute(NULL)

#12 /home/geos/geos5.org/wiki/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)

#13 /home/geos/geos5.org/wiki/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#14 /home/geos/geos5.org/wiki/includes/MediaWiki.php(860): MediaWiki->performRequest()

#15 /home/geos/geos5.org/wiki/includes/MediaWiki.php(517): MediaWiki->main()

#16 /home/geos/geos5.org/wiki/index.php(42): MediaWiki->run()

#17 {main}


I upgraded to the latest version in Duplicator-REL1_32-5158b26.tar.gz and no joy.


Any ideas?

TheMatt (talkcontribs)

I will note that Duplicator did use to run and I used it a lot. And that the rest of the wiki (as far as I know) is doing okay. It's on a shared server, so there are hiccups now and then as memory runs out, but it works.

TheDJ (talkcontribs)

MediaWiki's revision architecture has seen some changes in the last versions. It seems the code of the Duplicator extension has not been updated by anyone yet to be compatible with this new architecture.

TheMatt (talkcontribs)

Ah. I am running:

MediaWiki 1.32.0
PHP 7.2.11 (cgi-fcgi)
MySQL 5.6.34-log

according to Special:Version.


I try to keep up with the updates because I figure...security, I guess. :)

TheMatt (talkcontribs)

@TheDJ Hmm. I guess I'll put something on the Extension's discussion tab, but do you know if there's an official Bug Tracker for MW extensions like this?

Cindy.cicalese (talkcontribs)
GTrang (talkcontribs)

I saw a "RevisionAccessException" error too while using this extension in MW 1.32. Besides, the extension is already severely outdated.

Ideally, I would expect the following:

  • Revisions are inserted correctly so that rev_len, rev_parent_id, and rev_sha1 are not null.
  • Watchers and revision tags are duplicated when duplicating a page.
  • The null revision correctly gets its text from the source page's latest revision, not the earliest revision.
  • Users should be able to give a reason for duplicating the page on Special:Duplicator.
  • Page duplications would be logged at Special:Log/copy.
  • The copy log entry appears on Special:RecentChanges in place of an erroneous "new page" entry.
  • When the target page already exists, Special:Duplicator should ask whether you want the target to be deleted first, similar to what happens on Special:MovePage.
  • Finally, duplicating file pages should be disallowed, as in the FileImporter extension.
Reply to "Duplicator doesn't run: Internal Error"