thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

[BUG] Uploading stops in Media manager #3978

Closed mhmelshaaer closed 3 years ago

mhmelshaaer commented 5 years ago

Version information

Description

Any file uploading that is greater than approximately 1.7MB, the uploading stops after that, giving no errors in the browser console. How do I know that it stops uploading? using network speed watcher. However, file and image uploading works fine anywhere else, whether in the admin panel or in the main website. Also, it's working fine on my local machine(Ubuntu 16.04 - php 7.2 - MySQL-5.7.25-0ubuntu0.16.04.2).

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Media manager'
  2. Click on 'Upload'
  3. Select any file (ex: image), with size greater than 1.9.
  4. You will see the uploading green bar starts growing till it suddenly stops.

Screenshots

laravel-voyager

emptynick commented 5 years ago

What are your php.inis upload_max_file_size and post_max_size?

mhmelshaaer commented 5 years ago

I've updated the version info section with those variables, would you check. I would remind you that uploading is working anywhere else and also no errors is thrown.

emptynick commented 5 years ago

You have any errors in your browser-console?

mhmelshaaer commented 5 years ago

No errors no warnings.

mhmelshaaer commented 5 years ago

@emptynick any help !?

emptynick commented 5 years ago

Not really. Anything in your logs? Either laravels or phps?

mhmelshaaer commented 5 years ago

Nothing

emptynick commented 5 years ago

Then I honestly have no idea how I could help you

emptynick commented 5 years ago

Did you try with v1.2?

mhmelshaaer commented 5 years ago

No, I will try this.

tnylea commented 5 years ago

@MouhammedElshaaer Any update on this? Were you able to solve it?

Additionally, are you using local storage or are you using s3 storage?

mhmelshaaer commented 5 years ago

Nothing really, cause we are working on v1.1. Since we are in staging, I just can't upgrade now. Also, the issue is not reproduced locally so, I have to wait for now, but I will update here any changes when upgrading. For the storage part, I'm using local storage.

fletch3555 commented 5 years ago

I seriously doubt this is related to Voyager in any way. Most likely it's a configuration issue with your server (php and/or webserver). This answer should help shed some light on why @emptynick asked about those php.ini values before: https://stackoverflow.com/a/578226

mhmelshaaer commented 5 years ago

If it's an issue with the server configurations, there would be an issue in the uploading generally, which is not the case, as I mentioned in the description,

However, file and image uploading works fine anywhere else, whether in the admin panel or in the main website.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.