-
Notifications
You must be signed in to change notification settings - Fork 122
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
ActiveStorage::AnalyzeJob jobs not running #167
Comments
Hey @olimart! Yes, they should run just in the same way if they are in the ActiveStorage::Blob.find(5).analyze and see if that gives you a clue. It doesn't seem like a Solid Queue problem from what I gather, though. |
Same problem here. ActiveStorage::Blob.find(NN).analyze runs without incident. |
Thanks Rosa. Will take another look but |
Hmm... Could you copy your |
default: &default
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
development:
<<: *default
database: myapp_development Along with Puma |
It's running fine on my desktop (M3), so I guess, something makes it hanging on lower specs (M2 laptop). |
I had this exact same issue come up with my I tracked it back in the logs to this error: Then found this open issue on rails related to it. rails/rails#38560 Locally in dev if I run this |
Thanks for the tip @DustinFisher will give it a try because run into it again this week 🙏 |
Thank you @DustinFisher ! I had the same issue on my M2 mac and this fixed it for me. |
I have the exact same issue. I see some ActiveStorage::AnalyzeJob in_progress and they never complete (on MacOS, Intel). The only temporary workaround that works is the env variable suggested by @DustinFisher . BTW why this issue is closed? It looks like a bug that should be fixed somewhere |
This is a known issue in MacOS, @DustinFisher gave the solution. |
Is that a safe permanent solution? seems like a hack. |
I'm on a M3 MacBook Pro and also noticed this started happening. |
Hey,
I've got some
ActiveStorage::AnalyzeJob
jobs not running (in development, haven't checked other envs).They're enqueued to the
default
queue (automatically by ActiveStorage).However, other
ActiveJob
jobs are also enqueued to thedefault
queue but are processed as expected.Since other jobs going through the default queue are processed,
ActiveStorage::AnalyzeJob
should run as well, right?This is how I start jobs
jobs: bundle exec rake solid_queue:start
config file
The text was updated successfully, but these errors were encountered: