Failed to get system bot

Since migrating my Docker Team Edition Install to PostgreSQL I see the following error repeating in the logs:
“caller”: “app/post.go:2164”,
“error”: “SqlBotStore.Get: Bot does not exist., resource: Bot id: iyu5tpwcn7dt5e5641nyncm4br”,
“level”: “error”,
“msg”: “Failed to get system bot”,
“timestamp”: “2023-08-03 06:55:00.008 Z”

Channels with unread message are not shown in bold text anymore. Otherwise everything else seems to work.

Ticket: [MM-53917] - Mattermost