New local and remote media attachments were broken by the update to Mastodon 2.6.1. We've now applied a configuration change that fixed the issue. This could also have prevented local users from following remote users under some circumstances.