Matrix died overnight for us after the 1.145.0 update (Synapse 1.163.0) with this in the logs every 15 seconds:
Synapse 1.163.0 needs beautifulsoup4 for url-preview, but it is not installed
I fixed it for now by editing configs/homeserver.yaml to switch url_preview_enable off.
Could you add beautiful soup to the package so URL previews will work again?