Page MenuHomePhabricator

General Chat
PublicCome, chill, and stay a while

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.

Nov 12th, 2019

What happened with files attaching to an object? It stopped working for Panels in dashboards...

Can anyone check? For example, https://secure.phabricator.com/dashboard/view/250/, if you upload file to Panel, it does not get attached and Object policy is not working then for that file. Attaching to other objects (Tasks, Wiki, etc.) works as expected and tab "Attached" appears correctly.

Dec 10th, 2019

Hi Folks, Is there some documentation on how to implement a scrum workflow with Phabricator? I found some remarks on T10915, but some documentation on how epics, user stories, tasks and so on maps into Phabricator would be nice.

Jan 31st, 2020
chrisbolt left the room.
Apr 28th, 2020

Hello!

I have a question, is it possible to have a link to account in Phriction? Right now because of the username being in the url it seems impossible, but I am perhaps missing something.

Apr 29th, 2020

@avivey It is exactly what I was looking for ! Thank you so much ! 💌

May 15th, 2020

Hello, small question, I see that most of the UnitTest engines are disabled, are contributions accepted to bring them back to life?

I cannot create a task about it, is there a process to gain the ability?

I got PytestTestEngine.php almost working. But I am a bit confused, about the output. @epriestley, is there any plan about unit tests engine?

May 16th, 2020

Test engines generally fall under T10038.

Also, you might have more feedback at https://discourse.phabricator-community.org/.

Ah thank you so much for the pointer @avivey! It seems it is frozen. :( I will try the discourse. :) and shake it, I would love to help move it forward !

Aug 21st, 2020
stevex joined the room.

I think that @enko request is far from vain: the same question have been asked to me many times, and even more times I've not been asked but I think users have this problem

Hi @stevex, @enko
Yes, it's a completely valid question, and it should probably have an answer documented somewhere. However:

  1. The best place for this kind of discussions right now is in Discourse, where it's more visible to the community at large, and
  2. most of the people involved directly with building Phabricator just don't use Scrum, so we can't give a good answer.

There's a bunch of features implemented that provide pieces of the solution, but there's no built-in "scrum mode" because, honestly, we don't know what it means exactly (and what it means exactly is a little different in each company too).

This would be a good if someone can come up with a "this is how I do Scrum with Phabricator" blog post and publish it somewhere.

Apr 19th, 2022
ReynoldsCahoon joined the room.

Anyone still here? Trying to figure out how to permanently delete my account. Doesn't seem I have that ability from the profile settings page.

Apr 20th, 2022

I think only Admins can disable accounts but I'm not sure that's what you want. If you just want to stop receiving emails you can go to Settings > Email Delivery and then change to Disable Email Notifications.

Oct 25th, 2023
kaidowei joined the room.

I'd also like to get my account deleted. @epriestley can you help with this, please?