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

sentry-cleanup does not start #860

Closed
olexiyb opened this issue Feb 15, 2021 · 0 comments · Fixed by #861
Closed

sentry-cleanup does not start #860

olexiyb opened this issue Feb 15, 2021 · 0 comments · Fixed by #861
Assignees
Labels
release-blocker Any issue open with this tag will stop CalVer releases from happening Type: Bug

Comments

@olexiyb
Copy link

olexiyb commented Feb 15, 2021

Version Information

Version: 20.12.0

Steps to Reproduce

  1. Upgrade to the latest version

Expected Result

I expect all docker services to start.

Actual Result

sentry-cleanup-onpremise-local "/etc/sentry/entrypo…" 4 minutes ago Restarting (127) 10 seconds ago sentry_onpremise_sentry-cleanup_1

Logs

$ docker logs sentry_onpremise_sentry-cleanup_1 -f
/docker-entrypoint.sh: line 27: exec: 0 0 * * * gosu sentry sentry cleanup --days 90: not found

I believe that issue was introduced by
#834 (comment)

  sentry-cleanup:
    <<: *sentry_defaults
    image: sentry-cleanup-onpremise-local
    build:
      context: ./cron
      args:
        BASE_IMAGE: "$SENTRY_IMAGE"
    entrypoint: "/entrypoint.sh" <---- Added line
    command: '"0 0 * * * gosu sentry sentry cleanup --days $SENTRY_EVENT_RETENTION_DAYS"'

I was able to start failing service

@BYK BYK self-assigned this Feb 15, 2021
@BYK BYK added release-blocker Any issue open with this tag will stop CalVer releases from happening Type: Bug Status: Accepted labels Feb 15, 2021
BYK added a commit that referenced this issue Feb 15, 2021
Fixes #860 and adds a test case to ensure all cleanup jobs are working.
@BYK BYK closed this as completed in #861 Feb 15, 2021
BYK added a commit that referenced this issue Feb 15, 2021
Fixes #860 and adds a test case to ensure all cleanup jobs are working.
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-blocker Any issue open with this tag will stop CalVer releases from happening Type: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants