$IPFS_PATH/api blocks use of ipfs --local
until removed
#4214
Labels
kind/bug
A bug in existing code (including security flaws)
Projects
Type: Bug
Severity: Medium
Description:
If the daemon gets killed violently, $IPFS_PATH/api and repo.lock are left behind. These get cleared on next start of the daemon, but if the user wishes to run any ipfs command using the
--local=true
flag before the next daemon startup, it will still try to use the defunct api endpoint instead of the local method. I think this behavior is probably unintended. Local commands should ignore and/or remove the api file in the IPFS_PATH.The text was updated successfully, but these errors were encountered: