Seafevents sending E-Mail Error (Other Mail Notifications are OK)

Hi there,

aber upgrading from Seafile 10.0.1 to Seafile 11.0.5, I am constantly getting the following Error Messages from seafevents.
other mail events like sending password reset ord registrarion mail ist working well.
Any Idea what could be the cause?

[2024-02-05 09:45:13,365] [ERROR] send file updates email error: [Errno 2] No such file or directory: '/proc/155/fd/file_updates_sender.log'
Traceback (most recent call last):
  File "/home/seafile/seafile-server-11.0.5/pro/python/seafevents/tasks/", line 54, in run
    with open(self._logfile, 'a') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/proc/155/fd/file_updates_sender.log'

My Config is set as following:

password = ...
type = mysql
host = mariadb
port = 3306
username = ...
name = seahub_db

interval = 1440m
enabled = False

## interval of sending Seahub email. Can be s(seconds), m(minutes), h(hours), d(days)

# Enable statistics
enabled = False

 enabled = False 
 interval = 1440m 
 seafesdir = /home/seafile/pro-data

Do you use Seafile Docker version or a native package?

Your question led me to the right solution.

I figured out that the error had something to do with the " file_updates_sender.log"
My Seafile Instance runs in a Kubernetes Environment. To make all logs send to an external log server, i’ve linked all logs to /dev/stdout.

But it seems that the script requires the log for some purpose. This behavior is something I did not expect due to logs should only be processed in one direction in normal production mode (write it and leave it for a certain amount of time).

Finally I’ve created regular logfiles instead of linking to stdout.