https://bugzilla.wikimedia.org/show_bug.cgi?id=56298

       Web browser: ---
            Bug ID: 56298
           Summary: maintenance/cleanupUploadStash.php is broken (throws
                    exception)
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: fai...@wikimedia.org
                CC: bawolff...@gmail.com, bryan.tongm...@gmail.com,
                    fflo...@wikimedia.org, mtrac...@member.fsf.org
    Classification: Unclassified
   Mobile Platform: ---

I discovered today that the cleanupUploadStash.php job on terbium has been
failing for a while and we've accumulated 5T of data in temp containers.

There was a "missing /a" issue that was breaking foreachwiki, which I worked
around. However, when I run cleanupUploadStash.php now, I get the following
exception for all wikis:

bswikibooks:  Getting list of files to clean up...
bswikibooks:  Removing 2 file(s)...
bswikibooks:  UploadStash::getFile No user is logged in, files must belong to
users
bswikibooks:  Backtrace:
bswikibooks:  #0
/usr/local/apache/common-local/php-1.23wmf1/includes/upload/UploadStash.php(361):
UploadStash->getFile('11jhstz7psnc.tykg19.954.jpg')
bswikibooks:  #1
/usr/local/apache/common-local/php-1.23wmf1/maintenance/cleanupUploadStash.php(83):
UploadStash->removeFileNoAuth('11jhstz7psnc.tykg19.954.jpg')
bswikibooks:  #2
/usr/local/apache/common-local/php-1.23wmf1/maintenance/doMaintenance.php(113):
UploadStashCleanup->execute()
bswikibooks:  #3
/usr/local/apache/common-local/php-1.23wmf1/maintenance/cleanupUploadStash.php(143):
require_once('/usr/local/apache/common-local/php-1.23wmf1/maintenance/doMaintenance.php')
bswikibooks:  #4 /usr/local/apache/common-local/multiversion/MWScript.php(97):
require_once('/usr/local/apache/common-local/php-1.23wmf1/maintenance/cleanupUploadStash.php')
bswikibooks:  #5 {main}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to