Warning: disk_free_space(): No such file or directory

Hello, I have a fresh Omeka S 4.1.1 set in development mode (SetEnv APPLICATION_ENV “development” in .htaccess) and I get this warning on the System information screen:

Warning: disk_free_space(): No such file or directory in /home/… { the full path of my server root }…/s/application/src/Controller/Admin/SystemInfoController.php on line 137

When I edit the PHP file as indicated by the message, I see:

// Manage the case where directory "original" is mounted separately.
$freeSpaceOriginal = disk_free_space($freeSpaceFilesDir . '/original');

Do I have to care about this warning?

You don’t have to care about it.

It’s a small bug introduced when we added more detailed reporting on free space, and the error message will go away after you add your first file.

Thank you jflatnes :slightly_smiling_face: