When I had this problem two things I did fixed this issue
1-Turn off the container, then Run the "Docker Safe New Perms" on the TOOLS section of Unraid
2-Add the line 'check_data_directory_permissions' => false, in the config.php file in the config directory
/mnt/user/appdata/nextcloud-ffmpeg/config