[14:55:22] Hey, I have a problem with my MW installation after a DB restore: [14:55:42] I get the message on the main page that "The revision #20564 of the page named "Hauptseite" does not exist." [14:56:57] But when I check the DB there is the revision #20564 in the DB table revision with the rev_text_id 20109 and in table text there is the page with the correct content [15:04:58] janluca, what URL are you going to? [15:05:27] Krenair: https://zapf.wiki/Hauptseite [15:06:43] interesting [15:07:48] If I try to edit this page I get the following backtrace: [15:07:48] index.php?title=Hauptseite&action=submit MWException from line 1722 of /srv/ZaPFWiki/includes/page/WikiPage.php: Could not find text for current revision 20564. [15:07:48] Backtrace: [15:07:49] #0 /srv/ZaPFWiki/includes/page/WikiPage.php(1674): WikiPage->doModify(WikitextContent, integer, User, string, array) [15:07:49] #1 /srv/ZaPFWiki/includes/EditPage.php(2214): WikiPage->doEditContent(WikitextContent, string, integer, boolean, User, string, array, integer) [15:07:51] (...) [15:14:29] that's strange [15:17:49] janluca, what about rev_page? [15:18:09] does that match a `page` entry with the right page_namespace/page_title ? [15:18:40] Krenair: Yeah, rev_page is 1 and this the page I want [15:19:23] page_latest? [15:20:25] Is set to correct revision 20564 [15:20:30] huh [15:21:37] https://zapf.wiki/Spezial:ApiSandbox?uselang=en#action=query&format=json&prop=revisions&revids=20564&rvprop=content [15:22:07] The api looks good [15:22:49] Maybe you or someone else visited that page while the database wasn't restored completely, and MediaWiki cached the missing revision id in object storage? [15:24:09] not unlikely considering it's the latest revision of the main page [15:24:24] Vulpix: I tried a action=purge to clear server cahce [15:24:38] action=raw works: view-source:https://zapf.wiki/Hauptseite?action=raw [15:25:41] Vulpix, Krenair: Ok, it seeems to be a Memcached problem. I disabled the cache in the config and now it works fine [15:25:48] Thank you for your help :) [15:25:52] good call Vulpix :) [15:25:56] caching a missing revision id seems crazy [15:27:19] this code is changing around MCR [19:50:07] hi, can i specify on dumpbackup.php Template:Blah? [20:18:16] nvm [20:18:18] i found it [21:43:22] how can i import an images dir if its all images/a/a00 [21:43:24] and so on? [21:50:06] biberao: https://www.mediawiki.org/wiki/Manual:ImportImages.php [21:50:09] use the --search-recursively option [21:50:26] just be sure to remove the thumb directory [21:51:02] like the original thumb? [21:52:24] all thumbnails are generated there. You don't want to import thumbnails as new images [21:53:08] ok [21:53:12] lets try [21:53:22] theres a thumb inside images/ [21:53:26] so i remove it ya? [22:01:56] a bunch of images failed [22:01:58] will debug [22:04:29] ideally, you should run that script as the webserver/php user, with the sudo command, to avoid permission problems [22:08:16] ok thanks [22:24:34] Vulpix: the error could not store at at "mwstore://local-backend/local-public [22:24:47] permission problem [22:24:47] isnt it possible to have a new place to store the images? [22:24:50] nope [22:24:53] same error [22:25:43] i gave it the right permissions [22:28:15] i fix it [22:28:16] haha [22:28:28] i havent [22:28:28] :| [22:31:04] tried something lets wait [22:31:10] i have another issue [22:31:15] the mainpage doesnt open [22:31:25] like wiki/MainPage [22:31:30] what could it be? [22:31:32] scriptpath? [22:32:06] ly [22:32:18] bley stupid computer, disregard. [22:32:25] *kicks laptop into the road*