"Remove orphans" task fails to complete 4.1.3 + 4.2.0rc1

Can you check the pulpcore-api logs? journalctl -u pulpcore-api to see what is triggering that 500 ISE in pulp?