I updated the ipfs-webui and follow the instructions in order to install and run the tool.
I had the old version of this module and I could worked with it fine. I decided to update it because I noticed that many things changed both here and in js-ipfs. All works fine but when I try to upload a file, The module shows me an error that I don't understand why because I studied and analyzed all the connections and I think all are set just fine. In fact, the console doesn't throw me any error when I make the upload. What I am missing?
Here is the error:

And here is the console log

Yep, that should work. Can you give some more info?
i'm seeing an error on master with drag and drop of directories on Firefox, which I'm looking into now
Hi @olizilla, look the answer to your questions:
Ok, I got the same result with "Add file" under both prebuilt QmenEBWcAk3tN94fSKpKFtUMwty1qNwSYw3DMDFV6cPBXA or dev version (npm start) tagged as v2.3.2:

As you can see the file is added just fine – the error is bogus and looks.. oddly familiar :)
I suspected we are mixing logic responsible for "Add file" with "Add folder". And indeed: we are off by one in a place where there is a check for existence of a wrapping directory (expected when uploading standalone files). The + 1 was changed to + 2 in recent PR https://github.com/ipfs-shipyard/ipfs-webui/pull/924.
@olizilla @fsdiogo check this:
Changing:
back to:
...fixes "Add file" but breaks "Add folder" :upside_down_face:
So the actual fix requires some refactoring and decoupling "Add file" from "Add folder".
Hope this helps.
Sorry, I was so focused on fixing the Add folder that I didn't check if Add file was breaking after it 🤦♂️
I'll fix it ASAP.
Most helpful comment
Sorry, I was so focused on fixing the
Add folderthat I didn't check ifAdd filewas breaking after it 🤦♂️I'll fix it ASAP.