Page MenuHomePhabricator

Improve troubleshooting section of phd in Diffusion Hosting Guide
Closed, InvalidPublic

Description

While setting up I wasn't able to get phd daemon running on my end. The reason was that the daemon had no rights to write

In https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/ just below:

The phd.user has read and write access to the repositories.

Another line like:

Make sure that phd user has read and write rights to /var/tmp/phd.user/pid If phd.user has no access to it, propperly set the directory rights to allow the phd.user write and read.

For me personally sudo chmod go+w /var/tmp/phd/pid worked.

Event Timeline

epriestley added a subscriber: epriestley.

To report a bug, please provide complete reproduction steps. We can't fix issues we can't reproduce. See Contributing Bug Reports for details.

@epriestley where is the propper place then to help improving documentation?

You should file a new bug report, describing exactly what you did and how we can reproduce the problem.

Then we'll decide if we should fix it by improving the documentation, or adding an additional check, or removing the need to write, or doing nothing because some step in the requirements is too bizarre.

Generally, it's much better if a script can automatically detect problems than if the documentation warns you about them, because many users do not read the documentation or do not read it completely. Adding a lot of rarely-encountered edge cases to the documentation makes these problems worse: users are less likely to read a larger document, and more likely to miss important information if the document contains a lot of irrelevant information.