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
Is your feature request related to a problem? Please describe.
It's possible for users to get into a state where they have non-unixfs files in MFS, which will result in errors like Error: unrecognized node type in cache node.
When non-unixfs files are in MFS, removal of those files will fail in webui without error.
They also fail to be removed in the command line unless rm --force is used.
Describe the solution you'd like
When a user attempts to remove a file, we should provide an option to "force" remove the file.
Describe alternatives you've considered
We may also want to enable a fallback prompt to "force" remove files when a user attempts to remove a file and it fails.
Additional context
We should also prevent users from adding/importing non-unixfs files via the webui (I believe I added the files that got me into this state via the webui)
Is your feature request related to a problem? Please describe.
It's possible for users to get into a state where they have non-unixfs files in MFS, which will result in errors like
Error: unrecognized node type in cache node
.When non-unixfs files are in MFS, removal of those files will fail in webui without error.
They also fail to be removed in the command line unless
rm --force
is used.Describe the solution you'd like
When a user attempts to remove a file, we should provide an option to "force" remove the file.
Describe alternatives you've considered
We may also want to enable a fallback prompt to "force" remove files when a user attempts to remove a file and it fails.
Additional context
We should also prevent users from adding/importing non-unixfs files via the webui (I believe I added the files that got me into this state via the webui)
Code that needs updated
ipfs-webui/src/files/modals/add-by-path-modal/AddByPathModal.js
Lines 25 to 31 in 5abc5d0
Related issues
files
directory shows in Files page #2158 (comment)ipfs object put
crashesipfs files rm
kubo#8144Tasks
The text was updated successfully, but these errors were encountered: