MediaWiki: Difference between revisions

From Leo's Notes
This page was last edited on 1 September 2019, at 07:08.
Created page with " == Troubleshooting == === Scribunto Lua Failures === If templates cause this error: {{highlight|lang=text|code= Lua error: Internal error: The interpreter exited with status..."
 
m Added information about docker
Line 1: Line 1:
== Docker ==
You can run MediaWiki from a Docker container. A proof of concept can be found at:
* https://git.steamr.com/docker/mediawiki
Data that would need to be imported to support customizations would include:
# Images / Uploads
# Extensions
# Skins
# The {{code|LocalSettings.php}} configuration file
# Database (on a remote server / container / microservice), or a SQLite file on a volume


== Troubleshooting ==
== Troubleshooting ==

Revision as of 07:08, 1 September 2019

Docker

You can run MediaWiki from a Docker container. A proof of concept can be found at:

Data that would need to be imported to support customizations would include:

  1. Images / Uploads
  2. Extensions
  3. Skins
  4. The LocalSettings.php configuration file
  5. Database (on a remote server / container / microservice), or a SQLite file on a volume

Troubleshooting

Scribunto Lua Failures

If templates cause this error:

Lua error: Internal error: The interpreter exited with status 127.

This likely means that you do not have Lua installed or it is not in the PATH. You will need to specify the Lua path in LocalSettings.php with this line:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = "/usr/bin/lua5.1";