[Bug]: Value log truncate required to run DB

Offen
#1,295 1 Kommentar 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@dopey arbeitet bereits daran.

Seit 15.10.2024.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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).

Vorherrschende Sprache
Go
Sterne
4.3k
Forks
320
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus smallstep/cli

Alle Issues in smallstep/cli

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.