Running cdk-cli on a fresh system hangs #1160
Labels
No labels
DB & Storage
Deployment
Error Handling & Logging
Maintenance
Payment Backend
backport
backport v0.13.x
backport v0.14.x
backport v0.15.x
bindings
blocked
bug
cdk-sql
ci
cli
deps
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keep-open
ldk-node-ui
migrations
mint
mutation-testing
needs rebase
needs review
new nut
nut change
question
ready
rust-version
rustfmt
stacked hold
stale
testing
wallet
weekly-report
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cashubtc/cdk#1160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's because the ~/.cdk-cli dir is not created. That is why
github.com/cashubtc/cdk@c30a078a12/crates/cdk-sqlite/src/common.rs (L50)is hanging. It can create the db file but not the parent directory that is missing on a fresh system.I expect cdk-cli to create the directory if it's missing.
Thanks fixes in https://github.com/cashubtc/cdk/pull/1161. Something must have changed recently I've done this many times before without an issue.