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

DecryptAndDecompressTar: failed to create new reader #1316

Open
su-user opened this issue Jul 22, 2022 · 1 comment
Open

DecryptAndDecompressTar: failed to create new reader #1316

su-user opened this issue Jul 22, 2022 · 1 comment

Comments

@su-user
Copy link

su-user commented Jul 22, 2022

Hardware and software parameters

Debian GNU/Linux 8.5 (jessie)
PostgreSQL 9.6
wal-g version v1.0 2611d11 2021.05.31_12:37:24 PostgreSQL

Issue description

My problem

When trying to restore a cluster, I get a broken cluster and an error in the log. The file referenced by the wal-g is present at the source S3 storage.

Steps to reproduce

Run:
wal-g backup-fetch /mnt/RAMDB/ base_0000000100000C1E000000D4

Config and wal-g stdout

WALE_S3_PREFIX="s3://my-bucket/my-pg-61"
PGHOST=localhost
PGPORT=5432
AWS_ACCESS_KEY_ID="ACCESS_KEY_ID"
AWS_SECRET_ACCESS_KEY="ACCESS_KEY"
AWS_ENDPOINT="http://10.10.10.10:7480"
AWS_S3_FORCE_PATH_STYLE="true"
WALG_UPLOAD_CONCURRENCY=200
WALG_UPLOAD_DISK_CONCURRENCY=150

Part of restore log:

INFO: 2022/07/21 19:13:12.561706 Finished decompression of part_115.tar.lz4
INFO: 2022/07/21 19:13:12.561732 Finished extraction of part_115.tar.lz4
ERROR: 2022/07/21 19:13:12.561756 part_115.tar.lz4 DecryptAndDecompressTar: failed to create new reader: object 'my-pg-61/basebackups_005/base_0000000100000C1E000000D4/tar_partitions/part_115.tar.lz4' not found in storage
@usernamedt
Copy link
Member

Can you attach the wal-g st ls basebackups_005/base_0000000100000C1E000000D4/tar_partitions -r output?

Also, you can add the following settings for debug:

WALG_LOG_LEVEL=DEVEL
S3_LOG_LEVEL=DEVEL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants