aleph-im / aleph-docs

Aleph.im Official Documentation (Work in progress)
https://docs.aleph.im/
MIT License
7 stars 10 forks source link

Fix misleading file upload examples #42

Closed MHHukiewitz closed 8 months ago

MHHukiewitz commented 8 months ago

Tortuga, [12/8/23 5:03 PM] I am trying to setup a volume but I have some errors I also tried with the CLI (never used it and it did not seem to be linked to my wallet but anyway.) $ aleph file pin ./data.squashfs ends with error: pydantic.error_wrappers.ValidationError: 1 validation error for StoreContent item_hash Could not determine hash type: './data.squashfs' (type=value_error.unknownhash)

Hugo | Aleph.im, [12/8/23 5:22 PM] Hi @tortuga0x0000 , the aleph file pin command takes an IPFS CID, not a filename. Have you tried the command aleph file upload ./data.squashfs ?

Tortuga, [12/8/23 5:30 PM] The doc is missleading then? It is about the "pin" command or I miss something. https://docs.aleph.im/computing/volumes/immutable/

github-actions[bot] commented 8 months ago

Deployed (not pinned) on https://ipfs-2.aleph.im/ipfs/QmbARHoeKzR64pgneqYi6Q4SyCkwZxvG2mEc3786xWGEuy