In T11242#183007, @chad wrote:{F1706803}
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Jun 30 2016
Jun 30 2016
epriestley added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.
bjshively added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.
Thanks for the ridiculously fast triage. Not an urgent issue for us, just wanted to make sure you were aware of it.
chad added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.
{F1706803}
chad added a comment to T11242: MIME type detection does not run on files large enough to activate the chunking engine.
Appears to only occur when a file needs chunked. Small files work fine.
epriestley renamed T11242: MIME type detection does not run on files large enough to activate the chunking engine from Loss of mime type when file is uploaded via drag-and-drop uploader to MIME type detection does not run on files large enough to activate the chunking engine.
Jun 25 2016
Jun 25 2016
asherkin added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
chad removed a revision from T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 22 2016
Jun 22 2016
Jun 17 2016
Jun 17 2016
I believe this is resolved and accounted for, let us know if anyone is hitting issues.
Jun 16 2016
Jun 16 2016
epriestley moved T11140: Support at-rest encryption in Files from The Queue to Paused on the Prioritized board.
I've deployed this and configured this server to use AES-256-CBC, although I haven't retroactively migrated existing data.
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
Jun 15 2016
Jun 15 2016
I'm planning to do this:
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
epriestley added a revision to T11140: Support at-rest encryption in Files: Restricted Differential Revision.
epriestley moved T11140: Support at-rest encryption in Files from Preflight to The Queue on the Prioritized board.
Jun 14 2016
Jun 14 2016
My tentative plan is to define keys in local config with some sort of structure like:
One thing I've seen people do is something like an encrypted ssh key (For SSL certs):
Jun 13 2016
Jun 13 2016
epriestley moved T11140: Support at-rest encryption in Files from Backlog to Preflight on the Prioritized board.
Jun 8 2016
Jun 8 2016
epriestley closed T10262: Scramble file secrets when attached objects change their view policies as Resolved.
This has been live for a while and appears to be working properly. If anyone is still seeing specific, reproducible problems with cache strategies, feel free to file a new issue detailing them.
I tested on 4.4.2 and it worked.
Jun 7 2016
Jun 7 2016
epriestley added a comment to T6674: Support video MIME types and distinguish between audio and video OGG files.
I'm going to merge this into T6916. That implements a reasonable behavior for application/ogg (assume video by default, allow users to embed as audio instead with media="audio") and browser seem to do fine when audio is embedded with <video /> anyway, so I suspect we'll be in reasonable shape after that and not need to try to determine the contents of OGG containers in a more sophisticated way.
May 24 2016
May 24 2016
cspeckmim added a comment to T4752: Daemons may not have permission to remove files from local disk storage engine.
We managed to solve this on our server setup using Linux ACL (I had help from someone in IT). Here are roughly the steps we took
May 20 2016
May 20 2016
epriestley moved T5187: Make "Upload File" dialog have a vanilla file upload control from The Queue to Paused on the Prioritized board.
This is in master and live on this install. Let me know if you hit issues with it, especially on mobile. Seems fine on my iPhone 4 but I don't have a ton of devices on hand for testing.
quick note: even on systems with 'normal' windowing systems many users
dislike or can't use drag-and-drop workflows. I'm mostly mentioning this so
that the non-D&D workflow isn't entirely treated as a second class citizen.
D15953 played out more or less as described above. I'm not going to land it before cutting stable this week since it touches Workflow in a couple of ways that might have unforseen consequences, but I expect it to be available in master some time later tonight or tomorrow.
epriestley added a revision to T5187: Make "Upload File" dialog have a vanilla file upload control: Restricted Differential Revision.
After D12066, we have an upload workflow which gracefully accommodates very large files (progress bars, resumable uploads, no server host needs to handle more than 4MB of data on disk or in memory at once). This flow is activated when you drag-and-drop, and we've successfully used it to transfer reasonably-sized cluster import/export files (1-2GB) for the better part of a year now.
May 13 2016
May 13 2016
csilvers added a comment to T4752: Daemons may not have permission to remove files from local disk storage engine.
Oh, I see I already made that suggestion! I am nothing if not consistent.
csilvers added a comment to T4752: Daemons may not have permission to remove files from local disk storage engine.
In the meantime, we could maybe do the following:
May 12 2016
May 12 2016
epriestley moved T5187: Make "Upload File" dialog have a vanilla file upload control from Preflight to The Queue on the Prioritized board.
epriestley moved T5187: Make "Upload File" dialog have a vanilla file upload control from Backlog to Preflight on the Prioritized board.
epriestley added a project to T5187: Make "Upload File" dialog have a vanilla file upload control: Prioritized.
In T5187#175015, @epriestley wrote:Sure. I'd estimate this is 1-2 hours of work if we develop a patch ourselves and 2-3 hours of work if we work with @matmarex to make his patch suitable for inclusion and maintenance in the upstream. Which would you prefer?
See Paid Prioritization and L34 Phacility Prioritization Service Agreement for specifics, if you haven't run across them yet.
You're behind T10917 and T10939 in the queue (see the Prioritized workboard) and some other things which are wrapping up, so it will probably be about a week before we can pursue this. If that sounds reasonable, we can get this into the queue now and confirm with you before starting work.
Sure. I'd estimate this is 1-2 hours of work if we develop a patch ourselves and 2-3 hours of work if we work with @matmarex to make his patch suitable for inclusion and maintenance in the upstream. Which would you prefer?
@epriestley I'm happy to try to pay you to review the patch if that'll help.
(If that answer isn't particularly satisfying, maybe see discussion starting here: T7820#172877.)
We haven't seen much interest in this from outside WMF, so there are probably several hundred tasks ahead of it on our natural roadmap.
This is still a big problem for Wikimedia's Phabricator installation, making it unnecessarily difficult to file or amend bug reports about mobile issues.
May 10 2016
May 10 2016
• StrikeForceZero moved T9642: Unable to download images on Android from Icebox to Backlog on the Android board.
• StrikeForceZero moved T9642: Unable to download images on Android from Backlog to Icebox on the Android board.
May 7 2016
May 7 2016
epriestley renamed T4752: Daemons may not have permission to remove files from local disk storage engine from Daemons may have permission to remove files from local disk storage engine to Daemons may not have permission to remove files from local disk storage engine.
epriestley removed a project from T7593: Allow administrators to disable files to prevent "l33t w4r3z" abuse cases: Facebook.
epriestley renamed T8788: Allow querying for files by name from / Allow querying for files by ø to Allow querying for files by name.
• rubenriverae updated the task description for T4752: Daemons may not have permission to remove files from local disk storage engine.
• rubenriverae renamed T4752: Daemons may not have permission to remove files from local disk storage engine from Daemons may not have permission to remove files from local disk storage engine to Daemons may have permission to remove files from local disk storage engine.
Apr 29 2016
Apr 29 2016
Great, I'm glad to hear things are working for you. Thanks for your help testing this out!
Apr 28 2016
Apr 28 2016
Can confirm that on latest stable my lfs-test repository now succeeds with both jars and jpegs. Huzzah!
Apr 22 2016
Apr 22 2016
Thanks!
Yes, we will consider setting up alternate file domain
I think D15784 should fix the issue. It should land in master later today and be available in stable in about 24 hours. Let me know if you're still seeing issues once you update past that.
epriestley added a revision to T7789: Support Git Large File Storage: Restricted Differential Revision.
I think I know what's going on, although I'm unsure why the <2MB files would work, unless you happened to push those to a public ("Visible To: Public (No Login Required)") repository and pushed the large files to a private repository?
- It's not configured
- Yes
- I'm not sure, these are my install versions (stable branch) :
- phabricator f75b1cf562c0c3646324864851d693ef1069a068 (Mon, Apr 18)
- arcanist 01b6fe8bb0239a4bce03f58d6288a3a52ad83a91 (Sat, Apr 16)
- phutil b8c65df2a910a7028d39bec602d181428b6ce01f (Sat, Apr 16)
(edit, it has rP37b93f4)
- Is security.alternate-file-domain configured on your install?
- When you say "redirect to the correct file", do you mean you get taken to the file detail page /F1234?
- Also, do you have rP37b93f4 locally (April 7)? (You can grab the hashes in Config → Versions if you aren't immediately sure and I can figure it out from there.)
Ah, is the auth token (first [shortened]) same for every user? It is in my case
- If I visit the URI while being logged in to the app, the browser redirects to the correct file, the download link works
- The download URI is the same as the logged URI
- Visiting the URI with private window returns normal 404 page
You shouldn't need to configure diffusion.allow-http-auth -- the auth token is basically the first [shortened] in the URI, so that appears to be working properly.
I'm using S3 as Files storage backend, phabricator runs behind nginx, and the diffusion is hosted over SSH (diffusion.allow-http-auth=false, HTTP is not configured anyway). I'm having an issue:
- pushing and pulling small files (<2MB) tracked as LFS -> works flawlessly
- pushing 11x 1 GB files works, but can't do git clone / git lfs fetch (got the same issue as @benjumanji, the lfs_trace log is similar, 404 errors when getting the lfs-* files)
- pushing a 11GB file, doesn't work. forgot the error message, will add it later if needed
Apr 18 2016
Apr 18 2016
T4752 is the detail on that.
When using local disk storage, the file is owned by the web-server user, not the daemon user.
thoughtpolice added a revision to T10828: File deletion should be queued up and run by daemons: Restricted Differential Revision.
Apr 17 2016
Apr 17 2016
Kicking this to the daemons should be like 20 lines of code, but we probably also need to flag the file as "queued for deletion" in the UI in the meantime and prevent you from interacting with it, which touches a few other interfaces, so this isn't completely trivial.
Apr 8 2016
Apr 8 2016
Apr 7 2016
Apr 7 2016
epriestley added a revision to T7789: Support Git Large File Storage: Restricted Differential Revision.
Hmm, odd. That definitely isn't the POST issue (although I suspect that may be an issue in some cases). The behavior will hopefully be more clear once master promotes, and definitely easier to debug. I'll dig into it a bit on my side in the meantime, I have a few ideas of things to try now. Thanks for your help!
Unfortunately, no dice. I removed the jar file, and added a jpeg. I have attached a trace of running GIT_TRACE=1 git lfs fetch origin.
Oh, I think I might know what's wrong. If you repeat the same process with a viewable file (like a JPEG or PNG) does that work?
Can confirm that navigating to the file in diffusion will let me download it, and it really does give me back the right file.
Hmm, I'm not immediately sure -- that all looks correct on your side to me. Let me add some kind of basic LFS administration page that shows Phabricator's view of LFS objects in the repository -- hopefully that will shed some light on where things are breaking down.
As an addendum, I can definitely find the zip file on the box...
I'm on latest stable (fea2389), and I just tried the following
$ git clone ssh://git@phabricator.example.com:222/diffusion/18/lfs-test.git [10:54:36] Cloning into 'lfs-test'... warning: You appear to have cloned an empty repository. Checking connectivity... done. $ cd lfs-test/ [10:56:39] $ git lfs install [10:56:42] Updated pre-push hook. Git LFS initialized. $ git lfs track "*.jar" [10:57:05] Tracking *.jar $ cp ../some/path/antlr-3.2.jar . [10:57:19] $ ls [10:57:52] antlr-3.2.jar $ git add antlr-3.2.jar [10:57:54] $ git commit -m "testing" [10:57:57] [master (root-commit) 2690d02] testing 1 file changed, 3 insertions(+) create mode 100644 antlr-3.2.jar $ git push -u origin master [10:58:04] Git LFS: (1 of 1 files) 1.84 MB / 1.84 MB Counting objects: 3, done. Delta compression using up to 6 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 329 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) To ssh://git@phabricator.example.com:222/diffusion/18/lfs-test.git * [new branch] master -> master Branch master set up to track remote branch master from origin.
so far so good. however...
$ cd .. [10:58:18] $ rm -rf lfs-test/ [10:59:45] $ git clone ssh://git@phabricator.example.com:222/diffusion/18/lfs-test.git [10:59:50] Cloning into 'lfs-test'... remote: Counting objects: 3, done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0) Receiving objects: 100% (3/3), done. Checking connectivity... done. $ cd lfs-test/ [11:00:15] $ ls [11:00:19] antlr-3.2.jar $ cat antlr-3.2.jar [11:00:45] version https://git-lfs.github.com/spec/v1 oid sha256:4c8737014e7ca0d2c85171edf37f5a26b2d8d8237c283357b81a3269b6848d38 size 1928009 $ git lfs fetch origin [11:05:19] Fetching master Git LFS: (2 of 1 files) 0 B / 1.84 MB Repository or object not found: http://phabricator.example.com/file/data/w5mihitt7ijile3b7n44/PHID-FILE-kbhl75cnfm6nwks7ojmf/dosd5iqevvn3rune/lfs-4c8737014e7ca0d2c85171edf37f5a26b2d8d8237c283357b81a3269b6848d38 Check that it exists and that you have proper access to it Warning: errors occurred
Apr 6 2016
Apr 6 2016
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
Chrome is free to send more "If-Modified-Since" headers when you press reload than when you navigate. I have no idea what its exact behaviors are.
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.
I'm using the reload button next to the URL field indeed. I'm not sure this trashes the cache because if that was the case, there would be no 304s, right?
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
I can't reproduce that unless I actually use the "reload" command to reload the page, which looks like it makes Chrome dump caches on my system.
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.
Thanks @epriestley, much looking forward to have this deployed to Phacility.
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
Those changes are live on this server now, let us know if you run into issues.
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
D15642 has additional details, but the new header/cache behavior is:
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
On this:
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
D15641 has the technical details, but here's the behavior I've implemented:
epriestley added a revision to T10262: Scramble file secrets when attached objects change their view policies: Restricted Differential Revision.
epriestley renamed T10262: Scramble file secrets when attached objects change their view policies from Paranoid file URL security mode causes nearly universal performance problems to Scramble file secrets when attached objects change their view policies.
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
If the unique url hash changed whenever the visibility policy changed, that would be fine.
csteipp added a comment to T10262: Scramble file secrets when attached objects change their view policies.
Let me explain the WMF use case a little more. We have lots of users create public tasks, often with pictures attached, which should be private (security/privacy issues, legal issues, etc). We push notifications of new tasks to our public irc channels, and a lot of our users subscribe to huge numbers of projects. So once the task is created, the content is widely dispersed. And we need the ability to make that as private as possible.
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.
I'm on my laptop using tethering on T-Mobile right now and I just noticed the user profile photos in the workboards are not being cached. Whenever I reload the page (Chrome 49.0.2623.110 on OS X 10.11.4), these photos reload from scratch. Here are the headers as reported by the Chrome inspector:
(This is paused since we're waiting on feedback -- if you give it a shot, let us know how things go.)
epriestley moved T7789: Support Git Large File Storage from Backlog to Paused on the Prioritized board.
Mar 31 2016
Mar 31 2016
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.
When I said "user images" above, I meant to say "user uploaded images" like what you drag & drop in Pholio, Phriction, Maniphest, etc... i.e. explicitly not Phab built-in images which are indeed cached. Sorry if that was confused with "user profile images". There are no performance problems here. In general I have observed no performance issues with Phacility outside of the matter tracked by this very task.
epriestley added a comment to T10262: Scramble file secrets when attached objects change their view policies.
User profile images should be getting cached. For example, your profile image here:
20after4 added a comment to T10262: Scramble file secrets when attached objects change their view policies.
I've really never experienced any poor performance when using phabricator. It's not blazing fast but that is mostly due to the complexity of the server side php bits. I have literally never seen slowness in loading static resources.
swisspol added a comment to T10262: Scramble file secrets when attached objects change their view policies.
Here's another big problem (IMHO) I just realized: using Phab on mobile or through tethering on your laptop is terrible: the fact user images don't get cached, kills usability: it takes forever to load / reload anything with user images.