seafile社区版7.1.4邮件功能不稳定

当我连续使用邮件邀请访客的时候,邮件就会出现异常,需要重启seahub.sh服务才能发送了,如果不连续不会出现问题;这个要怎么解决呢?

我们先复现下这个问题。

不能复现这个问题。你看下 seahub.log 日志中有没有对应的错误信息?

2020-12-19 01:59:48,716 [WARNING] django.request:152 get_response Not Found: /f/2312cf927b9e4fdebe15/ sorry this is the link for the first
2020-12-19 01:59:49,040 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-19 03:06:50,287 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-19 06:26:58,527 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-19 06:34:49,992 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-19 06:34:50,526 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-19 10:31:30,946 [WARNING] django.request:152 get_response Not Found: /api/v2.1/invitations/6fcb9d374a824323b30f0aac1c6ac8d1/
2020-12-19 12:19:54,116 [WARNING] django.request:152 get_response Not Found: /api/v2.1/invitations/1b9ba3d56a1e41fdb15447ff54d0ee17/
2020-12-20 02:44:24,731 [WARNING] django.request:152 get_response Not Found: /seafhttp/protocol-version
2020-12-20 08:02:14,024 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-20 11:50:39,649 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-20 14:53:49,394 [WARNING] django.request:152 get_response Not Found: /seafhttp/protocol-version
2020-12-21 00:53:25,004 [WARNING] django.request:152 get_response Not Found: /seafhttp/protocol-version
2020-12-21 02:45:10,221 [WARNING] django.security.csrf:160 _reject Forbidden (CSRF cookie not set.): /f/2dc47f0c71734fb49332/
2020-12-21 02:45:10,519 [WARNING] django.security.csrf:160 _reject Forbidden (CSRF cookie not set.): /f/2dc47f0c71734fb49332/
2020-12-21 02:45:10,693 [WARNING] django.request:152 get_response Not Found: /f
2020-12-21 03:05:15,976 [WARNING] django.request:152 get_response Not Found: /seafhttp/protocol-version
2020-12-21 03:34:58,944 [WARNING] seahub.auth.views:152 login Login attempt limit reached, show Captcha, email/username: zhangyang, ip: 10.20.2.163, attemps: 5
2020-12-21 03:35:23,319 [WARNING] seahub.auth.views:152 login Login attempt limit reached, show Captcha, email/username: zhangyang@shining3d.com, ip: 10.20.2.163, attemps: 6
2020-12-21 03:35:51,585 [WARNING] seahub.auth.views:152 login Login attempt limit reached, show Captcha, email/username: zhangyang@shining3d.com, ip: 10.20.2.163, attemps: 7
2020-12-21 03:45:31,887 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-12-21 06:12:56,400 [WARNING] django.request:152 get_response Not Found: /api/v2.1/invitations/d1479d31104a4f829886362c055d9144/
2020-12-21 06:13:44,688 [WARNING] django.request:152 get_response Not Found: /api/v2.1/invitations/3ba3a483ef9047d5b57c1a717f08a277/
2020-12-21 06:13:47,889 [WARNING] django.request:152 get_response Not Found: /api/v2.1/invitations/3ba3a483ef9047d5b57c1a717f08a277/

我看了下日志,没有报错日志,但问题会复现!

这个应该是第三方库做了一个到邮件发送的连接池导致的。我们会修复下这个问题。

这个问题修复我们在哪里可以查到?

你用最新的 8.0 版本就没有这个问题了。