Page MenuHomePhabricator

MediaWiki-UploadingComponent
ActivePublic

Members (4)

Watchers (2)

Details

Description

File upload, via interface at Special:Upload or via API:Upload. (Issues with already uploaded files should be filed under "MediaWiki-File-management", UploadWizard has its separate project too). This project is part of the core MediaWiki software itself.

Recent Activity

Today

Pppery added a project to T73737: Result of chunk upload with warning omits offset: MediaWiki-Uploading.
Thu, Dec 26, 7:19 PM · MediaWiki-Uploading, MediaWiki-Action-API
Pppery added a project to T33813: Upload via API: always hidden in recentchanges when made under bot account: MediaWiki-Uploading.
Thu, Dec 26, 7:03 PM · MediaWiki-Uploading, MediaWiki-Action-API
Pppery added a project to T254060: ApiUpload allows duplicates when ignorewarnings is set.: MediaWiki-Uploading.
Thu, Dec 26, 6:44 PM · MediaWiki-Uploading, Documentation, Platform Engineering, Tool-spacemedia, MediaWiki-Action-API, Commons

Tue, Dec 24

AntiCompositeNumber merged T382711: Error 404, Not Found when accessing thumbnails into T382705: High amount of 503/504 for swift uploads.
Tue, Dec 24, 2:33 AM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage

Mon, Dec 23

BCornwall closed T382705: High amount of 503/504 for swift uploads as Resolved.

This should be fixed now that ms-be2075 is taken out of the ring. Thanks to @MatthewVernon for doing all the heavy lifting.

Mon, Dec 23, 9:56 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ added a comment to T382705: High amount of 503/504 for swift uploads.

(it's been quite a day for swift!)

Mon, Dec 23, 8:59 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
BCornwall added a comment to T382705: High amount of 503/504 for swift uploads.

@TheDJ That was a result of a separate issue that is now resolved (it's been quite a day for swift!)

Mon, Dec 23, 8:58 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
Stashbot added a comment to T382705: High amount of 503/504 for swift uploads.

Mentioned in SAL (#wikimedia-operations) [2024-12-23T20:16:56Z] <Emperor> weighted ms-be2075 to zero T382705 T382707

Mon, Dec 23, 8:17 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ added a comment to T382705: High amount of 503/504 for swift uploads.

Ehm. it this a problem ? or a side effect of the depool taking effect after that 20:15 window ?

Mon, Dec 23, 8:10 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
MatthewVernon added a comment to T382705: High amount of 503/504 for swift uploads.

The depool won't entirely help (writes always go to both clusters), but diverting read traffic to eqiad swift should help mitigate user impact a bit. We should restore it before US staff stop work at the end of today, though.

Mon, Dec 23, 2:11 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
Stashbot added a comment to T382705: High amount of 503/504 for swift uploads.

Mentioned in SAL (#wikimedia-operations) [2024-12-23T14:10:02Z] <Emperor> depool codfw swift T382705

Mon, Dec 23, 2:10 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
BCornwall added a comment to T382705: High amount of 503/504 for swift uploads.

ms-be2075 will be effectively removed from the ring (weights set to 0), but a small snag: Swift rings have an enforced minimum time between changes for data integrity reasons and the next availability for application will be at 20:15 UTC. Unfortunately, we'll need to wait.

Mon, Dec 23, 2:02 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
Maintenance_bot removed a project from T382705: High amount of 503/504 for swift uploads: Patch-For-Review.
Mon, Dec 23, 1:30 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
gerritbot added a comment to T382705: High amount of 503/504 for swift uploads.

Change #1106303 merged by BCornwall:

[operations/puppet@production] Swift: Mark ms-be2075 as failed, remove from prod

https://gerrit.wikimedia.org/r/1106303

Mon, Dec 23, 1:19 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ renamed T382705: High amount of 503/504 for swift uploads from High amount of 503 for swift uploads to High amount of 503/504 for swift uploads.
Mon, Dec 23, 12:47 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
BCornwall added a comment to T382705: High amount of 503/504 for swift uploads.

ms-be2075 has a data link reset a few times a minute:

Mon, Dec 23, 12:45 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ added a comment to T382705: High amount of 503/504 for swift uploads.

oh, wrong link, and wrong screenshot, I copied from the wrong browser tab :D

Mon, Dec 23, 12:44 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
gerritbot added a project to T382705: High amount of 503/504 for swift uploads: Patch-For-Review.
Mon, Dec 23, 12:43 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
gerritbot added a comment to T382705: High amount of 503/504 for swift uploads.

Change #1106303 had a related patch set uploaded (by BCornwall; author: BCornwall):

[operations/puppet@production] Swift: Remove ms-be2075 from prod hosts

https://gerrit.wikimedia.org/r/1106303

Mon, Dec 23, 12:43 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
BCornwall changed the status of T382705: High amount of 503/504 for swift uploads from Open to In Progress.
Mon, Dec 23, 12:42 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ raised the priority of T382705: High amount of 503/504 for swift uploads from High to Unbreak Now!.
Mon, Dec 23, 12:41 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ updated the task description for T382705: High amount of 503/504 for swift uploads.
Mon, Dec 23, 12:37 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ added a comment to T328872: Commons: UploadChunkFileException: Error storing file: backend-fail-internal; local-swift-codfw.

Thank you for reporting @Yann. I created T382705 for this one.

Mon, Dec 23, 12:37 PM · API Platform, MediaWiki-File-management, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Unstewarded-production-error, MediaWiki-Uploading, Wikimedia-production-error, SRE-swift-storage, Commons
TheDJ triaged T382705: High amount of 503/504 for swift uploads as High priority.
Mon, Dec 23, 12:36 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
TheDJ created T382705: High amount of 503/504 for swift uploads.
Mon, Dec 23, 12:36 PM · Data-Persistence, MediaWiki-Uploading, SRE-swift-storage
Yann added a comment to T328872: Commons: UploadChunkFileException: Error storing file: backend-fail-internal; local-swift-codfw.

This happened again while trying to upload a new version of https://commons.wikimedia.org/wiki/File:The_Lion_of_the_Moguls_-_Le_Lion_des_Mogols_(1924)_dir._Jean_Epstein.webm

04369: finalize/189> Still waiting for server to publish uploaded file
04374: FAILED: stashfailed: An unknown error occurred in storage backend "local-swift-codfw".
Mon, Dec 23, 10:28 AM · API Platform, MediaWiki-File-management, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Unstewarded-production-error, MediaWiki-Uploading, Wikimedia-production-error, SRE-swift-storage, Commons

Thu, Dec 19

dancy moved T381109: Wikimedia\RequestTimeout\RequestTimeoutException: The maximum execution time of {limit} seconds was exceeded from Untriaged to Nov 2024 on the Wikimedia-production-error board.
Thu, Dec 19, 4:39 PM · SRE-swift-storage, MediaWiki-Uploading, MediaWiki-File-management, Wikimedia-production-error, Commons
dancy added a project to T381109: Wikimedia\RequestTimeout\RequestTimeoutException: The maximum execution time of {limit} seconds was exceeded: SRE-swift-storage.
Thu, Dec 19, 4:39 PM · SRE-swift-storage, MediaWiki-Uploading, MediaWiki-File-management, Wikimedia-production-error, Commons
gh87 added a comment to T370598: Restrict non-(auto)confirmed users of most, if not all, wikis besides Commons from cross-wiki uploading.

To this date, the enwiki community has supported (the implementation of) restricting non-confirmed users (of enwiki) from migrating uploads into Commons.

Thu, Dec 19, 7:55 AM · MediaWiki-Uploading, Wikimedia-Site-requests, Crosswiki, Commons

Mon, Dec 9

Jdlrobson created T381821: Special:Upload uses Codex markup without appropriate style pack.
Mon, Dec 9, 9:36 PM · MediaWiki-Uploading

Thu, Nov 28

Aklapper renamed T381109: Wikimedia\RequestTimeout\RequestTimeoutException: The maximum execution time of {limit} seconds was exceeded from Fatal exception of type "Wikimedia\RequestTimeout\RequestTimeoutException to Wikimedia\RequestTimeout\RequestTimeoutException: The maximum execution time of {limit} seconds was exceeded.
Thu, Nov 28, 8:08 PM · SRE-swift-storage, MediaWiki-Uploading, MediaWiki-File-management, Wikimedia-production-error, Commons
Paladox created T381101: UploadComplete hook triggers before entries are written to table making getUploader() return null.
Thu, Nov 28, 1:02 PM · MediaWiki-Uploading

Nov 19 2024

gh87 updated the task description for T370598: Restrict non-(auto)confirmed users of most, if not all, wikis besides Commons from cross-wiki uploading.
Nov 19 2024, 6:22 PM · MediaWiki-Uploading, Wikimedia-Site-requests, Crosswiki, Commons
MatthewVernon added a comment to T379234: Unable to obtain exclusive write permission. Someone else is doing something with this file..

Glad to hear it uploaded right now :)
There's no need to ping me specifically, I get all the sre-swift-storage items sent to me already.

Nov 19 2024, 12:36 PM · SRE-swift-storage, MediaWiki-Uploading, Commons
MBH closed T379234: Unable to obtain exclusive write permission. Someone else is doing something with this file. as Resolved.

I have uploaded this file successfully. If I got this error again, I'll add SRE-swift-storage project and ping you.

Nov 19 2024, 12:26 PM · SRE-swift-storage, MediaWiki-Uploading, Commons

Nov 18 2024

MatthewVernon added a comment to T379234: Unable to obtain exclusive write permission. Someone else is doing something with this file..

I'm afraid we don't keep swift logs far enough back to 7th November, so I can't provide any feedback from a swift point of view.
[you could try again to see if the upload now works]

Nov 18 2024, 4:28 PM · SRE-swift-storage, MediaWiki-Uploading, Commons
Aklapper added a project to T379234: Unable to obtain exclusive write permission. Someone else is doing something with this file.: SRE-swift-storage.
Nov 18 2024, 4:01 PM · SRE-swift-storage, MediaWiki-Uploading, Commons

Nov 17 2024

Aklapper renamed T379507: No video transcodes for files without a cues element from no video transcodes for - File:Eine neue Tora für Berlin, jüdisches Leben sichtbar machen, Einweihung einer neuen Tora-Rolle, Festzug vom Bebelplatz zur Synagoge Beth Zion.webm and more files to No video transcodes for files without a cues element.
Nov 17 2024, 7:35 PM · TimedMediaHandler-Transcode, MediaWiki-Uploading

Nov 14 2024

Reedy added a comment to T379839: getid3: PHP Notice: Trying to access array offset on value of type null.

Amusingly, Tim last touched that line in https://github.com/JamesHeinrich/getID3/commit/273e47678035658a6c1c6837448f1732026b77cb

Nov 14 2024, 1:55 AM · User-brennen, MediaWiki-Uploading, TimedMediaHandler, Wikimedia-production-error

Nov 13 2024

brennen moved T379839: getid3: PHP Notice: Trying to access array offset on value of type null from Untriaged to Nov 2024 on the Wikimedia-production-error board.
Nov 13 2024, 11:04 PM · User-brennen, MediaWiki-Uploading, TimedMediaHandler, Wikimedia-production-error
brennen moved T379839: getid3: PHP Notice: Trying to access array offset on value of type null from Backlog to Logs/Train on the User-brennen board.
Nov 13 2024, 11:02 PM · User-brennen, MediaWiki-Uploading, TimedMediaHandler, Wikimedia-production-error
bvibber added a comment to T379839: getid3: PHP Notice: Trying to access array offset on value of type null.

@brennen ah yes my old nemesis, getid3's MPEG parser

Nov 13 2024, 10:56 PM · User-brennen, MediaWiki-Uploading, TimedMediaHandler, Wikimedia-production-error
brennen updated subscribers of T379839: getid3: PHP Notice: Trying to access array offset on value of type null.

@bvibber, @Umherirrender any thoughts on this one?

Nov 13 2024, 10:48 PM · User-brennen, MediaWiki-Uploading, TimedMediaHandler, Wikimedia-production-error
brennen created T379839: getid3: PHP Notice: Trying to access array offset on value of type null.
Nov 13 2024, 10:46 PM · User-brennen, MediaWiki-Uploading, TimedMediaHandler, Wikimedia-production-error
Scott_French closed T379462: Repeated UploadWizard failures: "Server did not respond in time" as Resolved.

Alright, as noted in T379035#10318390, since ~ 17:50 UTC today all three job types that are critical to (async) uploads have been lifted out of the low-traffic consumer and into dedicated rules. Thus, they should no longer be exposed to this kind of isolation failure.

Nov 13 2024, 7:18 PM · serviceops, UploadWizard, MediaWiki-Uploading, Commons
Scott_French claimed T379462: Repeated UploadWizard failures: "Server did not respond in time".
Nov 13 2024, 12:45 AM · serviceops, UploadWizard, MediaWiki-Uploading, Commons

Nov 12 2024

TheDJ added a comment to T379507: No video transcodes for files without a cues element.

Yeah some systems can deal with that, some don't. We don't. If someone wants to figure out why, patches are definitely welcome.

Nov 12 2024, 12:25 PM · TimedMediaHandler-Transcode, MediaWiki-Uploading
C.Suthorn added a comment to T379507: No video transcodes for files without a cues element.

none the less these files are handled fine by ffmpeg, VLC, the stock video player of my smart phone and web browsers on windows and linux. Also MW extracts the audio part.

Nov 12 2024, 9:56 AM · TimedMediaHandler-Transcode, MediaWiki-Uploading

Nov 11 2024

TheDJ added a comment to T379507: No video transcodes for files without a cues element.

These files lack cues (which provides time -> byteoffset mapping) and "Unless Matroska is used as a live stream, it SHOULD contain a Cues Element"

Nov 11 2024, 7:30 PM · TimedMediaHandler-Transcode, MediaWiki-Uploading
jijiki triaged T379462: Repeated UploadWizard failures: "Server did not respond in time" as High priority.
Nov 11 2024, 1:06 PM · serviceops, UploadWizard, MediaWiki-Uploading, Commons