We have overridden the media model in the config file, to use one of our custom Media models that use a different connection string. What we have found is that when we click on the download icon to download the media that was uploaded, the DownloadController still utilises the base Spatie\MediaLibrary\MediaCollections\Models\Media instead of utilising the one referenced in the configuration. Which then causes the download to fail as it cant find the file.
We have overridden the media model in the config file, to use one of our custom Media models that use a different connection string. What we have found is that when we click on the download icon to download the media that was uploaded, the DownloadController still utilises the base Spatie\MediaLibrary\MediaCollections\Models\Media instead of utilising the one referenced in the configuration. Which then causes the download to fail as it cant find the file.