php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74525 Unable to upload new release for package
Submitted: 2017-05-02 01:59 UTC Modified: 2017-05-02 22:13 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: stanleycheung at google dot com Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Linux or Mac
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stanleycheung at google dot com
New email:
PHP Version: OS:

 

 [2017-05-02 01:59 UTC] stanleycheung at google dot com
Description:
------------
I was not able to upload the latest release 1.3.0 for the extension "grpc". 

After I choose the file grpc-1.3.0RC1.tgz (which I generated using the "pear package" command as usual), the Upload Release web form gave me an error "Error: No file has been uploaded.".

My .tgz file is 2.2Mb which should be well under the limit 16Mb.

Test script:
---------------
- Go to pecl.php.net
- Login
- Choose my .tgz file that I want to upload
- Click Upload
- Got error

Expected result:
----------------
Able to upload new release for package

Actual result:
--------------
Unable to upload new release for package. Got error

"No file has been uploaded"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-02 11:48 UTC] ab@php.net
Hmm, did you verify the package with the pecl cmd? Sometimes there are errors, that might be revelant for the pecl site. Otherwise probably needs someone with the access to the actual host.

Thanks.
 [2017-05-02 17:38 UTC] stanleycheung at google dot com
Yes I verified that I am able to do "sudo pecl install <my .tgz package>" locally in both linux and mac. I actually sent an email with the subject "Trouble uploading new release" with the .tgz package attached. Will someone be able to look at what's wrong with that package?
 [2017-05-02 21:42 UTC] bjori@php.net
Non-text attachments are stripped from the list.

Since there have 3 successful pecl releases since your email (see http://news.php.net/php.pecl.dev), I think there must have been a temporary error somewhere.

Could you please try again?
 [2017-05-02 22:00 UTC] stanleycheung at google dot com
Yes I am aware that other extensions have uploaded newer release since this bug report so the issue could be isolated. But I am more worried to find out why? Why is this particular release not upload-able?

I have tried to upload the previous release (1.2.0) and that actually was successful too (at least the upload form gets to the next screen). So there must be something wrong with this particular grpc-1.3.0RC1.tgz file that the upload form doesn't like and I need to find out why.

I did add some files between the 1.2.0 and 1.3.0 release so the .tgz file size go from 2.1Mb to 2.2Mb. I am hoping that's not the reason why this slight increase in filesize is what causing the upload issue?

I have shared the grpc-1.3.0RC1.tgz file via Google Drive with bjori to take a look.
 [2017-05-02 22:10 UTC] bjori@php.net
That is weird.

Using the .tgz you sent me, I can repro this.
Extracting the archive and re-creating does not help either.

Downloading the latest grpc release, and uploading that however works just fine.


I've got no real idea why that is.
I don't see anything immediately wrong in the package.xml either.

I also tried to recreate the package tgz from the extracted sources (moving the package.xml back into the directory), that file also reproduced the error.


Incidentally, the default php upload filesize is 2Mb.
This latest release is 2.2Mb...

Looks like the server is misconfigured.
 [2017-05-02 22:13 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bjori
 [2017-05-02 22:13 UTC] bjori@php.net
I've updated the apache config to accept up to 16Mb files now.

I verified this to be working by uploading your package (you still need to do so yourself and release), which it accepts now.

Sorry for the troubles!
 [2017-05-02 22:25 UTC] stanleycheung at google dot com
Thanks! That works now. Thanks a lot for the help!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 22:01:31 2024 UTC