[Solved] IO error when starting the node on Windows 10 using docker



  • I recently found this project and started setting up a node of my own to mine some tiles to do stuff with and try the whole thing out, but starting the node i get an IO error.

    install steps i have done(in order):
    installed latest version of Node.JS
    installed the latest version of Python
    installed docker(docker toolbox on my desktop, docker CE on my laptop, both edge and stable give the same results)
    download and unzip the node archive
    open docker/terminal and navigate to the directory
    run pip install docker-compose(not needed if using toolbox it seems)
    run docker-compose up

    this builds the app but returns an IO error like this:
    0_1497279682672_ea07cf80-c1e3-495f-b9a5-5f1e61360556-image.png

    (note, this is not what it looks when it also builds the app, i dont have a screenshot of that but the error is identical)

    and this is as far as i have gotten. i have tried these trobbleshooting steps:
    deleteing the folder data/testnet/chain.ldb
    looking at the files in that folder to see if anything is out of place
    using both stabile and edge versions of docker
    tried it on two computers(laptop and desktop) with both toolbox and CE docker
    googled frenatically to see if anyone has similar problems but all fixes have given no results(on CE docker they helped me get to here so they did help in one way)
    tried to learn basic stuff about DB Java

    anyway none of that has helped at all and i still end up with the exact same results. here are pictures of whats in the manifest-000001 file:
    0_1497280024594_cb382c72-87ae-4416-a837-f660a3c28566-image.png
    i dont know if thats suposed to be opened with notepad but every other program i have tried opening it with has given me errors or has less of the characters. no other manifest file from the basic look i took through google has looked like that but no tinkering around with deleting stuff from it has yealded any results beyond changeing the error from an IO error to a corruption error.

    here is the log file found in bronzeage-node-master/db/testnet:

    6 (2017-06-12T11:58:06Z): [info] Chain is loading.
    6 (2017-06-12T11:58:06Z): [info] Checkpoints are enabled.
    6 (2017-06-12T11:58:06Z): [info] Coin cache is enabled.
    6 (2017-06-12T11:58:06Z): [info] Content server listening on port 9301
    6 (2017-06-12T11:58:06Z): [info] Opening ChainDB...
    6 (2017-06-12T11:58:06Z): [info] Chain is loading.
    6 (2017-06-12T11:58:06Z): [info] Checkpoints are enabled.
    6 (2017-06-12T11:58:06Z): [info] Coin cache is enabled.
    6 (2017-06-12T11:58:06Z): [info] Opening ChainDB...
    6 (2017-06-12T11:58:06Z): [debug] Error: IO error: data/testnet/chain.ldb: Invalid argument
    6 (2017-06-12T11:58:06Z): [error] IO error: data/testnet/chain.ldb: Invalid argument
    Error: IO error: data/testnet/chain.ldb: Invalid argument
    6 (2017-06-12T11:58:06Z): [error] IO error: data/testnet/chain.ldb: Invalid argument
    Error: IO error: data/testnet/chain.ldb: Invalid argument
    6 (2017-06-12T11:58:06Z): [debug] Error: IO error: data/testnet/chain.ldb: Invalid argument
    6 (2017-06-12T11:58:06Z): [error] IO error: data/testnet/chain.ldb: Invalid argument
    Error: IO error: data/testnet/chain.ldb: Invalid argument
    7 (2017-06-12T14:59:41Z): [info] Chain is loading.
    7 (2017-06-12T14:59:41Z): [info] Checkpoints are enabled.
    7 (2017-06-12T14:59:41Z): [info] Coin cache is enabled.
    7 (2017-06-12T14:59:41Z): [info] Content server listening on port 9301
    7 (2017-06-12T14:59:41Z): [info] Opening ChainDB...
    7 (2017-06-12T14:59:41Z): [info] Chain is loading.
    7 (2017-06-12T14:59:41Z): [info] Checkpoints are enabled.
    7 (2017-06-12T14:59:41Z): [info] Coin cache is enabled.
    7 (2017-06-12T14:59:41Z): [info] Opening ChainDB...
    7 (2017-06-12T14:59:41Z): [debug] Error: IO error: data/testnet/chain.ldb: Invalid argument
    7 (2017-06-12T14:59:41Z): [error] IO error: data/testnet/chain.ldb: Invalid argument
    Error: IO error: data/testnet/chain.ldb: Invalid argument
    7 (2017-06-12T14:59:41Z): [error] IO error: data/testnet/chain.ldb: Invalid argument
    Error: IO error: data/testnet/chain.ldb: Invalid argument
    7 (2017-06-12T14:59:41Z): [debug] Error: IO error: data/testnet/chain.ldb: Invalid argument
    7 (2017-06-12T14:59:41Z): [error] IO error: data/testnet/chain.ldb: Invalid argument
    Error: IO error: data/testnet/chain.ldb: Invalid argument

    thanks for any help with this, i have tried almost everything i have thought of that isnt just randomly typing in characters of text in the DB files so im guessing someone else probably know what to do here :)


  • Administrator

    Hi there! As stated in https://github.com/decentraland/bronzeage-node/issues/1

    Unfortunately, the Windows driver for mounting volumes will prevent you from mounting a native Windows folder with the blockchain info.
    For the time being, window users will have to keep all the blockchain data on the container. To do this, remove these lines from docker-compose.yaml:

    volumes:
          - "./db:/data"
    


  • @martriay yah this is what fixed it :D thanks so much


  • Core Dev

    :confetti_ball:


Log in to reply
 

0
Online

53
Users

15
Topics

41
Posts

Looks like your connection to Decentraland forum was lost, please wait while we try to reconnect.