Seahub not sending mail invitations

Hi,

I’m on pro 6.2.4.

It looks that this version is not sending email when a guest is invited

I have properly configured invitation and other emails are send.

In the controller.log, i have

/seafile/seafile-pro-server-6.3.2/seahub/thirdpart/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.19.1) or chardet (2.3.0) doesn’t match a supported version!
RequestsDependencyWarning)
/seafile/seafile-pro-server-6.3.2/seahub/thirdpart/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.19.1) or chardet (2.3.0) doesn’t match a supported version!
RequestsDependencyWarning)
[INFO]2018-09-11 13:05:58 PID 4387: Acquiring lock for sending queued emails at /tmp/post_office.lock
[INFO]2018-09-11 13:05:58 PID 4387: Started sending 0 emails with 1 processes.
[INFO]2018-09-11 13:05:58 PID 4387: 0 emails attempted, 0 sent, 0 failed

Any idea or debug info ?

I also have strange email messages to admins

People do log with shibboleth

i have Set

SHIBBOLETH_ACTIVATE_AFTER_REGISTRATION = false

But i do receive 2 mails :

  • pending account activation
  • account activation done

Whereas the user is not activated at all

Sorry for the bug.

ALTER TABLE `seahub-db`.`post_office_attachment`
ADD COLUMN `mimetype` VARCHAR(255) NOT NULL AFTER `name`;

This SQL should fix the problem. We will release a fixed version soon.

Thank you Daniel, it solves the first issue.

But not this one :

Hi @gauburtin,

Can u provide detailed steps to reproduce this issue?

Currently, if SHIBBOLETH_ACTIVATE_AFTER_REGISTRATION = false is set, an inactivated user is created during login, and all system admins will be notified by email with a user link.

When admins click the link, they will be navigated to the user table in the admin panel, where they can manually toggle user status to activate or inactivate.

Sure

Yes, the process i exactly the same,

As an admin, i receive a message (written in english) telling that the account needs to be activated (with the link to do so)

But in the same time, i receive a second message (written in french), telling that the user has been registered (whereas it has not, the user is still waiting for activation)

Seems you’ve set SHIB_ACTIVATE_AFTER_CREATION=False and NOTIFY_ADMIN_AFTER_REGISTRATION=True which will cause the confusion.

Here is the patch which will be included in the next release.
Thanks!

Yes they are both set.
I’ll wait for the next release
Thank you