dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

Unable to find dir: stat /home/vagrant/dgraph/m: no such file or directory

Open pluradj opened this issue 10 years ago • 5 comments

Following directions for running single instance, I ran into this:

$ mkdir ~/dgraph
$ dgraph --mutations ~/dgraph/m --postings ~/dgraph/p --uids ~/dgraph/u
2016/07/14 17:18:45 num_cpu: 2. prev_maxprocs: 2. Set max procs to num cpus
2016/07/14 17:18:45 Unable to find dir: stat /home/vagrant/dgraph/m: no such file or directory

Creating ~/graph/m resolves the issue.

pluradj avatar Jul 14 '16 17:07 pluradj

Closing this issue.

mohitranka avatar Jul 14 '16 17:07 mohitranka

still happening, update the wiki example if it's not a bug

from the wiki:

$ mkdir ~/dgraph
$ dgraph --mutations ~/dgraph/m --postings ~/dgraph/p --uids ~/dgraph/u

to $ mkdir -p ~/dgraph/m

manuel-delverme avatar Aug 09 '16 15:08 manuel-delverme

Confirmed that it's still an issue. Reopening.

manishrjain avatar Aug 10 '16 01:08 manishrjain

Cannot reproduce in v0.4.4. @ashwin95r could you verify this too on a fresh instance? We can close this then.

pawanrawal avatar Sep 21 '16 05:09 pawanrawal

Verified on my machine. Cannot reproduce on master. The directories are created if missing. So closing this.

ashwin95r avatar Sep 21 '16 07:09 ashwin95r