Skip to content

Backup Errors: Container logs inundated with errors about archiver failing. #6630

Description

@zgjimgjonbalaj

Describe the bug
In the docker container logs for the rudder-server I am getting a lot of the following errors:


2026-01-25T01:44:30.031Z        ERROR   runner.warehouse.archiver       archive/archiver.go:370 [Archiver]: Error backing up staging files for upload   {"uploadId": 225, "error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

2026-01-25T01:44:35.085Z        ERROR   tablearchiver   tablearchiver/tablearchiver.go:124      [TableJSONArchiver]: Error uploading local file dump to object storage  {"error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

2026-01-25T01:44:35.085Z        ERROR   runner.warehouse.archiver       archive/archiver.go:370 [Archiver]: Error backing up staging files for upload   {"uploadId": 232, "error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

2026-01-25T01:44:40.143Z        ERROR   tablearchiver   tablearchiver/tablearchiver.go:124      [TableJSONArchiver]: Error uploading local file dump to object storage  {"error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

2026-01-25T01:44:40.143Z        ERROR   runner.warehouse.archiver       archive/archiver.go:370 [Archiver]: Error backing up staging files for upload   {"uploadId": 238, "error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

2026-01-25T01:44:45.202Z        ERROR   tablearchiver   tablearchiver/tablearchiver.go:124      [TableJSONArchiver]: Error uploading local file dump to object storage  {"error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

2026-01-25T01:44:45.202Z        ERROR   runner.warehouse.archiver       archive/archiver.go:370 [Archiver]: Error backing up staging files for upload   {"uploadId": 233, "error": "operation error S3: PutObject, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded"}

Steps to reproduce the bug
Start the server without configuring any backups/archiving or providing the necessary variables as given via the sample docker-compose.yml. I do see some env vars in the sample config for archival settings for MinIO, S3, GCS and others but no environment vars for disabling. Additionally, online documents also have no mentions on how to disable.

Expected behavior
The default behavior I would think should be not to backup/archive automatically unless there are configuration settings for a bucket. In the web docs it offers information on how to configure locations via the "Data Management" tab however this tab does not exist for self-hosted instances. We are currently just testing the RudderStack and wanted to check logs to ensure no other issues present but these make it difficult to filter. I am doing so through grep but can't help but wonder if there is something I am missing here.

Thanks for all your work on this platform!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions