Last modified: 2012-10-15 22:34:21 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 T43028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41028 - Several large files for server-side upload to Commons
Several large files for server-side upload to Commons
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Unprioritized trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-15 02:37 UTC by Dominic
Modified: 2012-10-15 22:34 UTC (History)
6 users (show)

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


Attachments

Description Dominic 2012-10-15 02:37:43 UTC
I have approximately 4 GB of >100 MB files in a tarball for upload to Wikimedia Commons. There are 11 OGV/OGA files and matching TXT files for the descriptions. The dropbox link below is a direct download link.

- Commons username to be used: US National Archives bot
- Files and descriptions: https://www.dropbox.com/s/vaoahstho1u74d7/NARA.tar.gz?dl=1

Thanks!
Comment 1 Dereckson 2012-10-15 07:42:38 UTC
Thank you for your request.

[ Tip for the future: use .tar ]

May I suggest in the future you avoid the CPU intensive gzip operation? A video is already pretty compressed, and a storage .tar would be much faster for more or less the same weight.

[ How to produce a .tar and not a .tar.gz? ]

To produce a .tar, instead to use "tar czvf", drop the z and use "tar cvf" (c for compress, v to be verbose and print handled files, z to do a gzip compression and f to specify an archive target file instead to print result to stdout).


( Adding 'shell' keyword. )
Comment 2 Dominic 2012-10-15 09:20:55 UTC
Thanks. :-) I wasn't aware of the difference. I'll keep that in mind in the future
Comment 3 Sam Reed (reedy) 2012-10-15 14:08:48 UTC
reedy@fenari:/tmp/uploads$ sudo -u apache mwscript importImages.php --wiki=commonswiki --comment-ext=txt --user="US National Archives bot" /tmp/uploads/Overflow
Import Images

Importing Video Recording of President William Jefferson Clinton Delivering a Speech to the American Council on Education - NARA - 6037302.ogv...done.
Importing Video Recording of the Balkan Peace Agreement Signing - NARA - 6037162.ogv...done.
Importing Video Recording of Prime Minister of Israel Yitzhak Rabin's Funeral - NARA - 6037161.ogv...done.
Importing Video Recording of President William Jefferson Clinton Delivering Remarks at the Medal of Freedom Ceremony - NARA - 6037156.ogv...done.
Importing Video Recording of President William Jefferson Clinton Announcing Ruth Bader Ginsburg as Nominee for Supreme Court Justice - NARA - 6037153.ogv...done.
Importing Video Recording of President William Jefferson Clinton Delivering Remarks to the Community - NARA - 6037378.ogv...PHP Warning:  SwiftFileBackend::doStoreInternal: Invalid response (503): Unexpected HTTP return code: 503 in /home/wikipedia/common/php-1.21wmf1/includes/filebackend/SwiftFileBackend.php on line 1364

Warning: SwiftFileBackend::doStoreInternal: Invalid response (503): Unexpected HTTP return code: 503 in /home/wikipedia/common/php-1.21wmf1/includes/filebackend/SwiftFileBackend.php on line 1364
failed. (An unknown error occurred in storage backend "local-swift".)
Importing Video Recording of President William Jefferson Clinton Delivering Remarks on the After School Child Care Initiative - NARA - 6037196.ogv...done.
Importing Video Recording of President William Jefferson Clinton Delivering Remarks at the Granoff Forum - NARA - 6037339.ogv...done.
Importing Video Recording of President William Jefferson Clinton Signing Welfare Reform Legislation - NARA - 6037164.ogv...done.
Importing Video Recording of the Signing of the Financial Modernization Bill - NARA - 6037181.ogv...done.
Importing Video Recording of President William Jefferson Clinton Speaking at the 1996 Democratic National Convention - NARA - 6037301.ogv...done.

Found: 11
Added: 10
Failed: 1
Comment 4 Sam Reed (reedy) 2012-10-15 14:23:18 UTC
Last file won't upload...
Comment 5 Aaron Schulz 2012-10-15 22:10:39 UTC
Have you tried on hume?
Comment 6 Sam Reed (reedy) 2012-10-15 22:34:21 UTC
reedy@hume:/tmp$ sudo -u apache mwscript importImages.php --wiki=commonswiki --comment-ext=txt --user="US National Archives bot" /tmp/uploads
Import Images

Importing Video Recording of President William Jefferson Clinton Delivering Remarks to the Community - NARA - 6037378.ogv...done.

Found: 1
Added: 1

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


Navigation
Links