No more email notifications

Hi everyone !

Our server hosts 21.0.1 version of Nextcloud.
Since several weeks email notifications don’t work anymore when a file is uploaded in a shared folder.

Here is an example of my activity parameters :

Email notifications worked well some weeks ago, what do I have to check to solve this problem ?

Some fatal errors appear in logs but I don’t know if it can be the source of my problem :

Here is my root crontab :
*/2 * * * * sudo -u www-data php -f /var/www/html/


The second error on your error log indicates that your server is in maintenance mode (it doesn’t accept new file). Check that you’re not in that state maybe. See Using the occ command — Nextcloud latest Administration Manual latest documentation

Also can you check you email server settings ? (Settings → basic settings → email server). Use the ‘test email settings’ and look at the email of your nextcloud account. If you don’t receive anything there is a problem on this part :).