After upgrading from Magento 2.3.7-p2 to Magento 2.4.3-P1 I can't upload images, in Magento admin, I get this error message: The file was not uploaded
In var/log/exception.log
file, i see this error:
main.CRITICAL: The file was not uploaded. {"exception":"[object] (DomainException(code: 666): The file was not uploaded. at ../../../vendor/magento/framework/File/Uploader.php:228)"} []
I am using an Apache 2.4 server, with Linux CentOS 7.9 and PHP 7.4.28
I already checked folder permissions and in theory, they are well configured.
If someone knows how to solve it, I appreciate it.
Thank you