Closed syphax-bouazzouni closed 8 months ago
I'm having trouble reproducing this on our end. The 6.9.0 release added support for ontology change requests, hence the issue creator service for generating issues into external GitHub repositories.
The Rails server boots without errors in appliance mode:
➜ bioportal_web_ui git:(master) ✗ rails s -e appliance
=> Booting Thin
=> Rails 6.1.7.3 application starting in appliance http://0.0.0.0:3000
=> Run `bin/rails server --help` for more startup options
2023-09-12 18:02:03 -0700 Thin web server (v1.8.2 codename Ruby Razor)
2023-09-12 18:02:03 -0700 Maximum connections set to 1024
2023-09-12 18:02:03 -0700 Listening on 0.0.0.0:3000, CTRL+C to stop
I also checked with @alexskr about this, and he mentioned that he hadn't run into any issues with the last OntoPortal release, which was based on the v6.11.0 tag.
Though, I suppose that you aren't running AgroPortal in "appliance" mode?
This issue was recently reproduced in our staging environment. It was caused when the graphql
transitive dependency was upgraded from 2.0.26 to 2.1.0. Version 2.1.0 of graphql
breaks graphql-client
. The current resolution is to pin graphql
to something less than 2.1, e.g., see this commit: https://github.com/ncbo/bioportal_web_ui/commit/23e681eb1c9c851a82de2e00d45b5f0157b0a849.
Leaving this open for the moment because the fix isn't deployed to production just yet - only the staging environment.
Fixed by this commit: https://github.com/ncbo/bioportal_web_ui/commit/23e681eb1c9c851a82de2e00d45b5f0157b0a849, and deployed/verified in production.
Description
In our latest deployment, we got the below error from the IssueCreatorService, we are synced with the release v6.9.0
The issue seems that the GitHub::Client.parse line raises an error, but really clear what is it about.
The way I fixed it temporarily in our code, is to remove the two constants
FindRepoQuery
andCreateIssueMutation
, and put them as variables in the call methodcall
.Log