Closed
Bug 346171
Opened 19 years ago
Closed 19 years ago
Need to be able to upload dictionaries larger than 1.5MB limit
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: kairo, Assigned: oremj)
Details
Currently (though it's not written anywhere on the pages, from what I see), we seem to have the upload limit for extensions set to 1.5 MB - at least bug 258442 comment 4 suggests that.
As we're now uploading dictionaries for Gecko-1.8.1-based products to AMO, I ran into a problem with that, as the German dictionary extension is ~2.5 MB (the de-DE.dic is almost 10 MB in its uncompressed state).
Because of that, we need to increase the extension size limit - at least if we want to have a current German dictionary on AMO.
Comment 1•19 years ago
|
||
Resummarizing to describe the real problem, not one possible solution.
Severity: normal → major
Flags: blocking-firefox2+
Summary: Need bigger upload limit for extensions → Need to be able to upload dictionaries larger than 1.5MB limit
Comment 2•19 years ago
|
||
Could someone take a look at what the upload limit is on Iguana, and increase it to a higher value (maybe 10MB, or something arbitrarily larger)?
Assignee: nobody → server-ops
Component: Developer Pages → Server Operations
Flags: blocking-firefox2+
Product: Update → mozilla.org
Version: unspecified → other
Comment 3•19 years ago
|
||
The upload limit is most likely set in the php.ini file in /etc/php4/ -- see:
http://php.osuosl.org/manual/en/ini.core.php#ini.upload-max-filesize
If it's already larger than 1.5MB, then we'd have to look at the total memory limit, possibly -- since I imagine the .xpi is being inflated to read the install.rdf, and that could be pretty expensive.
Comment 4•19 years ago
|
||
Is this limit in place to protect against something specifically, or just something that happened to be around in the PHP config?
Comment 5•19 years ago
|
||
PHP sets conservative defaults (2M I think) - in my experience anytime an app deals with uploads the limit is eventually hit by someone. Usually it's a huge PDF, though, not a German dictionary. :)
I don't think having a limit ~10M would hurt anything or be any sort of risk.
| Assignee | ||
Updated•19 years ago
|
Assignee: server-ops → oremj
| Assignee | ||
Comment 6•19 years ago
|
||
This should be fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 7•19 years ago
|
||
Hrm, I still get the empty page described in bug 346168 when trying to upload the German dictionary...
| Reporter | ||
Comment 8•19 years ago
|
||
OK, tried a second time today, in case my try yesterday would have been too early after the change, but it failed again a few minutes ago.
Not fixed for me --> REOPEN.
I give you the .xpi file I'm trying so that you're able to test yourself...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 9•19 years ago
|
||
How big is this file uncompressed?
| Reporter | ||
Comment 10•19 years ago
|
||
As I said in comment 0, the .dic file is almost 10 MB, and the rest of the .xpi (.aff and install.*) is almost nothing, so all the content of the .xpi is about the same, 9.6 MB is what my archiver app shows.
| Assignee | ||
Comment 11•19 years ago
|
||
Sorry, skimmed the comments the first time through. Anyways, I bumped the limits a little more, could you try this again. I'm not seeing any errors in the logs that were caused by this. Maybe it was just timing out?
Thanks.
| Reporter | ||
Comment 12•19 years ago
|
||
I still can't get it to work, but it's very much possible you don't immediately see an error, given that I get the same emtpy page as if I would have left the file input field blank.
I've temporarily uploaded the dictionary xpi to http://www.hg23.at/~robert/mozilla/de-DE-dictionary.xpi so you people can test adding it...
Comment 13•19 years ago
|
||
Mate, you've got an extra directory in your add-on. Get rid of the global directory :)
| Reporter | ||
Comment 14•19 years ago
|
||
Argh, thanks.
It works now, but not getting any error messages is not very helpful :(
That's bug 346168 though...
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Comment 15•19 years ago
|
||
No worries mate.
Verifying as I uploaded a ~2.4MB file to test this :)
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•