User Details
- User Since
- Aug 31 2015, 3:01 PM (479 w, 3 d)
- Availability
- Available
May 16 2017
Ah, I see that it works differently in other shells. The above output was from zsh. In bash, indeed all output is written to the file:
It shows no output because there are no warnings. If you replace phabricator/bin/storage dump with a command that does give various formats of warnings on stderr, you see that it works:
$ sh -c 'echo "output1"; echo "error\nwarning\nerror2" 1>&2; echo "output2"' >foo.txt 2> >(grep -v warning) error error2 $ cat foo.txt output1 output2
I used the subshell redirection trick as mentioned by @epriestley to hide this warning from our cron output as well:
Jan 18 2017
Aug 22 2016
FWIW, in our case the bug was also triggered by logging in for the first time (for this account) using LDAP.
Jul 7 2016
I just had this problem as well. Turns out I had a typo in preamble.php. A more descriptive error would be nice, but with this task open at least the cause is easy to find :)
Note that it is possible to set a path to the websocket for every server as well. This is handy, for example, when your notification websocket is hosted behind the same URL as Phabricator itself. We have https://phabricator.ourcompany.net/ for Phabricator itself, and https://phabricator.ourcompany.net/ws/ for the notifictions websocket. This corresponds to the following client config:
Mar 30 2016
Mar 6 2016
Dec 25 2015
Dec 16 2015
Aug 31 2015
T8982 is somewhat related, since it is about wrong parsing of notification.client-uri (but it is not related in that it may have the same fix).
commit 33c3ebe0606580efc22c410f654a9fa76655779a Author: Sjors Gielen <sjors@sjorsgielen.nl> Date: Mon Aug 31 17:29:00 2015 +0200