Filemanager Extension - Error in Production Environment

Hello everyone

in version 2026.6

filemanager extension UserFilePatch = userfiles

in General Options Upload Folder = app/files/

on localhost it works correctly but in production it gives an error

// File upload 'UPLOAD_TEMP_PATH' => "", // Upload temp path (relative to Local file system root) 'UPLOAD_DEST_PATH' => "app/files/", // Upload destination path (relative to Local file system root) 'UPLOAD_TEMP_FOLDER_PREFIX' => 'temp__', // Upload temp folders prefix 'CURRENT_UPLOAD_TEMP_FOLDER_TIME_LIMIT' => 5, // Current upload temp folder time limit (minutes) 'UPLOAD_TEMP_FOLDER_TIME_LIMIT' => 1440, // Upload temp folder time limit (minutes) 'UPLOAD_THUMBNAIL_FOLDER' => 'thumbnail', // Temporary thumbnail folder 'UPLOAD_THUMBNAIL_WIDTH' => 200, // Temporary thumbnail max width 'UPLOAD_THUMBNAIL_HEIGHT' => 0, // Temporary thumbnail max height 'UPLOAD_ALLOWED_FILE_EXT' => "gif,jpg,jpeg,bmp,png,doc,docx,xls,xlsx,pdf,zip", // Allowed file extensions 'IMAGE_ALLOWED_FILE_EXT' => "gif,jpe,jpeg,jpg,png,bmp", // Allowed file extensions for images 'DOWNLOAD_ALLOWED_FILE_EXT' => "csv,pdf,xls,doc,xlsx,docx", // Allowed file extensions for download (non-image) 'ENCRYPT_FILE_PATH' => true, // Encrypt file path 'MAX_FILE_SIZE' => 999999999, // Max file size 'MAX_FILE_COUNT' => null, // Max file count, null => no limit 'IMAGE_CROPPER' => false, // Upload cropper 'THUMBNAIL_DEFAULT_WIDTH' => 100, // Thumbnail default width 'THUMBNAIL_DEFAULT_HEIGHT' => null, // Thumbnail default height 'UPLOADED_FILE_MODE' => 0666, // Uploaded file mode 'USER_UPLOAD_TEMP_PATH' => '', // User upload temp path (relative to app root) e.g. 'tmp/' 'UPLOAD_CONVERT_ACCENTED_CHARS' => false, // Convert accented chars in upload file name 'USE_COLORBOX' => true, // Use Colorbox 'MULTIPLE_UPLOAD_SEPARATOR' => ',', // Multiple upload separator 'DELETE_UPLOADED_FILES' => false, // Delete uploaded file on deleting record 'FILE_NOT_FOUND' => '/9j/4AAQSkZJRgABAQEASABIAAD/7QAuUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAABIcAigADEZpbGVOb3RGb3VuZAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////2wBDAf//////////////////////////////////////////////////////////////////////////////////////wAARCAABAAEDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAP/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AKAA/9k=', // 1x1 jpeg with IPTC data '2#040'='FileNotFound' 'CREATE_UPLOAD_FILE_ON_COPY' => true, // Create upload file on copy

some solution

It must be related to something with Windows and Linux in the way the path is interpreted.

What you posted is configuration, not error message. What is the error message?

Make sure the folder "app/files/userfiles" exists on your server and you have granted write permission to the "app/files/" folder (and its subfolders).

You better:

  1. Turn on Log to File (production),
  2. Upload the src/config.php to your production server,
  3. Clearing Symfony Cache
  4. Upload via the file manager again.
  5. Check the log file for detailed error message.