Restarting Parsoid
From Biowikifarm Metawiki
Revision as of 18:46, 18 December 2015 by Andreas Plank (Talk | contribs) (added Category:Visual Editor using HotCat)
Restart
If Parsoid was installed from binary, the configuration file is in /usr/lib/parsoid/src/api/localsettings.js.
If Parsoid was installed from source in /usr/local/src/parsoid/api/localsettings.js
Copy localsettings.js.example to localsettings.js if it's not already there.
Please don't overwrite it if it's already there.
In localsettings.js, add the wiki prefix (same as $wgVisualEditorParsoidPrefix in LocalSettings.php) and api URL, e.g.
parsoidConfig.setInterwiki( 'YOUR-PREFIX-HERE', 'http://path-to/api.php' );
Restart Parsoid to load the new settings:
/etc/init.d/parsoid stop
/etc/init.d/parsoid start
Troubleshooting
Parsoid logs are in : /var/log/parsoid
- Parsoid won't start
- Check the configuration. Any non-existing wikis in the configuration will prevent Parsoid from starting, e.g. if you deleted a wiki (even a testwiki).