502 Bad Gateway na update naar de nieuwste versie

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