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

es-node failed to launch when using docker on Windows #249

Open
qzhodl opened this issue Mar 17, 2024 · 2 comments
Open

es-node failed to launch when using docker on Windows #249

qzhodl opened this issue Mar 17, 2024 · 2 comments
Assignees
Labels
bug Something isn't working high priority

Comments

@qzhodl
Copy link
Collaborator

qzhodl commented Mar 17, 2024

System information

EthStorage node version: es-node version
Build date: e.g. Tue 12 Dec 2023 04:20:27 AM EST
System version: e.g. amd64/linux
Golang version: e.g. go1.20
Commit hash : (if develop)

Expected behaviour

Actual behaviour

9241710494865_ pic

Steps to reproduce the behaviour

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

@syntrust
Copy link
Collaborator

The error occurs when the code running in a Docker container attempts to fallocate a file located on the Windows file system, with the configuration -v /host/path:/es-node/es-data.

	// actual initialization is done when synchronize
	err = fallocate.Fallocate(file, int64((chunkSize+32)*chunkIdxLen), int64(HEADER_SIZE))
	if err != nil {
		return nil, err
	}

The workaround is to let user run Docker on a WSL distro such as Ubuntu, for detail refer the doc.

@qzhodl
Copy link
Collaborator Author

qzhodl commented Apr 18, 2024

We need to support the pre-build version on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

3 participants