I have a Synology RS812 NAS, which runs DSM (a form of Ubuntu I think) via BusyBox v.1.16.1, on a Marvell Kirkwood mv6282 1.6Ghz ARM processor (Marvell ARMADA 300). uname -a reports Linux <Hostname> 2.6.32.12 #5592 armv5tel GNU/Linux synology_88f6282_rs812. I have fully updated the OS, and have installed MediaWiki (and dependencies) from the default Synology repository. I've enabled both Parser Functions and Scribunto extensions. My Special:Version reports as follows:
MediaWiki 1.23.10 PHP 5.5.28 MariaDB 5.5.43 Lua 5.1.5 - so lua's definitely working/correctly installed.
I've added:
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php"); require_once( "$IP/extensions/Scribunto/Scribunto.php"); $wgScribuntoDefaultEngine = 'luastandalone'; $wgScribuntoEngineConf['luastandalone']['errorFile'] = 'lua error log.txt'; $wgScribuntoEngineConf['luastandalone']['memoryLimit'] = 209715200; # bytes $wgMaxShellMemory = 204800; # in KB
to LocalSettings.php and raised the memory_limit in etc/php/php.ini to 384M
I have exported from Wikipedia/Imported into my local Wiki all the modules and templates I should need for Infoboxes, but all I ever get is a Lua script error where I should have an infobox - always
'/volume1/web/MediaWiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua: line 1: syntax error: unexpected "("'
in the log file, with a "Lua error: Internal error: The interpreter exited with status 2." pop-up when I click on the red Script error on the page where the infobox should be. Raising the memory_limit in etc/php/php.ini is the supposed canonical cure for that, but it doesn't seem to work for me.
I thought I'd try to upgrade the lua binaries, since 5.1.5 is not cutting edge, but I can't seem to find a repository of arm5vtel lua binaries to do that.
What am I doing wrong? Hope someone can help! My expertise extends to following instructions, but not to cross-compiling lua for armv5 processors at a guess, unless some kind soul is REALLY happy to hold my hand!
Thanks
Charles ~~~~