Last modified: 2014-11-15 12:21:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62821, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60821 - UploadWizard stuck on chunked upload of images to Commons
UploadWizard stuck on chunked upload of images to Commons
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-04 11:13 UTC by Chris Woodrich
Modified: 2014-11-15 12:21 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris Woodrich 2014-02-04 11:13:28 UTC
I tried uploading 9 images earlier today, and each successive time the UploadWizard got stuck on "Publishing". The first three images were uploaded and published correctly, but all those after them were untouched. This is making it difficult to upload, so any fix would be appreciated.

Images uploaded when encountering this bug:
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 01.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 02.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 03.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 04.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 05.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 06.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 07.jpg.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 08.jpg.jpg
*File:Sukorambi Botanical Garden, Jember, 2014-01-20 09.jpg.jpg
Comment 1 Andre Klapper 2014-02-04 12:00:36 UTC
Hi Chris.

Does anything appear in your browser's JavaScript console when loading the page?
Can you please run the upload wizard with the debug option enabled? Just add "?debug=true" at the end of the web address (after "Special:UploadWizard") and then reload the page.
Is this about Wikimedia Commons? Do you by any chance have the "Chunked uploads for files over 1MB in Upload Wizard" preference enabled on Commons in the Upload Wizard preferences?
If it is about your own wiki, what do you have in LocalDefaults.php for $wgUploadWizardConfig?
Which browser and version did you use?
Comment 2 Bawolff (Brian Wolff) 2014-02-04 14:53:07 UTC
Also how big were the files?
Comment 3 Chris Woodrich 2014-02-04 16:40:42 UTC
Does anything appear in your browser's JavaScript console when loading the
page?
- Nothing.

Can you please run the upload wizard with the debug option enabled? Just add
"?debug=true" at the end of the web address (after "Special:UploadWizard") and
then reload the page.
- Nothing with Debug mode. I uploaded
https://commons.wikimedia.org/wiki/File:Unidentified_plant,_Sukorambi_Botanical_Garden,_Jember_01.jpg
https://commons.wikimedia.org/wiki/File:Unidentified_fruit,_Sukorambi_Botanical_Garden,_Jember_01.jpg
https://commons.wikimedia.org/wiki/File:Unidentified_flower,_Sukorambi_Botanical_Garden,_Jember_01.jpg
and then it stalled.

Is this about Wikimedia Commons? Do you by any chance have the "Chunked uploads
for files over 1MB in Upload Wizard" preference enabled on Commons in the
Upload Wizard preferences?
- Yes and yes. Batched uploads worked perfectly fine a while ago. I uploaded a 700 mb file (Santa Claus Conquers the Martians), no issues.

If it is about your own wiki, what do you have in LocalDefaults.php for
$wgUploadWizardConfig?
- N/A 

Which browser and version did you use?
-Firefox, 26.0

A couple things, don't know if they are related or indicative of something. The "view thumbnail" function is fritzy, and the "time remaining" bar is flickering between x minutes and y seconds (with x generally being more accurate), even in Debug mode.
Comment 4 Chris Woodrich 2014-02-04 16:45:31 UTC
Files were mostly 10 - 20 mb in size, some less.
Comment 5 Bawolff (Brian Wolff) 2014-02-04 20:31:06 UTC
(In reply to comment #4)
> Files were mostly 10 - 20 mb in size, some less.

Ok. That means chunked upload was used, we do have lots of bug reports of chunked upload stalling at end for unknown reasons.
Comment 6 Gerrit Notification Bot 2014-10-23 20:29:51 UTC
Change 168419 had a related patch set uploaded by MarkTraceur:
Upgrade FDT to use promises instead of old syntax

https://gerrit.wikimedia.org/r/168419
Comment 7 Gerrit Notification Bot 2014-10-23 20:38:26 UTC
Change 168419 merged by jenkins-bot:
Upgrade FDT to use promises instead of old syntax

https://gerrit.wikimedia.org/r/168419
Comment 8 Gerrit Notification Bot 2014-10-23 20:40:59 UTC
Change 168422 had a related patch set uploaded by MarkTraceur:
Upgrade FDT to use promises instead of old syntax

https://gerrit.wikimedia.org/r/168422
Comment 9 Gerrit Notification Bot 2014-10-23 20:41:40 UTC
Change 168423 had a related patch set uploaded by MarkTraceur:
Upgrade FDT to use promises instead of old syntax

https://gerrit.wikimedia.org/r/168423
Comment 10 Gerrit Notification Bot 2014-10-23 21:25:29 UTC
Change 168423 merged by jenkins-bot:
Upgrade FDT to use promises instead of old syntax

https://gerrit.wikimedia.org/r/168423
Comment 11 Gerrit Notification Bot 2014-10-23 21:25:32 UTC
Change 168422 merged by jenkins-bot:
Upgrade FDT to use promises instead of old syntax

https://gerrit.wikimedia.org/r/168422
Comment 12 Mark Holmquist 2014-10-24 21:52:56 UTC
If the above fixes the problem, we should be good now...if the issue resurfaces, please reopen!
Comment 13 Andre Klapper 2014-10-24 23:06:46 UTC
I can confirm that today I could finally upload a 220MB video and did not get stuck for hours with UploadWizard showing "Finished! 0 out of 1 file uploaded" without any option to continue, as the previous days.
("Chunked uploads for files over 5 MB in Upload Wizard" enabled and "Maximum number of concurrent uploads" set to 0)
Comment 14 Andre Klapper 2014-11-15 12:21:56 UTC
(In reply to Mark Holmquist from comment #12)
> If the above fixes the problem, we should be good now...if the issue
> resurfaces, please reopen!

No feedback - Closing as RESOLVED FIXED.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links