Topic on Talk:Parsoid

Check which version of parsoid is installed

5
Summary last edited by SSastry (WMF) 15:01, 29 November 2018 5 years ago

curl "http://localhost:8142/version" or http://localhost:$PORT/version where $PORT is the port Parsoid listens on

Kghbln (talkcontribs)

I think I saw this somewhere but I cannot remember where and cannot find it right now. How do I check for the version of parsoid I am currently running?

Kghbln (talkcontribs)

Ok. Go to `/usr/lib/parsoid/src`, open "package.json" and look for the version stated. However I have the strong feeling that there is a saner method around.

Legoktm (talkcontribs)
Bryandamon (talkcontribs)

One other method that worked for me (on Ubuntu):

dpkg -s parsoid


Or, maybe more specifically:

dpkg -s parsoid | grep Version
Legoktm (talkcontribs)

That will work for anyone who installed via the Debian/Ubuntu package only (but is still convenient nonetheless).