Skip to content
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

Ingestion not working on v8.0.1 #53

Open
TaylorJadin opened this issue Nov 30, 2023 · 0 comments
Open

Ingestion not working on v8.0.1 #53

TaylorJadin opened this issue Nov 30, 2023 · 0 comments

Comments

@TaylorJadin
Copy link

TaylorJadin commented Nov 30, 2023

I'm having issues getting ingestion of files working on versions newer than 7.1.

Tailing the logs I get these errors from the api_rails_1 container:

proxy_1          | 172.17.0.7 - - [30/Nov/2023:08:19:46 +0000] "PATCH /api/files/a54b2b2c68a9ad7aa769f1a6c27c3387 HTTP/1.1" 204 0 "https://manfiold801.ca.reclaim.cloud/backend/projects/90975d94-afa5-48e3-b
97a-a341837be0e2/texts/ingestions/new" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0" "206.40.119.196"
api_rails_1      | I, [2023-11-30T08:19:47.731370 #65]  INFO -- : [c2f626c9-dd96-469a-a332-c79f1b0057a3] method=POST path=/api/v1/projects/90975d94-afa5-48e3-b97a-a341837be0e2/relationships/ingestions form
at=*/* controller=API::V1::IngestionsController action=create status=500 error='NoMethodError: super: no superclass method `target_kind=' for #<Ingestion:0x00007fcbc450c9a8>
api_rails_1      | Did you mean?  target_kind' allocations=15278 duration=34.01 view=0.00 db=7.28 request_time=2023-11-30 08:19:47 UTC
api_rails_1      | F, [2023-11-30T08:19:47.731819 #65] FATAL -- : [c2f626c9-dd96-469a-a332-c79f1b0057a3]   
api_rails_1      | [c2f626c9-dd96-469a-a332-c79f1b0057a3] NoMethodError (super: no superclass method `target_kind=' for #<Ingestion:0x00007fcbc450c9a8>
api_rails_1      | Did you mean?  target_kind):
api_rails_1      | [c2f626c9-dd96-469a-a332-c79f1b0057a3]   
api_rails_1      | [c2f626c9-dd96-469a-a332-c79f1b0057a3] app/models/ingestion.rb:147:in `infer_kind!'
api_rails_1      | [c2f626c9-dd96-469a-a332-c79f1b0057a3] app/controllers/api/v1/ingestions_controller.rb:28:in `create'
api_rails_1      | [c2f626c9-dd96-469a-a332-c79f1b0057a3] lib/middleware/omniauth_stack.rb:10:in `call'

After doing some digging, it looks like the ingestions table in the database is supposed to have a target_kind column set to text but I'm not seeing that in my fresh install. I wonder if something related to initial db setup is not working correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant