Closed dospunk closed 7 years ago
Changing the CMD
of the Dockerfile from CMD /decentraland/bin/start
to CMD sh /decentraland/bin/start
results in this error
: not foundecentraland/bin/start: 2: /decentraland/bin/start:
/decentraland/bin/start: 3: /decentraland/bin/start: ./bin/decentraland-node: not found
So the start script is running, but the system is now unable to find ./bin/decentraland-node
it seems that the line #!/bin/bash
in start is what's causing the first line of the error
UPDATE: it was actually the carriage returns created by Windows
It actually seems that all the errors stopping it from running were caused by carriage returns, specifically those in the files in /bin
However, now that it is running, I'm getting this output
[info] Chain is loading.
[info] Checkpoints are enabled.
[info] Coin cache is enabled.
[info] Content server listening on port 9301
[info] Opening ChainDB...
[info] Chain is loading.
[info] Checkpoints are enabled.
[info] Coin cache is enabled.
[info] Opening ChainDB...
[debug] Error: IO error: data/testnet/chain.ldb: Invalid argument
[error] IO error: data/testnet/chain.ldb: Invalid argument
[error] IO error: data/testnet/chain.ldb: Invalid argument
Error: IO error: data/testnet/chain.ldb: Invalid argument
[error] IO error: data/testnet/chain.ldb: Invalid argument
Error: IO error: data/testnet/chain.ldb: Invalid argument
[debug] Error: IO error: data/testnet/chain.ldb: Invalid argument
Whelp, at the end of it all it turns out what I needed to do was remove the carriage returns from the files in bin and follow the instructions in this issue
Whenever I try to run the node in Docker, I get this error
/bin/sh: 1: /decentraland/bin/start: not found
I'm on Windows 10 using Docker Toolbox