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

SQLite comp subscriptions deleted when not expired #22176

Open
1 task done
cathysarisky opened this issue Feb 13, 2025 · 0 comments · May be fixed by #22178
Open
1 task done

SQLite comp subscriptions deleted when not expired #22176

cathysarisky opened this issue Feb 13, 2025 · 0 comments · May be fixed by #22178

Comments

@cathysarisky
Copy link
Contributor

Issue Summary

Discussion here: https://forum.ghost.org/t/bulk-creation-of-comped-users-via-admin-api-expiration-issue-after-approx-15-hours/55244/7

clean-expired-comped deletes complimentary subscriptions that are not expired, but only when running in development. The problem appears to be a difference in date formatting for expiry_date in members_products

Steps to Reproduce

Install Ghost with sqlite. I'm using the source/development install.
Change the job schedule to every minute, or you'll be bored.
Create some complimentary members. Wait a minute for them to be converted to free.

Ghost Version

5.109

Node.js Version

20

How did you install Ghost?

source install.

Database type

MySQL 8

Browser & OS version

No response

Relevant log / error output

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Feb 13, 2025
@mike182uk mike182uk added P4 - Low OSS and removed needs:triage [triage] this needs to be triaged by the Ghost team labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants