Skip to content

Diagnostics ​

The Diagnostics page at /mediaflow/diagnostics shows how MediaFlow sees your server and lets you test a storage disk.

Environment report ​

GET /mediaflow/diagnostics/info returns:

FieldMeaning
php_version, laravel_versionRuntime versions.
gd_supported, imagick_supportedImage extensions that are loaded. MediaFlow uses GD.
webp_supportedWhether GD can write WebP. Without it, images are kept as JPEG or PNG.
s3_driver_installedWhether league/flysystem-aws-s3-v3 is available for cloud providers.
default_disk, temporary_disk, delivery_driverActive storage and delivery settings.
max_file_size_kb, allowed_mimes_countUpload limits in effect.
queue_processing, ui_enabledReserved flags.

Storage probe ​

POST /mediaflow/diagnostics/test with disk writes a small probe file, reads it back to verify its contents, deletes it and reports the result. Only disks defined in config/filesystems.php are accepted.

js
await fetch('/mediaflow/diagnostics/test', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', Accept: 'application/json', 'X-CSRF-TOKEN': token },
  body: JSON.stringify({ disk: 'public' }),
})

From PHP, MediaFlow::testStorageConnection('public') runs the same probe. For cloud credentials that are not saved yet, use the provider test on the Settings page.

Admin only

Diagnostics reveal server details. Keep MediaFlow restricted to administrators; see Access Control.

Released under the MIT License.