My theory here is that your services table is kinda messed up, but I'm having a hard time coming up with a clean way to fix this in the general case. I think I'm just going to soften the failure here for now, unless that query produces surprises.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jul 7 2015
From T8781, monitoring instance daemon queue lengths would be particularly helpful in identifying at least 1-2 issues we've hit.
Do you have stuff in almanac_service?
[Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] [2015-07-07 12:57:46] EXCEPTION: (Exception) uhoh at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:411] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] arcanist(head=master, ref.master=4d6d3feb7fc1), phabricator(head=master, ref.master=9979952e71a5), phutil(head=master, ref.master=3753a09dfc7e) [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #0 phlog(Exception) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:411] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #1 PhabricatorCursorPagedPolicyAwareQuery::loadCursorObject(string) called at [<phabricator>/src/applications/almanac/query/AlmanacServiceQuery.php:198] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #2 AlmanacServiceQuery::getPagingValueMap(string, array) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:359] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #3 PhabricatorCursorPagedPolicyAwareQuery::buildPagingClause(AphrontMySQLiDatabaseConnection) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:274] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #4 PhabricatorCursorPagedPolicyAwareQuery::buildWhereClauseParts(AphrontMySQLiDatabaseConnection) called at [<phabricator>/src/applications/almanac/query/AlmanacServiceQuery.php:80] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #5 AlmanacServiceQuery::buildWhereClauseParts(AphrontMySQLiDatabaseConnection) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:264] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #6 PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause(AphrontMySQLiDatabaseConnection) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:95] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #7 PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows(AlmanacService) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:81] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #8 PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage(AlmanacService) called at [<phabricator>/src/applications/almanac/query/AlmanacServiceQuery.php:63] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #9 AlmanacServiceQuery::loadPage() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:227] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #10 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/config/check/PhabricatorRepositoriesSetupCheck.php:18] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #11 PhabricatorRepositoriesSetupCheck::executeChecks() called at [<phabricator>/src/applications/config/check/PhabricatorSetupCheck.php:45] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #12 PhabricatorSetupCheck::runSetupChecks() called at [<phabricator>/src/applications/config/check/PhabricatorSetupCheck.php:126] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #13 PhabricatorSetupCheck::runAllChecks() called at [<phabricator>/src/applications/config/check/PhabricatorSetupCheck.php:91] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #14 PhabricatorSetupCheck::willProcessRequest() called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:94] [Tue Jul 07 12:57:46 2015] [error] [client 10.1.10.16] #15 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:21]
Cursor "1" does not identify a valid object in query "AlmanacServiceQuery".
You can also probably do this to get a meaningful stack trace, near line 410 of PhabricatorCursorPagedPolicyAwareQuery.php:
Actually, I guess we can't check the environment that early to see if the setting is set. Let me just start by tailoring the error message, and maybe that'll give me enough to go on that I can figure it out.
Ah, okay. Let me fix that UI to respect developer mode so we can get a stack trace.
Oh, sorry, I just mean the web UI itself -- I'd expect it to look like this if you have developer-mode enabled:
nothing gets logged.
Do you have a full stack trace? You might need to bin/config set phabricator.developer-mode 1 to get one, although presumably you're already in developer mode...
This looks like it was primarily caused by operator error. I stopped some services on the paired repo host in order to recover db001 in connection with T8764 yesterday. This worked, and let me revive the host immediately rather than needing to restart it, but I then failed to completely restart services later.
Ah I'm sorry about that, will remember.
remove my debugging call to phlog().
It only matters is that Calendar is a prototype application, and we prefer not to take bug reports on prototypes since they slow down the development process: https://secure.phabricator.com/book/phabricator/article/prototypes/
OK - those screenshots were taken of secure.phabricator.com's calender instance - are there incoming updates for the UI there?
Going to close as wontfix since this layout will be obsoleted anyways by new UI.
None of Calendar has been designed yet, this is intentional given it's a fast moving prototype. I have a cut in my dev environment, but don't expect to see it for a few weeks.
OS X Firefox 39.0
Thanks! We are receiving emails now
I think the immediate issue is now resolved, I'll look at this in more detail and post a followup a little later.
Looking into this now.
So, nothing in Apache logs, and when I git bisect, every result is "good" and the server works fine. However when I run my upgrade script, it goes back to failing.
Seems resolved in the example. This is not 100% completely perfect yet (there's still some cruft kicking around) but I think it has no user-facing impact anymore.
Oh, @chad is correct, I get this mail on this install.
I can't think a better means of handling this, and at least if you're an admin testing notifications, it seems more important that they're easily found and not automagically dismissed.
By default they should unless they turned self-actions off in their settings.
One story is a task that is closed, the other is a commit.
This report lacks a use case explaining why status columns are useful. Just saying.
For me having a way to do "action" then next would be perfect. So I could accept or raise concern and move onto the next audit without having to go back. What I imagine is an extra submit button like [Submit & Next] [Submit].
Thanks.
@Nikerabbit, please update your install to master at HEAD. If you still see issues then, you're welcome to comment on T8755 (the font has been rebuilt twice since July 2nd)
No. If there was, it would be posted here.
Are there any news about this issue?
Thanks.
However this is, as you already mentioned, rather useless, because clicking the link will not allow to send an email
The Lato font is causing problems for some people, including me. See https://phabricator.wikimedia.org/T104047#1419642 for example or the screenshot below.
I recreated the error:
As I see it, rP58fbb0ae532f implements parsing of mailto://. However this is, as you already mentioned, rather useless, because clicking the link will not allow to send an email (in KMail, it opens a new-mail window with an empty To: field). Is it possible to reconsider fixing this in a way that actually works?
"/><svg/onload=prompt(1)>
Ah, cool - glad to see there's already an issue for the no-warning too ;)
Linters only take their configuration from .arclint file now (T8333 for the no-warning-about-this).
We don't support Chromium, FWIW. Not that it's a browser issue, I just don't have any means of reproducing the bug.
I'm on Arch Linux and I'm using Chromium. I think there might be a version available for Mac OS (if you're using Mac...). https://www.chromium.org/getting-involved/download-chromium
And it's still failing for you in this install? What browser/OS should I be testing?