Chewy error: NameError: uninitialized constant StatusesIndex::Status

I see a bunch of sidekiq jobs failing like this:

{"context":"Job raised exception","job":{"retry":true,"queue":"pull","class":"Chewy::Strategy::Sidekiq::Worker","args":["StatusesIndex::Status",[107[redacted]]],"jid":"cf887d6444a53c63082c7c51","created_at":1638394933.2119026,"enqueued_at":1638574202.1568046,"error_message":"uninitialized constant StatusesIndex::Status\nDid you mean? OStatus\n Statsd","error_class":"NameError","failed_at":1638394933.230172,"retry_count":15,"retried_at":1638523497.0505354},"jobstr":"{\"retry\":true,\"queue\":\"pull\",\"class\":\"Chewy::Strategy::Sidekiq::Worker\",\"args\":[\"StatusesIndex::Status\",[107[redacted]]],\"jid\":\"cf887d6444a53c63082c7c51\",\"created_at\":1638394933.2119026,\"enqueued_at\":1638574202.1568046,\"error_message\":\"uninitialized constant StatusesIndex::Status\\nDid you mean? OStatus\\n Statsd\",\"error_class\":\"NameError\",\"failed_at\":1638394933.230172,\"retry_count\":15,\"retried_at\":1638523497.0505354}"}

I’m on glitch-soc c5751f8377ed966381445a4a5871711ef565c3ea. Any ideas?

Turns out that was the solution for this issue too. These sidekiq jobs were just old.

I take it back. This was in the Sidekiq morgue, even though I’m definitely running ES 7.x:

What should I do?

This may be an issue with Mastodon main, please submit an issue in the github repo.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.