Page MenuHomePhabricator

wmf-config/swift.php error on upload
Closed, ResolvedPublic

Description

Reported by Bidgee on IRC as a screenshot http://i638.photobucket.com/albums/uu105/Busabout/Error.png

The error is:
exception 'InvalidResponseException' with message 'Invalid response (404): Container has no Objects.' in /usr/local/apache/common-local/php-1.18/extensions/SwiftCloudFiles/php-cloudfiles-1.7.10/cloudfiles.php:1426.

The trace gives out:

swift.php(37): CF_Container->list_objects(0, NULL, '8/85/Union_Club...')
[internal function]: wmfPurgeBackendThumbCache( Object(LocalFile), false )


Version: unspecified
Severity: normal

Details

Reference
bz34440

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:17 AM
bzimport set Reference to bz34440.
bzimport added a subscriber: Unknown Object (MLST).

The full filename was Union_Club_Hotel_in_2004.jpg

User did not get any error on retry and the file is indeed accessible at http://commons.wikimedia.org/wiki/File:Union_Club_Hotel_in_2004.jpg

I have added a wfDebugLog() call on production (local revision number is 2973 ).

CCing Aaron Schulz

bhartshorne wrote:

I'm guessing this has something to do with the php not liking it when a container is actually empty - wikipedia-commons-local-public.85 has no objects.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:25 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM