The script does not work in "the light of dawn"

Good day everyone.
I’m just starting to learn TrinityCore, but have already run into a problem that I can’t handle.
Even if Mograine is near the church, nothing happens.
How can I solve this problem?
The server is installed on Ubuntu 22.04, installed 3.3.5 branch (not master).