DGraph on windows crashes on the second run

  1. Download DGraph for Windows
  2. [Window 1] dgraph.exe alpha --lru_mb 1024 (see first alpha run log)
  3. [Window 2] dgraph.exe zero (see first zero run log)
  4. Wait a minute for everything to come online
  5. Close Window 1 & 2
  6. Start Alpha OR Zero (either one) and it crashes with parse int errors. (see second alpha&zero run logs)

DGraph Version Information (startup log)

Dgraph version   : v20.11.0
Dgraph codename  : tchalla
Dgraph SHA-256   : 3cc88a3601c3ad36a469b70ab39ba4507e91e4a3fcdb3d4cfd7e2118e8544b9e
Commit SHA-1     : c4245ad55
Commit timestamp : 2020-12-16 15:55:40 +0530
Branch           : HEAD
Go version       : go1.15.5
jemalloc enabled : false

Because i’m a new user I cant post with links, just add the ID to the end the url (github gists) cyberpwnn’s gists · GitHub to view them (and no, I also tried adding them to code blocks, too big :confused: )

First Alpha Run (success): 745106708b78ff673a3103ff4d8c54c1
First Zero Run (success): 61cf5436f1bf3ad2fe8bdca806110384
Second Alpha Run (crash): 294bcfb4e45ffaa92cb460b668f287e7
Second Zero Run (crash): 0dbc1c7cc66ea30f3d66defcb7a3dde3

Am I doing something wrong? If so could someone point me to some up to date documentation on how to run DGraph? Thanks!

Hey @cyberpwnn, welcome!

Please read this announcement

Cool, thanks for the quick reply. Could you point me to some documentation on how to setup DGraph with docker windows then? The documentation had me go with the dgraph exe route :stuck_out_tongue:

You can just spin up a standalone container
https://dgraph.io/tour/intro/2/

1 Like

@vvbalaji - can we fix up the documentation?

Hi Everyone! This is now updated in the following PR Docs (Chore): Update to reflect Windows and MacOS deprecation, include Docker standalone instructions by aaroncarey · Pull Request #152 · dgraph-io/dgraph-docs · GitHub

For deprecation notes and standalone docker instructions, see: https://dgraph.io/docs/master/dgraph-overview/#get-started-with-self-managed-dgraph