You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,23 @@ version = "1.18.10"
89
89
In this case, **remove the entire block** related to the outdated version.
90
90
91
91
92
+
## Extra entry found: `._genesis.bin`
93
+
You can get error while running `solana-test-validator` on `macOS`:
94
+
```
95
+
failed to start validator: Failed to create ledger at test-ledger: io error: Error checking to unpack genesis archive: Archive error: extra entry found: "._genesis.bin" Regular/failed to stash problematic rocksdb: Directory not empty (os error 66)
96
+
```
97
+
To resolve this issue, you need to install `gnu-tar` and update your `PATH` environment variable if you plan to run `solana-test-validator` locally. Follow these steps:
In our testing environment, we have implemented a mechanism to prevent this failure by automatically exporting the `gnu-tar` path within the code.
105
+
Therefore, if you are running `solana-test-validator` only in tests, you just need to install `gnu-tar`.
106
+
107
+
You can find more info here: https://solana.stackexchange.com/questions/4499/blockstore-error-when-starting-solana-test-validator-on-macos-13-0-1/4761#4761
0 commit comments