Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot upload files for release in Github

Tags:

I want ot create a release for my Github project, but when I try to upload my binary (which is a .zip file) to the release, I get the following error message:

Something went really wrong, and we can’t process that file.

I get the same error message if I try to upload some other files (e.g. my readme file). What could be wrong?

like image 811
petersohn Avatar asked Dec 04 '16 21:12

petersohn


People also ask

Why is GitHub not uploading files?

Github does not work like cloud storage platform. You actually need to have git installed on your computer in order to be able to push code to your repositories. First of all, you need to install git ( download links here ). Then you need to init your local repositories with git init .

How can I upload more than 25mb in GitHub?

Files that you add to a repository via a browser are limited to 25 MB per file. You can add larger files, up to 100 MB each, via the command line. For more information, see "Adding a file to a repository using the command line."

Is there a limit to how much you can upload to GitHub?

GitHub has a strict file limit of 100MB. If you are just uploading lines of codes, this is not something that you need to worry about. However, if you want to upload a bit of data, or something in binary, this is a limit that you might want to cross.


2 Answers

Check first if this issue persists with all browser.

I have seen this error message before, where the upload succeeded with Chrome, but not Firefox.

like image 75
VonC Avatar answered Sep 19 '22 14:09

VonC


For the record in my case this was due to an obvious mistake: I had to authorize a github script in NoScript.

like image 30
YvesQuemener Avatar answered Sep 18 '22 14:09

YvesQuemener