Hello,
I am not the strongest at *nix, but I can puzzle most things out. This problem has got me baffled.
This is a Bitnami aws image of MediaWiki.
I am running:
Product | Version |
---|---|
MediaWiki | 1.32.1 |
PHP | 7.1.28 (fpm-fcgi) |
MySQL | 5.7.26 |
ICU | 64.2 |
VisualEditor | 0.1.0 (6414119)10:41, 3 June 2019 |
MediaWiki doesn't have Parsoid on its Special:Version page. When I run:
npm version
{ npm: '3.5.2',
ares: '1.10.1-DEV',
http_parser: '2.5.0',
icu: '55.1',
modules: '46',
node: '4.2.6',
openssl: '1.0.2g',
uv: '1.8.0',
v8: '4.5.103.35',
zlib: '1.2.8' }
This would indicate it's not running, but then I get:
~$ service parsoid status
● parsoid.service - LSB: Web service converting HTML+RDFa to MediaWiki wikitext and back
Loaded: loaded (/etc/init.d/parsoid; bad; vendor preset: enabled)
Active: active (running) since Wed 2019-07-10 16:58:54 UTC; 10h ago
Docs: man:systemd-sysv-generator(8)
Process: 9519 ExecStop=/etc/init.d/parsoid stop (code=exited, status=0/SUCCESS)
Process: 9530 ExecStart=/etc/init.d/parsoid start (code=exited, status=0/SUCCESS)
Tasks: 10
Memory: 27.8M
CPU: 3.107s
CGroup: /system.slice/parsoid.service
├─9539 /bin/sh -c /usr/bin/nodejs /usr/lib/parsoid/src/bin/server.js -c /etc/mediawiki/parsoid/config.yaml >> /var/log/par
└─9541 /usr/bin/nodejs /usr/lib/parsoid/src/bin/server.js -c /etc/mediawiki/parsoid/config.yaml
Jul 10 16:58:49 ip-172-31-36-234 systemd[1]: Stopped LSB: Web service converting HTML+RDFa to MediaWiki wikitext and back.
Jul 10 16:58:49 ip-172-31-36-234 systemd[1]: Starting LSB: Web service converting HTML+RDFa to MediaWiki wikitext and back...
Jul 10 16:58:49 ip-172-31-36-234 parsoid[9530]: Started Parsoid server on port 8142
Jul 10 16:58:54 ip-172-31-36-234 systemd[1]: Started LSB: Web service converting HTML+RDFa to MediaWiki wikitext and back.
Jul 11 02:54:10 ip-172-31-36-234 systemd[1]: Started LSB: Web service converting HTML+RDFa to MediaWiki wikitext and back.
So I know it's running, and allegedly listening on 8142. But when I try to do a curl to that port, the connection is refused. Curl sees mediawiki, so I know it works.
I installed all of these from the instructions here at mediawiki.org.
Where should I go from here?
Thanks!
Michael