How to filter "do not contact" contacts?

Your software
My Mautic version is: 3.2.2
My PHP version is: 7.4.3
My Database type and version is:

Your problem
My problem is: I need to filter “do not contact” contacts, who unsubscribed from “email” channel and add them to a specific segment, how do I do that?

These errors are showing in the log:

Steps I have tried to fix the problem: I’ve tried to create a segment and add the following filters to it “Unsubscribed - email” or “Unsubscribed manually email” or “Bounced”, but the segment just keeps being empty

are you running mautic:segments:update command via ssh or via cron job?