If you have added subfolders to the custom_php_files folder, the up/up2 upgrade procedure generates the following error: PHP Warning: copy(): The first argument to copy() function cannot be a directory