Package upload in Red Hat Satellite 6 WebUI fails with 'Error during upload: File too large. Please use the CLI instead.'

Solution Verified - Updated -

Issue

  • Uploading package using hammer fails with below error:

    hammer> repository upload-content --path /var/www/html/pub/test.el6.x86_64.rpm --product "Prod" --organization "OrgName" --name 
    Name
    [Foreman] Password :
    Failed to upload file 'test.el6.x86_64.rpm' to repository. Please check the file and try again.
    Publishing Repository.
    [....................................................................................                                                                                     ] [50%]
    

Environment

  • Red Hat Satellite 6.0.x
  • Red Hat Satellite 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content