Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using module: https://drupal.org/project/filefield_nginx_progress on a clean Drupal 7.26 Followed all instructions from the main page
Recompiled nginx 1.4.4 with http://wiki.nginx.org/HttpUploadProgressModule nginx -V shows the module
Now when i try to upload a file it just hangs on "Starting upload..." then i get the error:
An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (200 MB) that this server supports.
Though file is just 5mb
In watchdog i am getting the error:
page not found
http://domain.com/progress
Comments
Comment #1
RedRat CreditAttribution: RedRat commentedIt seems that your nginx doesn't process /progress location. Look at log file for /process URL or post here part of nginx config related to /progress location.
Comment #2
Kristina Katalinic CreditAttribution: Kristina Katalinic commentedI am having the exact same issue. @Heihachi88 perhaps you found a solution that you can share with us?
@RedRat Here is my vhost configuration:
Additionally my nginx.conf file contains a zone for uploads as instructed in module readme file
upload_progress uploads 1m;
I installed the nginx upload progress module using nginx-extras install so I am not sure if the only thing that keeps coming up in nginx error.log Using 32768KiB of shared memory for push module in /etc/nginx/nginx.conf:77
Has anything to do with the issue at hand.
Access.log displays following:
Hopefully this will help resolve the issue. If you need anything else just let me know.
And thanks for looking into it :)
Kristina
Comment #3
Kristina Katalinic CreditAttribution: Kristina Katalinic commentedHi,
This is in fact an issue with our nginx configuration and not this module. Since last reporting this issue I changed my nginx configuration to use https://github.com/perusio/drupal-with-nginx and filefield_nginx_progress is working like a charm so I am going to mark this as fixed (works as designed) so its not distracting the contributors from issues that are in fact related to this module and not our own poor nginx configurations.
Comment #4
MustangGB CreditAttribution: MustangGB commentedThought I was having a similar issue to this, turns out the issue I was having was #1220826: Not working when multiple values is allowed for file field.
However it was compounded because when I was manually visiting
http://www.example.com/progress
it responding with404 Not Found
so I thought it was an Nginx config issue, however for future referencehttps://www.example.com/progress?X-Progress-ID=1
does return json as expected.