The error was a migration issue upstream. More info is at:
https://github.com/monicahq/monica/issues/1626
https://github.com/monicahq/monica/pull/1673
https://github.com/monicahq/monica/issues/1667
https://github.com/monicahq/monica/issues/1667#issuecomment-411673213