Page MenuHomePhabricator

clean_upload_stash maintenance cron fails to delete files on commons wiki (backend-fail-delete)
Open, Needs TriagePublic

Description

The Mediawiki maintenance cron job "mediawiki::maintenance::cleanup_upload_stash" attempts to "Remove old or broken uploads from temporary uploaded file storage, clean up associated database records".

While running this manually for T195392 i noticed it shows errors on commons wiki (and they could also be found in the existing error log file).

It seems to work fine on all wikis except on commons where there are some swift backend-fail-delete errors.

See /var/log/mediawiki/cleanup_upload_stash.err and /var/log/mediawiki/cleanup_upload_stash.log on mwmaint1002

1288 commonswiki:  Getting list of files to clean up...
1289 commonswiki:  Removing 4806 file(s)...
1290 commonswiki:  Failed removing stashed upload with key ...

UploadStashBadPathException)

Event Timeline

Dzahn created this task.Aug 9 2019, 2:38 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 9 2019, 2:38 AM
Dzahn updated the task description. (Show Details)Aug 9 2019, 2:39 AM