502 Bad Gateway après la mise à jour vers la dernière version

Did you follow the advice in PostgreSQL 15 update? You might also vaccuum the database.