General Chat
PublicCome, chill, and stay a while

I've run ./bin/storage adjust and everything is up to date with latest phabricator version

Are multiple PhabricatorRepositoryPullLocalDaemon instances possible? Someone just made a huge import and other repos became starved

Recommend these questions go to Discourse

Sep 8th, 2017

all questions.

Is there a conduit api which will associate a commit with a differential revision?

Sep 13th, 2017

so just tried to upload a file, got this issue.

I've uploaded numerous other files.

it was a conference .mp3 file, upload limit is set to around 200mb, file was only 57mb

@robert.kraig the default storage engine has a max size and I'm guessing you just hit it. Have you configured any storage engine besides the default?

@amckinley nope, do I need to increase this size via phabricator?

says I was using the mysql storage engine, how do I say to use the local-disk?

I ran sudo -u phabricator ./bin/files migrate --engine local-disk --all

it showed it copy a bunch of files to disk/

but when I tried to upload another large-ish file, same error as before.

so I don't know if it's using the correct "default" engine..

do I need to restart phd?

Visit https://your-phab-install/applications/view/PhabricatorFilesApplication/ and see if the local disk storage shows up as configured.

that's what I'm seeing.

also.. I see that disk says 8mb

how do I increase that to the size of the server, which is 200mb

Try using the drag and drop file upload instead of the upload form?

@amckinley that worked, isn't there or didn't there used to be a little upload progress notification previously?.. right now you just hope it shows up eventually.

I have notifications aphlic server setup & configured, shows notifications when users add new messages etc..

Hmmm there definitely should be a progress bar. How recently have you updated your install? We had a bug briefly where users that had disabled notifications would lose all notifications, which might be what you're seeing. Fixed today in D18600.

I'm going to pull that update in right now then.

Sep 14th, 2017

@amckinley thanks for the help, that fixed my issue with the progress bar.

maxlapides joined the room.

hey all, my team loved phabricator! but in the Active Revisions query, we'd love to see the name of the repository next to each revision. is there any way to do that currently?

Sep 15th, 2017

@maxlapides - I don't believe there's any way to do that currently. You could make tags per repo and use herald rules to tag revisions from specific repos though -- I believe tags show up on that query? Might want to test that first

Hmm nope, tags do not show on the revisions query

That's not supported yet, but covered under T418.

lesha joined the room.

@epriestley, I had a bug report about the CSS minifier taking out whitespace it isn't supposed to touch. Unfortunately, I seem to have been stripped of my task-filing privileges. What would you suggest?

Repro: Put something like content: "Foo: "; into your CSS file, let the minifier have a go at it, observe that the space after the colon disappears.

Evan isn't in this chat. In general, bug reports should go into Discourse. If you select the "Bug" category when posting it'll give you a template for providing all the necessary info.

@lesha - bug reports go on the discourse now, https://phurl.io/u/discourse

Thanks, folks!

Ooh, yay, I have to make more accounts :/

Sep 18th, 2017

Hi may I ask a question about Rebuild index after I upgrade phabricator.
it is very slow when I do rebuild index. it cost me 16 hours and do only 20%. how can I rebuild index except the repos/commit?

Can anyone point to a task or something with an explanation for why Releeph died?

Sep 19th, 2017

No one uses it

it wasn't built by the upstream

lesha left the room.
Sep 21st, 2017

I have nginx configured like this, and for some files in repo it's going up as 404

location / {

      index index.php;

      if ( !-f $request_filename) {
         rewrite ^/(.*)$ /index.php?__path__=/$1 last;
         break;
       }
}

      #Specifies that Nginx is looking for .php files
      location ~ \.php$ {
              #If a file isn’t found, 404
              try_files $uri =404;
              #Include Nginx’s fastcgi configuration
              include /etc/nginx/fastcgi.conf;
              #Look for the FastCGI Process Manager at this location 
              fastcgi_pass unix:/run/php/php7.2-fpm.sock;
              fastcgi_buffers 8 16k;
              fastcgi_buffer_size 32k;
              fastcgi_connect_timeout 300;
              fastcgi_send_timeout 300;
              fastcgi_read_timeout 300;
      }

@robertkraig if it's helpful at all, here's my nginx config that's been working nicely

server {
  server_name phabricator.mydomain.com;
  root        /home/phd/phabricator/webroot;

  client_max_body_size 32M;

  location / {
    index index.php;
    rewrite ^/(.*)$ /index.php?__path__=/$1 last;
  }

  location /index.php {
    fastcgi_pass    unix:/var/run/php/php7.1-fpm.sock;
    fastcgi_index   index.php;

    #required if PHP was built with --enable-force-cgi-redirect
    fastcgi_param  REDIRECT_STATUS    200;

    #variables to make the $_SERVER populate in PHP
    fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
    fastcgi_param  QUERY_STRING       $query_string;
    fastcgi_param  REQUEST_METHOD     $request_method;
    fastcgi_param  CONTENT_TYPE       $content_type;
    fastcgi_param  CONTENT_LENGTH     $content_length;

    fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;

    fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
    fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;

    fastcgi_param  REMOTE_ADDR        $remote_addr;
  }
}

@maxlapides you might run into the same issue I have.

so if you see the url, it gets deeper and it throws a 404 from nginx instead of it saying it can't find the repo file...

I'm expecting phabricator to toss an error, not nginx.

its not possible to throw an error before the webserver. Phabricator isn't running at that point.

@maxlapides you're conf was what ultimately worked for me.

Sep 25th, 2017
Sep 28th, 2017

hi I was testing task subtypes in T12314 with the following config in maniphest.subtypes:

[
  {
    "key": "bug",
    "name": "Bug/Defect",
    "icon": "fa-bug",
    "color": "orange",
    "tag": "Bug/Defect"
  }
]

This is what shows in the task detail:

Ooops sorry I was just checking the test plan instead of the whole comments in D17451. It's working as intended.

I thought it will still show the icon in the workboard and task view 😿

Sep 30th, 2017

not sure if this should be asked here or in discourse (not sure where the distinction is, apologies in advance if i've chosen incorrectly); is it possible to create a herald rule (or group of rules) to match when the commit ONLY contains certain files and no others? i've tried some combinations of the affected files rules but haven't found something that works...

(what i'm trying to do: not flag a commit for audit if it is ONLY moving a submodule to a new hash)

This is a Discourse question, yeah.

Sorry about that. Will go post there. Thanks!

Oct 2nd, 2017

is it possible to disable registration?

I've had two "drive by" registrations in two days, both using some goofy email. I enabled domain validation for email but that seems like not what I really want

Oct 3rd, 2017

sure, go to Auth, and switch Login Enabled to off in all installed providers.

@avivey I must be looking in the wrong spot, you don't mean under /config/group/authentication/ right?

Ah, sorry, auth as an application. I understand now

Oct 5th, 2017
danielberger joined the room.

Hi - quick question: i found an existing task that describes my issue T9764: Lint star colors have different meaning for revisions and diffs. should i chime in with a "me too" and/or token to indicate that there is interest in the issue or does that just add unhelpful noise?

Oct 9th, 2017

Hi! I used to be able to create Maniphest tasks on secure.phabricator.com, but now I'm not, has something changed in the policy or is it just me?

it seems they moved activity to questions and such to https://phurl.io/u/discourse :|

Oct 10th, 2017

Oh, that's interesting - less dogfooding

maxhodak joined the room.

App names in the left side bar got boring when I updated Phabricator a few weeks ago!

serious business mode is off

Oct 11th, 2017

How can I take a diff from a stack diff set? I accidentally submit a diff. what should I do? I know there is edit dependency, but I want to have independent diff, what can I do?

Oct 12th, 2017

Hi, I'm trying to understand how phabricator uses s3 buckets.

I'm able to set it up, I can migrate my data into the s3 bucket, but how does phabricator actually use it?

maxhodak left the room.
maxlapides left the room.
Oct 14th, 2017

I'm assuming the outage on Phacility is known about?

Been down for about 5 minutes now, and nothing announced on https://twitter.com/phacilitystatus

other than routine maintenance 2 hours ago

"503 Service Unavailable: Back-end server is at capacity" RIP

oh RIP even SSH is unavailable

my instance works (web and ssh).