[MediaWiki-l] Revision Access Exception

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Revision Access Exception

Valerio Pelliccioni
Hi,
this is my MediaWiki installation:
+—————————————————————————————+
| MediaWiki: 1.32.0                                                                 |
| PHP: 7.2.17-0ubuntu0.18.04.1 (apache2handler)       |
| MariaDB: 10.1.38-MariaDB-0ubuntu0.18.04.1                   |
| ICU: 60.2                                                                    |
| Elasticsearch: 5.6.16                                                                 |
| Lua: 5.1.5                                                                   |
+—————————————————————————————+


I got the following MediaWiki Internal error when I tried to “move” the article Mr._Horn’s_Strathspey to Mr._Horn’s_Strathspey_(1).
Now, the moved article [ Mr._Horn’s_Strathspey_(1) ] is accessible while the original one [ Mr._Horn’s_Strathspey ] returns this exception ( caught inside another exception handler)
Too much for my technical skills.
I did some research in Google to find an answer but, assuming that I have found some solution (something related to $wgMultiContentRevisionSchemaMigrationStage and SCHEMA_COMPAT_WRITE_BOTH), I confess that I did not understand how to apply it.
Any help is greatly appreciated.

Thanks.


Valerio Pelliccioni
W:https://tunearch.org/wiki/User:Valerio_Pelliccioni



----
MediaWiki internal error.

Original exception: [f52efd87abf1cf423d19d4af] /wiki/Mr._Horn%27s_Strathspey MediaWiki\Revision\RevisionAccessException from line 1635 of /var/www/w/includes/Revision/RevisionStore.php: Main slot of revision 369407 not found in database!
Backtrace:
#0 /var/www/w/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
#1 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
#2 /var/www/w/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
#3 /var/www/w/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
#4 /var/www/w/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
#5 /var/www/w/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
#6 /var/www/w/includes/Revision.php(965): Revision->getMainSlotRaw()
#7 /var/www/w/includes/page/WikiPage.php(641): Revision->getContentModel()
#8 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
#9 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#10 /var/www/w/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
#11 /var/www/w/includes/page/WikiPage.php(269): WikiPage->getContentModel()
#12 /var/www/w/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
#13 /var/www/w/includes/actions/Action.php(98): WikiPage->getActionOverrides()
#14 /var/www/w/includes/actions/Action.php(156): Action::factory(string, WikiPage, RequestContext)
#15 /var/www/w/includes/MediaWiki.php(155): Action::getActionName(RequestContext)
#16 /var/www/w/includes/MediaWiki.php(777): MediaWiki->getAction()
#17 /var/www/w/includes/MediaWiki.php(517): MediaWiki->main()
#18 /var/www/w/index.php(42): MediaWiki->run()
#19 {main}

Exception caught inside exception handler: [f52efd87abf1cf423d19d4af] /wiki/Mr._Horn%27s_Strathspey MediaWiki\Revision\RevisionAccessException from line 1635 of /var/www/w/includes/Revision/RevisionStore.php: Main slot of revision 369407 not found in database!
Backtrace:
#0 /var/www/w/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
#1 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
#2 /var/www/w/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
#3 /var/www/w/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
#4 /var/www/w/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
#5 /var/www/w/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
#6 /var/www/w/includes/Revision.php(965): Revision->getMainSlotRaw()
#7 /var/www/w/includes/page/WikiPage.php(641): Revision->getContentModel()
#8 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
#9 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#10 /var/www/w/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
#11 /var/www/w/includes/page/WikiPage.php(269): WikiPage->getContentModel()
#12 /var/www/w/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
#13 /var/www/w/includes/actions/Action.php(98): WikiPage->getActionOverrides()
#14 /var/www/w/includes/actions/Action.php(156): Action::factory(string, WikiPage, RequestContext)
#15 /var/www/w/includes/MediaWiki.php(155): Action::getActionName(RequestContext)
#16 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(246): MediaWiki->getAction(WebRequest)
#17 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(122): FlaggablePageView->isDefaultPageView(WebRequest)
#18 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(176): FlaggablePageView->showingStableAsDefault()
#19 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(444): FlaggablePageView->showingStable()
#20 /var/www/w/extensions/FlaggedRevs/frontend/FlaggedRevsUI.hooks.php(92): FlaggablePageView->setRobotPolicy()
#21 /var/www/w/includes/Hooks.php(174): FlaggedRevsUIHooks::onBeforePageDisplay(OutputPage, SkinMetrolook)
#22 /var/www/w/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
#23 /var/www/w/includes/OutputPage.php(2703): Hooks::runWithoutAbort(string, array)
#24 /var/www/w/includes/exception/MWExceptionRenderer.php(136): OutputPage->output()
#25 /var/www/w/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(MediaWiki\Revision\RevisionAccessException)
#26 /var/www/w/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(MediaWiki\Revision\RevisionAccessException, integer)
#27 /var/www/w/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(MediaWiki\Revision\RevisionAccessException)
#28 /var/www/w/includes/MediaWiki.php(544): MWExceptionHandler::handleException(MediaWiki\Revision\RevisionAccessException)
#29 /var/www/w/index.php(42): MediaWiki->run()
#30 {main}
----



 



_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] Revision Access Exception

Andre Klapper
[Reply at the bottom]

On Thu, 2019-06-13 at 09:57 +0200, Valerio Pelliccioni wrote:

> Original exception: [f52efd87abf1cf423d19d4af]
> /wiki/Mr._Horn%27s_Strathspey MediaWiki\Revision\RevisionAccessException from line 1635 of /var/www/w/includes/Revision/RevisionStore.php: Main slot of revision 369407 not found in database!
> Backtrace:
> #0 /var/www/w/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
> #1 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
> #2 /var/www/w/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
> #3 /var/www/w/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
> #4 /var/www/w/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
> #5 /var/www/w/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
> #6 /var/www/w/includes/Revision.php(965): Revision->getMainSlotRaw()
> #7 /var/www/w/includes/page/WikiPage.php(641): Revision->getContentModel()
> #8 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
> #9 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
> #10 /var/www/w/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
> #11 /var/www/w/includes/page/WikiPage.php(269): WikiPage->getContentModel()
> #12 /var/www/w/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
> #13 /var/www/w/includes/actions/Action.php(98): WikiPage->getActionOverrides()
> #14 /var/www/w/includes/actions/Action.php(156): Action::factory(string, WikiPage, RequestContext)
> #15 /var/www/w/includes/MediaWiki.php(155): Action::getActionName(RequestContext)
> #16 /var/www/w/includes/MediaWiki.php(777): MediaWiki->getAction()
> #17 /var/www/w/includes/MediaWiki.php(517): MediaWiki->main()
> #18 /var/www/w/index.php(42): MediaWiki->run()
> #19 {main}
>
> Exception caught inside exception handler: [f52efd87abf1cf423d19d4af] /wiki/Mr._Horn%27s_Strathspey MediaWiki\Revision\RevisionAccessException from line 1635 of /var/www/w/includes/Revision/RevisionStore.php: Main slot of revision 369407 not found in database!
> Backtrace:
> #0 /var/www/w/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
> #1 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
> #2 /var/www/w/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
> #3 /var/www/w/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
> #4 /var/www/w/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
> #5 /var/www/w/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
> #6 /var/www/w/includes/Revision.php(965): Revision->getMainSlotRaw()
> #7 /var/www/w/includes/page/WikiPage.php(641): Revision->getContentModel()
> #8 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
> #9 /var/www/w/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
> #10 /var/www/w/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
> #11 /var/www/w/includes/page/WikiPage.php(269): WikiPage->getContentModel()
> #12 /var/www/w/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
> #13 /var/www/w/includes/actions/Action.php(98): WikiPage->getActionOverrides()
> #14 /var/www/w/includes/actions/Action.php(156): Action::factory(string, WikiPage, RequestContext)
> #15 /var/www/w/includes/MediaWiki.php(155): Action::getActionName(RequestContext)
> #16 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(246): MediaWiki->getAction(WebRequest)
> #17 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(122): FlaggablePageView->isDefaultPageView(WebRequest)
> #18 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(176): FlaggablePageView->showingStableAsDefault()
> #19 /var/www/w/extensions/FlaggedRevs/frontend/FlaggablePageView.php(444): FlaggablePageView->showingStable()
> #20 /var/www/w/extensions/FlaggedRevs/frontend/FlaggedRevsUI.hooks.php(92): FlaggablePageView->setRobotPolicy()
> #21 /var/www/w/includes/Hooks.php(174): FlaggedRevsUIHooks::onBeforePageDisplay(OutputPage, SkinMetrolook)
> #22 /var/www/w/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
> #23 /var/www/w/includes/OutputPage.php(2703): Hooks::runWithoutAbort(string, array)
> #24 /var/www/w/includes/exception/MWExceptionRenderer.php(136): OutputPage->output()
> #25 /var/www/w/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(MediaWiki\Revision\RevisionAccessException)
> #26 /var/www/w/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(MediaWiki\Revision\RevisionAccessException, integer)
> #27 /var/www/w/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(MediaWiki\Revision\RevisionAccessException)
> #28 /var/www/w/includes/MediaWiki.php(544): MWExceptionHandler::handleException(MediaWiki\Revision\RevisionAccessException)
> #29 /var/www/w/index.php(42): MediaWiki->run()
> #30 {main}

This looks like https://phabricator.wikimedia.org/T212428 which is
still unresolved. See https://www.mediawiki.org/wiki/Phabricator/Help
how you can subscribe to that task in Wikimedia Phabricator.

andre
--
Andre Klapper | Bugwrangler / Developer Advocate
https://blogs.gnome.org/aklapper/



_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l