I got a problem. I try to create a book, as described here: https://secure.phabricator.com/book/phabricator/article/diviner/
But there is a exception, if I try to create a book with a normal name, I get:
Command: sudo ./bin/diviner generate --book Doku
Exception:
Generating book "Doku"...
[2015-10-27 01:21:20] EXCEPTION: (FilesystemException) File system entity `/srv/phab/phabricator/Doku' does not exist. at [<phutil>/src/filesystem/Filesystem.php:1006]
arcanist(head=d54cb072facdd0116b20f70317c6e16f95a975a6, ref.master=565a96e0ee54), phabricator(head=b071c2c63656535c9d681a77b35fff9e7558b0d2, ref.master=c1c31fce7f26, custom=4), phutil(head=83f09f6c5a03d68966537eb955e683788a1ab44e, ref.master=103dc7e39093), security(head=master, ref.master=a8873a5ca289), sprint(head=13c2949b3777343d535715e3eeaed2b6a0c2d372, ref.master=3fbeaf53a042)
#0 Filesystem::assertExists(string) called at [<phutil>/src/filesystem/Filesystem.php:37]
#1 Filesystem::readFile(string) called at [<phabricator>/src/applications/diviner/workflow/DivinerWorkflow.php:28]
#2 DivinerWorkflow::readBookConfiguration(string) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:88]
#3 DivinerGenerateWorkflow::generateBook(string, PhutilArgumentParser) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:80]
#4 DivinerGenerateWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
#5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
#6 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/diviner/diviner.php:21]
Then I created the directory manualy with sudo mkdir, and the I get this exception:
Generating book "Doku"...
[2015-10-27 01:22:26] EXCEPTION: (FilesystemException) Requested path `/srv/phab/phabricator/Doku' is not a file. at [<phutil>/src/filesystem/Filesystem.php:1040]
arcanist(head=d54cb072facdd0116b20f70317c6e16f95a975a6, ref.master=565a96e0ee54), phabricator(head=b071c2c63656535c9d681a77b35fff9e7558b0d2, ref.master=c1c31fce7f26, custom=4), phutil(head=83f09f6c5a03d68966537eb955e683788a1ab44e, ref.master=103dc7e39093), security(head=master, ref.master=a8873a5ca289), sprint(head=13c2949b3777343d535715e3eeaed2b6a0c2d372, ref.master=3fbeaf53a042)
#0 Filesystem::assertIsFile(string) called at [<phutil>/src/filesystem/Filesystem.php:38]
#1 Filesystem::readFile(string) called at [<phabricator>/src/applications/diviner/workflow/DivinerWorkflow.php:28]
#2 DivinerWorkflow::readBookConfiguration(string) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:88]
#3 DivinerGenerateWorkflow::generateBook(string, PhutilArgumentParser) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:80]
#4 DivinerGenerateWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
#5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
#6 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/diviner/diviner.php:21]
Can you help me, what I have to do, to create a new book successfuly?