0

I have been attempting a full install of MediaWiki, and the Scribunto/Lua extension is not working for me at all. First I tried hosting locally on Laragon. The Lua binary failures trying to run under WAMP solutions seem to be legendary discussions. That effort always ended in the Signal 11 error. Then I have tried several installs of MediaWiki in versions 1.39 and 1.43 on my AlmaLinux VPS. Every suggested setting mentioned anywhere on the internet has been configured over and over again with the same ultimate results.

Nothing makes much difference, and unlike any of the other Lua errors (1, 2, 126, 127), signal 11 leaves no trace in the log. Just for fun I created conditions to cause those former errors to be logged--they were. Also $showexceptiondetails reveals no additional info.

I simply do not understand why this won't work properly. Even attempts to create simple Lua module scripts like 'Hello' get caught by the editor emulator when trying to save. The site is up and running, and is purposed to accomplish BOLD edits and new namespace content for inclusion into Wikipedia. At the bottom of the landing page are links that deliver phpinfo and system version info. Any thoughts?

The site is located at https://ae1pt.com/wikitor/index.php?title=PROJECT_DIRECTORY

There is an example of the LocalSettings.php file, and a list of things done so far. Links to the phpinfo.php page and Special:Version pages are linked as well.

There is one active article listed (John Jones), and demonstrates the Lua failure upon on calling up the person Infobox.

EDIT ON FIRST SUGGESTION BY Alexander Mashin

Further specifiying the Lua path is a well-trodden attempt that has not born fruit. Note the commented out line in the LocalSettings.php example file. That one was for a file not buried in the extensions:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/wikitor/lua515/lua';

then also this on the running server file:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua';

These paths result in Signal 11 errors, and the version reports fine on the Special:Version page. Any hierarchical omissions or mistakes here deliver a quick (and logged) Signal 127 error--no such file or directory.

1 Answers1

0

I think you need to add a setting to LocalSettings.php:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/real/absolute/path/to/lua/binary';
// as reported by which lua5.1.