Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Argument during initialization when mounting the default volume on Docker (Windows) #135

Closed
ParadoxForge opened this issue Aug 30, 2018 · 1 comment

Comments

@ParadoxForge
Copy link

OS Version:

Windows 10

Commit hash : Master

Expected behavior

To well, you know, start up

Actual behavior

If i omit the volume, it starts up without any problems, but doing so loses all data on restart, obviously
Writes 2 lines of the following log then quits container
Fatal: open chain database [/root/.org.vechain.thor/instance-39627e6be7ec1b4a/main.db]: sync /root/.org.vechain.thor/instance-39627e6be7ec1b4a/main.db: invalid argument

Fatal: open chain database [/root/.org.vechain.thor/instance-39627e6be7ec1b4a/main.db]: sync /root/.org.vechain.thor/instance-39627e6be7ec1b4a/main.db: invalid argument

Steps to reproduce the behavior

  • Ensure this directory exists : c:\temp\VeChainData
  • Run the following in Powershell
    docker run -d -p 127.0.0.1:8669:8669 -p 11235:11235 -p 11235:11235/udp -v //c/temp/VeChainDat a:/root/.org.vechain.thor --name thor-node vechain/thor --network main --api-addr 0.0.0.0:8669
@libotony
Copy link
Member

libotony commented Sep 4, 2018

use //c/temp/VeChainData:/root/.org.vechain.thor to mount the volume

@qianbin qianbin closed this as completed Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants