[00:30:13] what could be the reason that lua modules throw me MWexception errors on my mediawiki? My LocalSettings contain [00:30:14] wfLoadExtension( 'ParserFunctions' ); [00:30:14] $wgPFEnableStringFunctions = true; [00:30:15] wfLoadExtension( 'Scribunto' ); [00:30:15] $wgScribuntoDefaultEngine = 'luastandalone'; [00:30:16] did I miss anything else thats crucial? [00:36:27] It's certainly not faulty code, even print("Hello World!") gets me an error [00:37:08] What are the errors? [00:37:30] fatal exception MWerror [00:37:44] oh that's all? huh [00:38:02] [Yb0szcdNX8sZn0zP2F3ojwAAAFA] 2021-12-18 00:35:25: Fataler Ausnahmefehler des Typs „MWException“ [00:38:30] yea, thats all. its always only that message [00:39:48] oh, what's it give in the actual sever logs? [00:40:06] i tried to enable logging but i didnt find the logfile [00:40:16] i had him put it in the wgscriptpath [00:41:14] my instinct tells me theres something very basic missing in my setup [00:44:03] sry, correction: i set the log to [00:44:03] $wgDebugLogFile = "$wgResourceBasePath/debug-{$wgDBname}.log"; [00:44:24] didnt find any log file in there though [00:46:17] You'll have to touch the file first [00:46:27] But you can have it print the backtrace to the browser too [00:46:44] ($wgShowExceptionDetails for that) [00:48:47] ok now i get [00:48:50] [Yb0v3cdNX8sZn0zP2F3o2gAAAEg] /wiki/index.php?title=Modul:Titel&action=submit MWException: The lua binary (/var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable. [00:48:50] Backtrace: [00:48:51] from /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneInterpreter.php(96) [00:48:51] #0 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(99): Scribunto_LuaStandaloneInterpreter->__construct() [00:48:52] #1 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(125): Scribunto_LuaStandaloneEngine->newInterpreter() [00:48:52] #2 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(17): Scribunto_LuaEngine->load() [00:48:53] #3 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaCommon/LuaEngine.php(228): Scribunto_LuaStandaloneEngine->load() [00:48:53] #4 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaCommon/LuaModule.php(38): Scribunto_LuaEngine->getInterpreter() [00:48:54] #5 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/engines/LuaCommon/LuaModule.php(25): Scribunto_LuaModule->getInitChunk() [00:48:54] #6 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/common/ScribuntoEngineBase.php(193): Scribunto_LuaModule->validate() [00:48:55] #7 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/common/ScribuntoContent.php(35): ScribuntoEngineBase->validate() [00:48:55] #8 /var/www/vhosts/globistica.com/httpdocs/wiki/extensions/Scribunto/includes/common/Hooks.php(366): ScribuntoContent->validate() [00:48:56] #9 /var/www/vhosts/globistica.com/httpdocs/wiki/includes/HookContainer/HookContainer.php(338): ScribuntoHooks::validateScript() [00:48:56] #10 /var/www/vhosts/globistica.com/httpdocs/wiki/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook() [00:48:57] #11 /var/www/vhosts/globistica.com/httpdocs/wiki/includes/HookContainer/HookRunner.php(1559): MediaWiki\HookContainer\HookContainer->run() [00:48:57] #12 /var/www/vhosts/globistica.com/httpdocs/wiki/includes/editpage/Constraint/EditFilterMergedContentHookConstraint.php(90): MediaWiki\HookContainer\HookRunner->onEditFilterMergedContent() [00:48:58] #13 /var/www/vhosts/globistica.com/httpdocs/wiki/includes/editpage/Constraint/EditConstraintRunner.php(88): MediaWiki\EditPage\Constraint\EditFilterMergedContentHookConstraint->checkConstraint() [00:48:58] #14 /var/www/vhosts/globistica.com/httpdocs/wiki/includes/EditPage.php(2093): MediaWiki\EditPage\Constraint\EditConstraintRunner->checkConstraints() [00:49:22] use a pastebin service like https://dpaste.de next time, please [00:50:29] ok noted. i have a feeling i need to do make those binaries executable via linux console? [00:51:23] yup, just chmod u+x it [00:51:28] also: dpaste is going to be terminated as of January 1, 2022. If you're interested in taking the project and domain over, please get in contact with me. :D [00:51:38] aaaaaa [00:51:42] (thats from dpaste.de) [00:55:14] so i need to go to the folder via console and just type in "chmod u+x lua" ? [00:55:30] I believe so [00:55:49] any way to do that without console access? [00:56:04] via plesk or something [00:56:29] you'll have to check their documentation [00:58:12] thanks for the help [00:58:37] of course! [01:22:39] don't tell mirghon but I know literally nothing about mediawiki configuration; I was just looking things up on the fly [01:24:23] 90% of helping people is knowing where to find the documentation [01:24:47] the other 10% is knowing when to say "I don't know" [01:24:54] that's also 99% of wikicompetence, I suppose [01:25:03] the other 1% is IAR :D [01:25:25] (Obviously competent Wikipedians are not allowed to not know something; that would be ridiculous) [22:28:09] hey all, just setup a brand new mediawiki - I did enable the OAuth plugin, how would I allow SSO from Github [23:46:39] daemon, there isn't an extension with built-in support for Github OAuth, you'd have to add it as a new provider in https://www.mediawiki.org/wiki/Extension:WSOAuth