I started getting errors after I turned on Drupal's performance improvements which pack all the CSS and JS files into single files. The error looks like this:
The selected file /tmp/fileO4fjBF could not be uploaded, because the destination js/js_8a69e612be02242c2866a4a19223bd12.js is not properly configured.
I'm not sure how I should configure my server for this to work correctly. There is nothing in the documentation about this.