Hello Everyone,
Setup:
Mediawiki Version: 1.31
Node.js Version: 10.22.0
Parsoid Version: 0.9.0 from https://releases.wikimedia.org/parsoid/
OS: Ubuntu 18.04
I've been trying to get Parsoid and Visual Editor running for a while now.
Error
Visual Editor gives me this Error when I try to edit a page:
"Fehler beim Laden der Daten vom Server: apierror-visualeditor-docserver-http-error: (curl error: 7) Couldn't connect to server"
Also the Version page of my Wiki doesn't list Parsoid at all. I therefore concluded that Parsoid isn't running properly.
When I try to run Parsoid manually with the command: node bin/server.js
I get this error: https://pastebin.com/q7g2p3DY
When I try to start Parsoid with "sudo service parsoid restart" I get the error: "Failed to restart parsoid.service: Unit parsoid.service not found".
Parsoid Installation workflow:
wget https://releases.wikimedia.org/parsoid/parsoid_0.9.0all_all.deb
sudo dpkg -i parsoid_0.9.0all_all.deb
sudo apt-get install -f
Then I edited the config.yaml in /etc/mediawiki/parsoid adding my Api adress.
I did the same with the config.yaml in /usr/lib/parsoid/src.
I can curl my Api with "curl http://192.168.178.XX/XXXX/api.php"
Does anyone have an idea what I can do to makes this configuration work? Unfortunately I need some extensions for my project that are not supported beyond MW 1.31, so I can't just update to the latest version.
Cheers
AID-PMBD