Why use synchronous_standby_names = 'barman_receive_wal' will cause database aberrant?
I see you've set up PostgreSQL to push WAL files to barman via archive_command - is barman also set up for WAL streaming? If that's not the case, there will be no synchronous standby with the name barman_receive_wal and hence any writes to the primary will not succeed, as PostgreSQL is waiting for a standby commit confirmation which never arrives.