-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error When Accessing /api/admin/index/status Endpoint #11069
Comments
Looks like a bug - only in the status and orphan clearing though. Should have a fix soon. Introduced in #10710. |
Here's part of the error: jakarta.ejb.TransactionRolledbackLocalException: Exception thrown from bean: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: |
As I mentioned in the Slack thread, this morning the same error... Exception Description: Syntax error parsing [SELECT fm.id FROM FileMetadata fm, DvObject dvo WHERE fm.datasetVersion.id=(SELECT dv.id FROM DatasetVersion dv WHERE dv.dataset.id=dvo.owner.id and dv.versionState=edu.harvard.iq.dataverse.DatasetVersion.VersionState.RELEASED ORDER BY dv.versionNumber DESC, dv.minorVersionNumber DESC LIMIT 1) AND dvo.id=fm.dataFile.id AND fm.dataFile.id=:fid]. ... was reported on Dataverse 6.4: https://dataverse.zulipchat.com/#narrow/channel/378866-troubleshooting/topic/Custom.20.E2.80.9CPerma.E2.80.9D.20PID.20Setup.20.26.20Indexing.20Problem/near/489483482 |
Description
While testing in the internal environment, the following issue was encountered:
When running the command:
bash
Copy code
curl http://localhost:8080/api/admin/index/status
as documented in Solr Search Index Documentation, an error is logged in the server logs.
Steps to Reproduce
curl http://localhost:8080/api/admin/index/status
Expected Behavior
The endpoint should return the Solr indexing status without logging an error in the server logs.
Actual Behavior
An error is logged in the server.log. See the attached log excerpt for details.
Possible Cause
This may be a database-related issue. Further investigation is needed to confirm.
Environment
Commit: Using Develop branch [82dad99]
Environment: Internal
API Endpoint: /api/admin/index/status
Documentation: Solr Search Index Documentation
Observed Behavior: Error logged in server.log
Attachments
Error Log:
Issue server.log.txt
The text was updated successfully, but these errors were encountered: