Skip to content

CID generated with ipfs object put crashes ipfs files rm #8144

@KB1RD

Description

@KB1RD

Describe the bug
Once adding said CID, the files page becomes blank each time you open it. You must hit the back button and refresh the page to make it go away. I tried removing all pins, garbage collecting the local repo, and destroying all local browser data. Only nuking the whole data directory for IPFS seems to make it go back to normal.

To Reproduce
Steps to reproduce the behavior:

  1. Run echo '{ "Data": "abc" }' | ipfs object put. This should output QmXg9Pp2ytZ14xgmQjYEiHjVjMFXzCVVEcRTWJBmLgR39V.
  2. Click on the Files tab, click "Import", click "From IPFS", enter this CID.
  3. The screen will now become blank and you will never be able to access the files tab. I recovered only by destroying my node (installed via snap): rm -rf ~/snap/ipfs/common/*

Expected behavior
This shouldn't happen.

Screenshots
It's just a white screen. There are some ambiguous errors in console.

Desktop (please complete the following information):

Smartphone (please complete the following information):
N/A

Additional context
IPFS at latest Snap version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions