[Bug]: Value log truncate required to run DB

Đang mở
#1,295 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@dopey đang làm issue này rồi.

Từ ngày 15/10/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug needs triage
Steps to Reproduce

Download windows binary file:
Run step-ca without config. All another runs shows this error.
OR for example initialize step-ca using step.exe. During starting step-ca enter wrong password for CA or cancel startup. Every next start result in
badger 2024/10/14 14:16:12 INFO: All 1 tables opened in 1ms
badger 2024/10/14 14:16:12 INFO: Replaying file id: 0 at offset: 2923
badger 2024/10/14 14:16:12 WARNING: Truncate Needed. File C:\Users\marek.anyz.step\db\000000.vlog size: 2147483646 Endoffset: 3535
Error opening database of Type badgerv2: error opening Badger database: During db.vlog.open: Value log truncate required to run DB. This might result in data loss

Your Environment
  • OS -Windows server 2022
  • step CLI Version - Smallstep CLI/0.27.2 (windows/amd64)
    Release Date: 2024-07-18T18:15:09Z
Expected Behavior

Runc without error and have change to run truncate for badgerv2

Actual Behavior

step-ca does not start and prevent use step-ca

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Ngôn ngữ chính
Go
Star
4.3k
Fork
320
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của smallstep/cli

Tất cả issue của smallstep/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.