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

Statistics no longer run #320

Open
ckarpinski opened this issue Aug 6, 2023 · 2 comments
Open

Statistics no longer run #320

ckarpinski opened this issue Aug 6, 2023 · 2 comments
Assignees
Labels
maintenance bills to maintenance

Comments

@ckarpinski
Copy link
Contributor

The home page stats and the institution page stats do not update. They have not been run in many months now. They were suppose to be set to run every 2 weeks.

@ckarpinski ckarpinski converted this from a draft issue Aug 6, 2023
@bkiahstroud bkiahstroud self-assigned this Oct 25, 2023
@bkiahstroud bkiahstroud moved this from Ready for Development to In Development in atla_digital_library Oct 25, 2023
@bkiahstroud
Copy link
Contributor

  • The stats job has been run; the numbers should be up to date now
  • The job has been schedule to start recurring again

For any future devs looking at this, here's what I did: in a rails console on the production server, I ran:

UpdateStatisticalDataJob.perform_now

This runs the job and also handles scheduling itself to run in the future. You can see the update_statistical_data job queue has one job queued up:

image

This job can disappear accidentally when we cancel a currently-running importer by clearing all the jobs out; the update stats job gets included in "all the jobs"

@bkiahstroud bkiahstroud moved this from In Development to Client Verification in atla_digital_library Oct 25, 2023
@bkiahstroud bkiahstroud added the maintenance bills to maintenance label Oct 25, 2023
@ckarpinski
Copy link
Contributor Author

I am going to leave this ticket in client verification until i can verify that it is running on its own and updating.

@ckarpinski ckarpinski moved this from Client Verification to Done in atla_digital_library Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance bills to maintenance
Projects
Status: Done
Development

No branches or pull requests

2 participants