A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
plugins-topic
File Uploader - on large upload (300MB file), progress bar restarts and upload ultimately fails
Avatar
Les Smith
18 Posts
(Offline)
1
May 3, 2018 - 1:10 pm
Print

Client is trying to upload about a 300MB video with the file uploader plugin. It goes for a while, hits about 40%, and then the progress bar starts over. Then it eventually gets a really vague error message (HTTP error: Upload URL might be wrong or doesn’t exist.) and fails. Nothing is written to WordPress’s debug.log.

I noticed the scripts explicitly sets a 5 minute limit. I bumped this to 15 but it doesn’t seem to have affected anything.

Thoughts? Ever seen this?

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
2
May 3, 2018 - 11:19 pm
Print

what do you have set on the server for max upload size?  and max post size?

Avatar
Les Smith
18 Posts
(Offline)
3
May 3, 2018 - 11:57 pm
Print

512MB but 128MB for max_post_size. I thought I had updated that but clearly not. Let me get in touch with the host (this shared host instance seems capped at 128 w/o some other help) and update this issue if it’s still a problem.

Avatar
Les Smith
18 Posts
(Offline)
4
May 4, 2018 - 3:46 pm
Print

I had updated it, just not where I thought I had. A phpinfo within the upload script shows upload_max_filesize 512M and post_max_size 550M

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
5
May 4, 2018 - 4:30 pm
Print

And what about the allocated php memory and cpu time settings?  With such a large file, either could be exhausted too… 

Have you checked.the server error log for any more info? 

Avatar
Les Smith
18 Posts
(Offline)
6
May 4, 2018 - 4:54 pm
Print

Memory limit 512MB. I’m not familiar with cpu timeout (or at least worded that way), but the upload scripts explicitly puts 5 minutes, and in timing the whole process I haven’t found things to fall consistently.

It’s a shared hosting instance so I don’t have direct access to server error logs, but the GoDaddy folks seem to think things look fine. They did send over an apache log, but I have a feeling it was for the wrong domain…I can give that another try if this isn’t an issue you’re familiar with.

I will say that was my original concern, considering it’s a 500 error and nothing is being written to WordPress’s debug.log.

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
7
May 4, 2018 - 10:42 pm
Print

I would think 512MB is enough… checked on cpu time because most php installs default to 30 sec…

some 500 errors do get logged in the php error log vice the wp debug log…  apache log wont be much good…  and usually not in our log either on forum – toolbox – error log, but might be worth checking…

Avatar
Les Smith
18 Posts
(Offline)
8
May 7, 2018 - 2:55 pm
Print

Nothing in the SimplePress error log. Did find this in environment re: my PHP settings:

Version: 7.1.14
Memory: 512M
Max Upload: 1G
Timeout: 800

So that all seems square, and I’ve tinkered with the timeout to give it longer. I guess I can get on with GoDaddy again to review error logs.

Avatar
Yellow Swordfish
Glinton, England

16436 Posts
(Offline)
9
May 7, 2018 - 3:53 pm
Print

The server php error log seems like the place to look.
You might want to check out your php /tmp folder as well and make sure there are no restrictions there as commonly plupload will copy the image to the ./tmp folder and then move it to the desired location.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
David Hnát
Gary Lee
Glen Stewart
Rodney Pacis
kent black
Robert Meharg
test test
narek amprachamian
Forum Stats:
Groups: 7
Forums: 17
Topics: 10065
Posts: 79362

 

Member Stats:
Guest Posters: 607
Members: 16922
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
10
Currently Browsing this Page

1 Guest(s)