Page MenuHomePhabricator

General Chat
PublicCome, chill, and stay a while

Hi All, I have translated Phabricator into Traditional Chinese at https://github.com/cwlin0416/phabricator-zh_hant, does anyone can help put locale file into Phabricator?

May 10th, 2018
rfergu joined the room.

Hiya, is the only way to get unit test results to appear in a diff through arc unit? For example, if our CI generates the coverage can it update a diff?

May 11th, 2018

it can, but it needs an active Harbormaster build - use conduit method harbormaster.sendmessage to send results.

Awesome, I'll give it a shot. Is there a description of the payload anywhere?

dklawren left the room.
Jun 8th, 2018
PXke joined the room.

Hello, Thanks for a great software.

There is this feature request T1816 which is closed, but I would be interested in contributing.

Jun 29th, 2018

How do you icnrease the number of worker daemons for pushing / mirroring repos?

Jul 2nd, 2018

@robertkraig you should be able to adjust the config setting phd.taskmasters and then restart the daemons with bin/phd restart.

Jul 19th, 2018
kyle.ross joined the room.

arc unit is treating any class named "Test.php" as a unit test and failing. What is it considering to be a "test"? It doesn't seem sane to eval a class based on name alone. Can this be disabled?

Hi Kyle, we moved support to Discourse now.

I don't think it's a bug just wondering how to disable that

Aug 2nd, 2018

How do you trace email notification process?

Because, all email notification is successfully delivered to every user, but only send welcome message is not delivered. How can I trace it?

kyle.ross left the room.
Aug 10th, 2018
Itms joined the room.

Hello! Sorry to use that channel, I know that this kind of question should go to Discourse, but I received no answer there (see thread: https://discourse.phabricator-community.org/t/deleting-transforms-and-stale-files/1713)

I would like to delete all the image file transforms that take a lot of disk space, and couldn't figure a proper way how

I might end up writing a script that SELECTs those files from the database and calls "destroy" from the command line, but I do not think this is the recommended way.
Thank you very much in advance for your advice :)

Aug 15th, 2018
Itms left the room.
Aug 26th, 2018
koreno joined the room.

When you report a bug, a community member with access to secure.phabricator.com needs to reproduce it

When you report a bug, a community member with access to secure.phabricator.com needs to reproduce it

Regarding that - reproducing my bug requires adding a new observed repository and importing it - is that possible here?

Aug 27th, 2018

You can repro on a test instance in https://phacility.com.

Sep 14th, 2018

Running into this issue right now, `

Unable to connect to MySQL!

Unable to establish a connection to any database host (while trying "phabricator_config"). All masters and replicas are completely unreachable.

AphrontConnectionQueryException: Attempt to connect to root@localhost failed with error #1698: Access denied for user 'root'@'localhost'.

Make sure Phabricator and MySQL are correctly configured.

I was able to run ./bin/storage upgrade

how is that possible if mysql doesn't work?

Sep 15th, 2018

Hi Robert, we moved support to Discourse now.

Oct 5th, 2018
sudoforge joined the room.

Is it possible to have my account deleted, or the username changed?

Taking it to Discourse.

Oct 17th, 2018

Discourse seems to be down...

Oct 24th, 2018

bin/storage upgrade --force takes a very long time

can I start the phabricator install in the meantime? coworkers would like to get something done

is there some progress indicator? this is going for 2h now...

this is the first time a db migration takes so long

kiptonui left the room.
sudoforge left the room.

@kugel- you can look at the DB files on the filesystem to get a sense of what it is doing (likely copying/recreating a large table). You can then compare the size of the temp mysql file to the old table file to see how far along it is

Oct 30th, 2018
itszero joined the room.

Has the contributor guide moved to somewhere else? https://secure.phabricator.com/book/phabcontrib/

Oct 31st, 2018

Probably an instance of T13206.

Nov 9th, 2018
jacksongabbard joined the room.

I strongly suspect that the answer for this exists already, but I've failed in Googling for it. I have a instance running on <thing>.phacility.com. I have a repository in diffusion. The repository has one active URI that is observing a Github repo. My colleague created a Diff. I accepted. He landed it. In the Differential UI, it shows that the Diff has a commit. However, the Diff remains in the "Accepted" state. It doesn't show as landed/closed/whatever the state should be given that it has a commit associated with it. Halp?

From what I read here https://secure.phabricator.com/book/phabricator/article/arcanist_diff/#pushing-and-closing-revi, it would seem that the implicity arc close-revision call isn't being made for some reason.

maybe the repository's auto-close-branches is set up wrong.

From the config, it looks okay: "Autoclose Only Autoclose On All Branches"

FWIW, it's working now for reasons I don't understand. _shrugs_

Nov 14th, 2018
JohnPJones joined the room.

Running bin/storage upgrade (plus git pull from a phabricator hosted repo) is generating theses errors (although the process still runs ok)

[xxx]# bin/storage upgrade;
[2018-11-14 10:10:36] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/libphutil/src/xsprintf/qsprintf.php:404]
[2018-11-14 10:10:36] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at /libphutil/src/xsprintf/qsprintf.php:404]

That's probably just T13217, it's fine.

Nov 15th, 2018
silverskysoft joined the room.

Looks like the "UNSAFE: Raw string..." error reported above is flooding the logs: in /var/tmp/phd/log/daemons.log. Any ideas to prevent this message?

Dec 3rd, 2018
tejasbhosale009 joined the room.

when i try to patch binary file like image gif gets error ERR-BAD-PHId any suggestions ??

Dec 15th, 2018

I'm seriously surprised that paste doesn't seem to support fulltext search :-/

Jan 2nd, 2019

I'm curious if anyone is using phabricator with a monorepo that uses gitlfs?

@rfergu this channel is rarely monitored these days; you should look for support on our Discourse: https://discourse.phabricator-community.org/

To answer your specific question, here's all the up to date information about GitLFS support for Phabricator: https://secure.phabricator.com/T7789

Thanks, I'll switch to there.

Jan 15th, 2019
olexiy.myronenko joined the room.
Jan 17th, 2019

[2019-01-17 10:31:30] ERROR 2: Invalid argument supplied for foreach() at [/var/www/phabricator/phabricator/src/applications/metamta/storage/PhabricatorMetaMTAMail.php:527]

ah, need to configure cluster.mailers now. I would have been nicer if my legacy config was migrated or show up as a setup issue'

Jan 25th, 2019
yzou joined the room.
Jan 31st, 2019
catalindazoot joined the room.

after git pull to latest version i am getting lots of errors like `[31-Jan-2019 16:49:52 UTC] PHP Fatal error: Call to undefined method ManiphestTransactionEditor::getTitleForHTMLMail() in /opt/phabricator/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php on line 3315

in `phd.log`

wow, instant fix. Great

Feb 18th, 2019
danielberger left the room.
Feb 21st, 2019
arielyang joined the room.
pouyana left the room.
catalindazoot left the room.
Mar 1st, 2019

Hey guyw ist there any chance to get help with something like this: https://discourse.phabricator-community.org/t/arc-patch-fails-with-git-lfs-files/2447 ? I really can't figoure out if there is something wrong with our phabricator environment, the window clients working with arc, or something else.

Mar 27th, 2019

When I archive a phame blog post, it becomes visible even to users that should not be able to see it. Is this a known bug?

@amarin, I don't think it's a known issue. Can you recreate on phacility test instance?

Apr 10th, 2019
phil joined the room.

fyi secure.phabricator.com seems a lot slower than it used to be. repro by loading homepage, loading all tasks maniphest, and going back to homepage.

Jun 24th, 2019

@avivey, yes, I can reproduce it. Will file a bug in discourse.

Jul 4th, 2019

so I was going through my account list and noticed I made an account here. anywayI can get this account deleted?

I have a lot of accounts to go through so I'll check back in a few days to see if it was done hope someone can do it

Aug 1st, 2019

can anyone confirm whether "lock or hide fields" works on the phame blog (not post, the blog itself) in the edit engine form editor? I get "Unable to resolve method 'newEditEngineSubtypeMap'. at [LiskDAO.php:1637]" on wikimedia's instance of phabricator

Aug 7th, 2019

Hi,
i'm trying to reproduce a problem on our instance we've had for a while (through multiple phabricator versions). Our phabricator box uses huge amounts of memory when browsing repository commits. Our box has 32G mem and still sometimes OOM's if i open a dozen commits simultaneously.
I'm suspecting the graph cache at the moment but still have to dig deeper.
I've traced the request and can see the the cache entry (in general_cache) is ~60M large (compressed) and the diffusion.lastmodifiedquery takes ~5seconds. I haven't traced the memory usage yet though. Still 5s for viewing a commit diff is very slow.
Any idea how i can find out what's wrong with this cache? Dump/show the graph in some kind of readable way? Or is this kind of size normal for it? (we host ~70 repos totalling 10g of data)
Am i correct that it is a single cache for all repositories? (at least there's only one cache key and the problem is not repo specific)

ok, after a bit more digging i can see that the buckets of the graph cache are quite unbalanced. i can see ~20 buckets each having between 100 - 400kb. Then one with 1.7mb, 24mb & 60mb each. There might be a commit that basically changed everything in a repo and creates a very large cache entry because of it? (sth like committing a big bunch of external dependencies)
i'm not sure why the diffusion browser actually needs this information to simply show a single commit diff (not browsing through the tree)

ok, found it. we had some devs use a branch in a repo committing & pushing full rebuilds of stuff. so lot's of commits changing > 1000 files (170.000 to be exact :/ )
in our case i was able to not import this branch. if i wanna view those commit's in phabricator i can't and get the "> 1000 files affected" message. so i think the graph cache should probably ignore those commits as well. i'm not sure though how the frontend would handle cache misses like that, although the cache code states it might happen for recent commits. in our case a single cache bucket needed >2gb of memory to decompress, unserialize and parse. and then obviously didn't fit into the apc cache as well.

simply skipping commits in the graph bucket rebuild having > 1000 paths changed would be easy to add. judging what the consequences in the frontend might be is not ^^ (at least not for me)

Sep 2nd, 2019
chrisbolt joined the room.

Is it possible to prevent “Create Subtask” from prefilling certain fields?

Sep 9th, 2019

I'm trying to run ./bin/storage upgrade on the latest stable, and I'm getting this...

EXCEPTION: (AphrontAccessDeniedQueryException) #1044: Access denied for user 'phab'@'localhost' to database 'phabricator_paste' at [<phabricator>/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:350]

There is no database called phabricator_paste, but I do have one called phabricator_pastebin. Should I rename this manually, or has something seriously borked?

Aha! I have fixed it. It appears that some of the storage upgrades had been incomplete, or at least not remembered by the system, before. If anyone else gets this:

  1. Create a new database called phabricator_paste, grant privileges to the phabricator user (of course).
  2. Export the contents of the phabricator_pastebin database into an SQL file you store locally, both as a backup and for step 3.
  3. Import that SQL file into phabricator_paste.
  4. In my case, I also had to DROP TABLE edge; DROP TABLE edgedata; on phabricator_paste as well.
  5. Run ./bin/storage upgrade. It should work correctly and clean everything up.

I verified that the data in the Paste app is still there, and no errors are occurring now.