504 Bad Gateway Error

You have changed your certificate:

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2019-09-02 2019-12-01 biblio.chuo.fm, chuo.fm, library.chuo.fm, www.chuo.fm - 4 entries duplicate nr. 1
Let's Encrypt Authority X3 2019-07-16 2019-10-14 biblio.chuo.fm, chuo.fm, library.chuo.fm, new.chuo.fm, www.chuo.fm - 5 entries

Old: 5 domain names. New: 4 domain names. So you have created a new certificate manual, so you have to install it manual.

See your older topics -> certbot certificates to see the file names, then change the two or three lines in your port 443 vHost, then restart your webserver.