I have a binary setup of Seafile 11 that has been working normally and well for a long time. The users are retrieved from an LDAP server. Since the LDAP migration in version 11, every LDAP user is also listed under Database. The same applies to lower LDAP. But the list under LDAP (Import) is empty.
I converted this to a Docker deployment, which also works without problems. There is one difference, however: in the binary setup, the social_auth_usersocialauth table is empty; in the Docker setup, after an LDAP user logs in, a record is written to this table if it doesn’t already exist. The username and uid columns are identical; they are the user’s email address.
In the system administration, I no longer see the LDAP user I logged in with under Users, LDAP, but I can see it under LDAP (Import). Groups and libraries are identical to the binary setup.
After upgrading the Docker setup to version 12, I can still log in with the LDAP user, but Seafile no longer recognizes it as the same user and creates a new library called “My Library.” When I look in the social_auth_usersocialauth table, the previous user has been deleted and a new one has been created with the value edfc631e24ca4d568d77f7b3b9351e7f@auth.local in the username column. This column contains the previous email address.
In the system administration, under Users, Database, I only see the two users who have already logged in. The LDAP user I logged in with is missing under LDAP, but it is listed under LDAP (Import). And the user with @auth.local is listed under LDAP.
What kind of mechanism is this?
I use a local user for system administration. When I log in with this user and try to access the “My Library” library, I get the error: The sharing permissions for the library were not found.
When I switch to the system administration, I can see that far fewer libraries are displayed than before. There are no longer any groups. The LDAP user I previously logged in with is no longer listed under Users.
What I noticed: When I first start the container with version 12, this error message appears three times:
seafile-mysql | 2025-10-24 14:54:42 6 [Warning] Aborted connection 6 to db: ‘seafile_db’ user: ‘seafile’ host: ‘172.18.0.4’ (Got an error reading communication packets)
seafile-mysql | 2025-10-24 14:54:42 7 [Warning] Aborted connection 7 to db: ‘seahub_db’ user: ‘seafile’ host: ‘172.18.0.4’ (Got an error reading communication packets)
seafile-mysql | 2025-10-24 14:54:45 8 [Warning] Aborted connection 8 to db: ‘seahub_db’ user: ‘seafile’ host: ‘172.18.0.4’ (Got an error reading communication packets)
However, database access works after this.
I can’t offer this to my customer. Do I have to stay on version 11?