My stacktrace:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Nov 16 2015
Never mind, this was straightforward to reproduce:
This should be fixed at HEAD. Let us know if you run into anything else.
Do you have a stack trace in the error log offhand? I can't immediately reproduce this on this install after upgrading. I have a good idea what's going on, but if you have a stack handy that might be faster.
It looks like this database did exist as of D3659, but the name was mistaken (pushed as xhpast, should have been xhprof). It was renamed in D3670.
The Sendgrid v3 API does not currently include an API method for sending mail.
This install is just a little out of date, second issue should be fixed at HEAD.
I was able to reproduce this easily by following your instructions. We'll get this fixed. Thanks for the report!
After playing around a while I found out that it seems the hang occurs only if another user concurrently does a git clone:
Yes, the path to 'repo.git' looks like this: plink.exe git@<our_server> "git-upload-pack '/diffusion/TPTB/3RDPARTY/tbb.git'".
I've tried running sshd in debug mode, but the sshd is terminating on every new connection attempt, because it isn't running as a daemon.
The only logging output I got when my clone attempt gets stuck is the following on the server side:
Nov 16 11:03:02 ei-srv-l-141 sshd[64152]: Set /proc/self/oom_score_adj to 0 Nov 16 11:03:02 ei-srv-l-141 sshd[64152]: Connection from 192.168.192.179 port 28269 on 192.168.192.141 port 22 Nov 16 11:03:03 ei-srv-l-141 sshd[64152]: Postponed publickey for git from 192.168.192.179 port 28269 ssh2 [preauth] Nov 16 11:03:04 ei-srv-l-141 sshd[64152]: Accepted publickey for git from 192.168.192.179 port 28269 ssh2: RSA c1:1d:81:e5:81:e7:0e:b3:cd:92:3b:fa:b9:22:73:ae Nov 16 11:03:04 ei-srv-l-141 sshd[64152]: User child is on pid 64160 Nov 16 11:03:04 ei-srv-l-141 sshd[64160]: Starting session: forced-command (key-option) ''/home/build/phabricator/phabricator/bin/ssh-exec' '--phabricator-ssh-user' 'm.herzog' '--phabricator-ssh-key' '32'' for git from 192.168.192.179 port 28269 Nov 16 11:03:04 ei-srv-l-141 sudo: git : TTY=unknown ; PWD=/home/git ; USER=build ; COMMAND=/usr/bin/git-upload-pack -- /var/repo/TPL/ Nov 16 11:03:04 ei-srv-l-141 sudo: pam_unix(sudo:session): session opened for user build by (uid=0) Nov 16 11:03:07 ei-srv-l-141 sudo: pam_unix(sudo:session): session closed for user build
I for-see what @revi stated above as a pretty plausible scenario, even the looking over someones shoulder is a plausible scenario.
Ah sorry, I thought Almanac wasn't a prototype but Drydock was. I was mistaken though.
Nov 15 2015
On another note, why doesn't Almanac use Passphrase for key storage?
Fixed in rARC66ab1c955d27ff7875f62eb51a0bd6c4770a7ae3.
Here is the version of phabricator and libphutil I use:
I definitely get that it's a prototype and I know not to file bugs against prototypes, but this interaction wasn't directly with Almanac but with a core Diffusion feature. Diffusion shouldn't use Almanac unless explicitly set to use it.
Nov 14 2015
I'm partly just guessing here but I think It's almost certainly my fault.
Thanks, I spent ~10 minutes on it but couldn't figure it out.
File should be getting attached to the paste, but isn't. I think I accidentally caused a side effect here when changing how the transaction works.
Actually something weird is going on... I can't edit pastes either, even if the Edit Policy is set to "All Users".
I'm not sure how to fix this without adding pastePHID to PhabricatorFile, which doesn't feel like the best approach.
I started looking at this. It seems like the file attached to the Paste has a view policy of no-one, whereas it should probably inherit the view policy of the parent Paste.
In general, I'd like better error messages for these kinds of situations. Even better would be some prescriptive text like "Go here, add this, click that".
Are you at HEAD? I don't expect Almanac to be needed during repo creation.
In T4245#144469, @joshuaspence wrote:This is the only thing that is blocking me from migrating all of our repositories from Gitlab to Phabricator. Is there a clear path forward here? If so, I could potentially work on this.
Not sure if this is a possible/practical scenario... but
+1. I agree that conflicting rules are un-resolvable (and thus a configuration issue), but in this case, even consistent rules cause an issue.
Nov 13 2015
In the general case, this is impossible to resolve. Suppose that you had conflicting linter rules, such as one whiche enforced that files end with a newline character and another which enforces that files do not end with a newline character.