Skip to content

[Bug]: Upgrading coolify version causes scheduled database backups to fail #3355

Description

@steventsvetkov

Description

After upgrading the coolify version, scheduled database backup start failing. It looks like it's unable to pull the coolify-helper image from ghcr and retries to do so at an impressive polling rate of 271.469µs, quickly hitting the github API rate limit?

This is fixed by triggering a manual backup, after which scheduled backups start working as expected. Note that I have only one database running on my VPS, I'm not sure how it would behave with more than one. I've recently started using Coolify and I've upgraded twice so far, this issue appeared both times.

Minimal Reproduction (if possible, example repository)

  1. Create a new project and a stage environment for it.
  2. Create a MongoDB database in stage with public access enabled.
  3. Configure S3 storage using R2 Cloudflare
  4. Setup automatic backups to trigger every hour and upload to S3
  5. Upgrade the Coolify version using the UI
  6. Database backups start failing
  7. Trigger a manual backup to fix this issue.

Exception or Error

Unable to find image 'ghcr.io/coollabsio/coolify-helper:latest' locally
docker: Error response from daemon: toomanyrequests: retry-after: 271.469µs, allowed: 44000/minute.
See 'docker run --help'.

DatabaseBackupJob failed with: Unable to find image 'ghcr.io/coollabsio/coolify-helper:latest' locally
latest: Pulling from coollabsio/coolify-helper
3c854c8cbf46: Pulling fs layer
d2aac0aefc71: Pulling fs layer
f9c396f433c8: Pulling fs layer
a9b023bc0a40: Pulling fs layer
74b8f2dbaf15: Pulling fs layer
4f4fb700ef54: Pulling fs layer
616e93ebdc58: Pulling fs layer
4f4fb700ef54: Waiting
616e93ebdc58: Waiting
a9b023bc0a40: Waiting
docker: error pulling image configuration: download failed after attempts=1: toomanyrequests: retry-after: 1.296341ms, allowed: 44000/minute.
See 'docker run --help'.

Version

329

Cloud?

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions