[00:00:34] if you have a lot of spuriously locked pages, it'd be good to figure out where your object cache is living and just nuke it from orbit [00:01:28] object(SqlBagOStuff) ... ["tableName":protected]=> string(11) "objectcache" suggests that it is the sql option [00:01:51] (which would make sense) [00:03:41] yeah, so you can TRUNCATE objectcache; if you just want to nuke the entire thing [00:04:20] it'll break all Ext:Translate locks, and a bunch of other stuff but the object cache isn't meant to be a storage for things not found elsewhere so all the other stuff will simply regenerate on subsequent requests [00:04:33] (just means the wiki will be a bit slower for the first few pageloads afterwards) [00:04:51] it is a cache after all, if it was supposed to be saved it should be under a mattress instead :) [00:05:19] (* this is a homonym joke about cash and saving it under mattresses.) [00:08:54] cool beans. i've added these to my maintenance notes so that next time this happens i won't get stuck on it [00:14:22] one more question that is not terribly pressing; does the mediawiki upgrade process (from e.g. 1.34->1.38) work gracefully even if the uploaded file store is temporarily offline? for upgrades i typically do a test run on a clone, but the clone only has the wiki code files and database, not the separate uploaded files folder. [00:15:10] i can finish it with the storage online if it needs additional steps re-run after the database upgrades; i mostly just want to make sure the software works ok without risking unintentional modifications or downtime since i can't double-mount it. [00:15:49] (in the worst case i can take the main wiki offline for some time to run the upgrade process and allow the upgraded copy r/o access, but i'd like to try and minimize downtime without having to also copy 250G...) [00:16:12] upgrade just needs database access, it doesn't touch your files [00:17:07] (some exceptions probably existed in the past, but I don't think any meaningful changes have been made to the file layer in the past long while) [00:17:37] note that 1.38 is also EOL so you probably don't want to upgrade to that :P [00:17:49] 1.34->1.39 is recommended as 1.39 is LTS [00:19:35] (note that 1.39 is the latest version you can upgrade 1.34 to directly; if you want to go to 1.40+ then you need to stop over at 1.39 first) [00:25:42] ohr ight, 139 is lts, not 138 [00:26:12] dunno where i got 138 from [00:58:42] anyway, thank you for the help. to say it is appreciated would be an understatement and i am bad with words [02:01:51] I'm trying to import templates from wikipedia into a mediawiki I manage.  The first template I'm attempting to import, https://en.wikipedia.org/wiki/Template:Namespaces, fails, reporting "Import failed: The luasandbox extension is not present, this engine cannot be used."  I have Scribunto installed, and configured to use "luasandbox" (as opposed [02:01:51] to more default "luastandalone"). [02:03:35] I see wikipedia reports luasandbox, not as an extension, but as one of the 10 core pieces of "installed software". It also has scribunto present.  Do I need to muck around in the template file to make this work? [02:04:07] it looks like it might take a bit more than just changing the scribunto config - https://www.mediawiki.org/wiki/LuaSandbox (but i've never done it before) [02:04:31] I have the package installed per LuaSandbox instructions -- via ubuntu repo [02:05:48] the LuaSandbox page event has a header note: "For the MediaWiki extension that allows use of sandboxed Lua code, see: Extension:Scribunto." [02:07:42] Perhaps I should check changelog notes for when luasandbox move from extension to core installed software [02:10:21] Ok, no mention of /lua/ in release notes (wiki summary nor full file) for 1.40*, 1.41, 1.42 [02:45:09] mcint: luasandbox is a PHP extension and needs to be loaded in your php.ini file [02:46:10] it is not shipped as part of MediaWiki or Scribunto and needs to be installed separately [02:49:32] things to check 1) you installed the version of luasandbox matching the PHP version that you're using, and 2) there is extension=luasandbox in your php.ini