Why don't alerts and notification sounds work?

test messages, mail, and calendar alerts don't make a sound and banners don't appear when phone is locked
Re: why don't alerts and notifiaction sounds work

Make sure Do Not Disturb is disabled.

Swipe up from the bottom of the screen and make sure the moon icon is off. Also when you are on DnD there is a moon icon in the top status bar.
In addition, go to Settings - Notifications and double check the settings.

Original thread: https://forums.imore.com/threads/why-dont-alerts-and-notification-sounds-work.334036/