This is first ever SVN repo on the server. When I try to add and commit a file, I get
Commit failed (details follow): Commit blocked by pre-commit hook (exit code 255) with no output.
What should I look at to get more info why it failed? Is there way to disable the pre-commit (just to test)?
Repository Active Found Binary svn /usr/bin/svn Found Binary svnserve /usr/bin/svnserve Found Binary svnadmin /usr/bin/svnadmin Found Binary svnlook /usr/bin/svnlook Pull Daemon Running Task Daemon Running Storage Directory OK /phabdatavol/softwarerepos Working Copy OK /phabdatavol/softwarerepos/TESTPROJ/ Updates OK Last updated Fri, Oct 16, 10:24 PM (11 s ago).
The commit hooks are in hooks/ directory in the working copy /phabdatavol/softwarerepos/TESTPROJ/.
Exit code 255 is a little uncommon; It may mean "exit code out of range", which is not a common situation.
You can try executing the hooks as user vcs-user (From https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/), and maybe get more detailed errors.
There is a default pre-commit hook. I don't any custom ones there. If I run it as vcs-user I get a error at this line:
throw new Exception(pht('usage: commit-hook <callsign> <repo> <txn>'));
I'm hesitant to call this exception the same as the issue I see during actual commit because there is no obvious link.