Here's an update on my progress thus far :-)
The $tempdir variable continues to be an issue for me on versions 9.8 and 10.0 with the Uppy uploader.
Files uploaded with Uppy do not make it into the filestore when $tempdir variable is set. The user is redirected to the "Refine metadata" (edit.php) with the "Preview Unavailable" and no files etc..
I've double-checked folder permissions and have tried moving the tmp directory to different places /var/www/html/tmp, /var/tmp etc...
I also created several test installations on normal systems. (No docker or reverse proxy used) One dedicated server, one digital ocean vm, and one linode vm. All running PHP 8.1 Ubuntu 20.04.4 LTS, MariaDB-1:10.6.4.
The issue continues to persist across all installations of 9.8 and 10. No errors appear in the rs, php error logs.
RS version 9.7 is the only version I have been able to use with Uppy and the $tempdir variable set. Has anything changed after 9.7 regarding how files are handled when $tempdir is set?
Given how many installs I have tested with this error, has anyone else encountered this issue yet?
I'll continue testing other environments and examine the code to see if it can be narrowed down to a specific version of PHP, Ubuntu/linux etc...
I thought it was related to reverse proxy at first but that doesn't seem to matter.
I'll keep you posted!
Best Regards,
Brian