Phabricator Tab doesn't show up in Sentry

I have the latest version of Sentry installed. I installed semtry-phabricator python package as it describes here: https://github.com/getsentry/sentry-phabricator. Unfortunately, the Phabricator tab it’s not displayed in any Project. Has anybody install it until now? It doesn’t sounds so complicated from the short documentation.

It should show up under the ‘Create Issue’ action at the top of the issue details.

Thanks @zeeg for your answer. I found it. I have to select the issue and press button “Link issue tracker”. After that I can configure the Phabricator settings. Then the button “Create Maniphest Task” shows up for the rest of the project issues. Unfortunately, the task doesn’t appear in Phabricator and Sentry doesn’t report any error. I don’t know how I can debug it …

There should be something in either the internal Sentry project or the servers logs if its failing to create the task.

I checked the internal Sentry and the server’s logs and, unfortunately, nothing.
I am using Sentry v8.11.0 and sentry-phabricator v0.7.0.

I setup in Sentry configuration the DEBUG to True. I don’t get any internal error and the log of the Sentry server is:

Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "POST /sentry/sentry_projec/issues/64/actions/phabricator/ HTTP/1.1" 302 309 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/actions/phabricator/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "GET /sentry/sentry_projec/issues/64/ HTTP/1.1" 200 4253 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/actions/phabricator/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "GET /_static/1482232032/sentry/js/ads.js HTTP/1.1" 200 363 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "GET /_static/1482232032/sentry/dist/sentry.css HTTP/1.1" 200 347370 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "GET /_static/1482232032/sentry/images/icons/apple-touch-icon.png HTTP/1.1" 200 6295 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "GET /_static/1482232032/sentry/dist/vendor.js HTTP/1.1" 200 930862 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:57 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:57 +0000] "GET /_static/1482232032/sentry/dist/app.js HTTP/1.1" 200 717772 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /_static/1482232032/sentry/dist/sentry-loader.gif HTTP/1.1" 200 69124 "http://sentryserver.company.intern:9000/_static/1482232032/sentry/dist/sentry.css" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/organizations/?member=1 HTTP/1.1" 200 699 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/organizations/?member=1 HTTP/1.1" 200 699 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/internal/health/ HTTP/1.1" 403 326 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/organizations/sentry/ HTTP/1.1" 200 5347 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/projects/sentry/sentry_projec/environments/ HTTP/1.1" 200 281 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/broadcasts/ HTTP/1.1" 200 261 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/issues/64/ HTTP/1.1" 200 4246 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/projects/sentry/sentry_projec/members/ HTTP/1.1" 200 1758 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/issues/64/tags/server_name/ HTTP/1.1" 200 563 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/issues/64/tags/level/ HTTP/1.1" 200 510 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/issues/64/environments/none/?until=1482231601 HTTP/1.1" 200 434 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/issues/64/tags/transaction/ HTTP/1.1" 200 606 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "GET /api/0/issues/64/events/latest/ HTTP/1.1" 200 9517 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
Dec 20 12:09:58 sentryserver sentry: 10.11.100.166 - - [20/Dec/2016:11:09:58 +0000] "PUT /api/0/projects/sentry/sentry_projec/issues/?id=64 HTTP/1.1" 200 285 "http://sentryserver.company.intern:9000/sentry/sentry_projec/issues/64/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

I don’t see any error way it can not create.
The user used to create Phabricator tasks is an admin user in Phabricator, which excludes the problem of permissions.

The funny think is that the sentry-phabricator configuration is really simple. It’s asking only the phabricator URL and the Conduit API Token.

Any ideas what it could be the problem?
Do I have to do anything to the Phabricator site?

I haven’t had a chance to look into this yet and Phabricator is definitely on our older plugin architecture. It’s possible that upstream changed some API endpoints, but I’d still expect it to error out.

Hi @zeeg! Thanks for your answer! Having Phabricator integrated in Sentry is really cool. Please let me know after you check.

Hi @zeeg, are there any update regarding this problem?

I found the problem! The plugin is working fine! Thanks for your support!

Sorry about the lack of reply – we’ve been heads down on the billing launch and I hadn’t had a chance to look into it.

No worries! I am happy that it’s working! So easy to create tickets now in Phabricator. Also handy that adds the link to the Sentry issue. I love it!