I am not able to get file uploads of any type to work on my Drupal instance when I attempt to add media using the built in form. When I upload an image file, I get:
And looking at the log messages in Drupal I see:
The upload directory ://2022-05 for the file field field_media_image_private could not be created or is not accessible. A newly uploaded file could not be saved in this directory as a consequence, and the upload was canceled.
I do not understand where the path :// comes from. I would have expected it to be something like public:// or private:// but not just ://. I already tried editing settings.php to make sure that my private and public files directories are relative and not absolute paths, and also set 777 permissions for testing in Linux.
What else could be the source of this issue? What else can I check?