File Upload doesn't always work

The file upload capability in the files app doesn’t always work. We have containerized OOD so that the same OOD configuration is used across all our systems, yet the ability to upload files works for some systems and doesn’t for others.

I’m seeing nothing the logs (httpd or passenger) that even indicates that the file transfer occurred (successful or not). Where should I look in the system config to help diagnose why it doesn’t work on some systems? Is there some level of debugging I can enable on the file manager app to see where things are failing?

We are using OOD v4.0.6

UPDATE: it seems to be allowing very small files to be uploaded, but nothing larger than 2-3k. I explicitly set the nginx_file_upload_max to a large number (the default number in the nginx_stage.yml file), but it made no difference.

The /tmp directory in the container has 777 permissions and is sufficiently large to hold any of the files I’ve tried, so that shouldn’t be the issue.

Seems like you should see errors either in apache or /var/log/ondemand-nginx/$USER/error.log.

What’s in the developer tools when you try to upload things? I’m looking for specifically the response code for the POST to upload and/or errors in the console.

Follow-up: it was the F5 load balancer/application firewall that was causing the problem. It is set up to block certain file types and other ‘inappropriate’ URLs – unfortunately, those error messages were not making it through the app into any logs – we had to look at things in developer mode on the client side to see the error.