David Kimura PRO said 7 months ago :
You may need a rake task to run on the blobs. In the Rails console, look up a Blob that was uploaded.
ActiveStorage::Blob.first.service_name
It will likely return something like
local

Whatever you have set for the name in the storage.yml will be what you need to set for the service_name. You can bulk update this with something like
ActiveStorage::Blob.update_all(service_name: 'contabo')
Where, in this example, contabo would be the top level key name of the service in the storage.yml.