Topic on Project:Support desk

Jump to navigation Jump to search

Duplicator doesn't run: Internal Error

TheMatt (talkcontribs)


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/ Main slot of revision 4281 not found in database!


#0 /home/geos/ MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)

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

#2 /home/geos/ call_user_func(Closure)

#3 /home/geos/ MediaWiki\Revision\RevisionSlots->getSlots()

#4 /home/geos/ MediaWiki\Revision\RevisionSlots->getSlot(string)

#5 /home/geos/ MediaWiki\Revision\RevisionRecord->getSlot(string, integer)

#6 /home/geos/ Revision->getMainSlotRaw()

#7 /home/geos/ Revision->getContentModel()

#8 /home/geos/ WikiPage->updateRevisionOn(Wikimedia\Rdbms\DatabaseMysqli, Revision, NULL, NULL)

#9 /home/geos/ Article->updateRevisionOn(Wikimedia\Rdbms\DatabaseMysqli, Revision)

#10 /home/geos/ SpecialDuplicator->duplicate(Title, Title, boolean)

#11 /home/geos/ SpecialDuplicator->execute(NULL)

#12 /home/geos/ SpecialPage->run(NULL)

#13 /home/geos/ MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)

#14 /home/geos/ MediaWiki->performRequest()

#15 /home/geos/ MediaWiki->main()

#16 /home/geos/ 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, 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)
GeoffreyT2000 (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"