Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RHEL / CentOS 7 `js-1.8.5-20` package breaks couchjs #1293
I have received 2 reports by email that this is failing. One follows below.
I've noticed your message in couchdb-usr mailing list, unfortunately didn't figure out how to get old messages in my mailbox so can reply.
We had to rollback for our server to js-1.8.5-19 and server works fine.
yum changelog all js returns following
The error in couchdb is
I've did a lookup on CentOS GIT repos and found following
Hope this helps
The workaround is to temporarily revert to the
After a full clean build and ensuring no traces of older packages or hand-compiled libmozjs are present on a CentOS 7 box, I am still getting a failure in our JS test suite with the upstream package, but now it's in
The failure is:
referenced this issue
Apr 27, 2018
I will come back to this next week to resolve.
added a commit
May 15, 2018
Just in case you didn't have enough information on this already, when we found this occurring we tracked it down to ONLY PUT requests with our design documents:
couchdb_1 | SyntaxError: JSON.parse
And that couchdb log would scroll until the service was stopped. We used the following to trigger the error:
PUTs of non-design-docs worked, POSTs and GETs worked, it was just PUT of /_design/ddoc that was a problem.
I have the same issue with user creation. The first creation is OK and the following make an error 500 with this stack trace :
I have reverted the js package to the version 1.8.5-19 and it's work
This was referenced
May 24, 2018
Packages have been temporarily removed due to conflicts with the js package and the old CouchDB .rpms. Once I have finished testing the new CouchDB .rpms I will re-publish these packages. Sorry for the inconvenience.