Seafile client : impossible connection

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

12.0.6

What app is this about

Seafile

Describe your issue

Hello,

I want to remove nextcloud and use seafile. So, I installed Seafile without errors during installation. I can access it in my browser with my id and password.

Now I would like to install a client (on my computer, my phone…) to synchronize my files. But I can’t connect with any client. Seafile is installed on https://mydomain.abc/seafile. When I try to connect on the client, I add the server address, my email, my password and the pc-name. When I click on “connect”, it says “Impossible to connect”.
If I try with the “single authentication” option, the message is : ”Failed to get server info. Please check the server address.”. But the server address is the good one.

Any ideas to make it work?

Thanx.

Share relevant logs or error messages

https://paste.yunohost.org/pemuyofuki

Hi everyone! I’m facing a similar issue and I’m trying to understand how the integration between Seafile and Yunohost works.

Initially, I couldn’t connect to my Seafile server using Yunohost SSO, receiving an error stating that “new user registration is not allowed.” To resolve this, I enabled guest access for Seafile, which allowed me to log in through both the web app and clients (Android/Linux).

However, I encountered another problem when trying to connect via WebDAV, which repeatedly said “user not recognized.” It was frustrating that my Yunohost SSO wasn’t working properly.

After researching, I found this link that mentions Seafile needs to create new users from LDAP. So, I changed the setting REMOTE_USER_CREATE_UNKNOWN_USER to true. This change allowed me to connect using Yunohost SSO and mount WebDAV successfully.

Once I removed the guest access, I was able to log in with my SSO account, but it was a new account instead of the old one. Now, both accounts coexist. While the WebDAV connection still works, I can’t connect via the Seafile clients anymore.

It seems from here that seafile needs a first connection as guest, to copy the account from ldap, and then re-enable Yunohost SSO. But it doesn’t work for me : SSO is ignored as long as the app is open to guests.

But I think the client connection issue might be related to the removal of the guest access, which likely disables connections from external sources that are not using Yunohost SSO. Do you know how I can make everything work together smoothly?

I have also been unable to successfully log in as an admin.

Thank you for your help!

Hello,

About the sso I merged some fix related to theses issues in testing yesterday. I’ll merge in master next week.

And for the client connection issue, can you check that the app is installed as public, so the visitor group should be allowed on the main app permission. This is mandatory to make the client working.

1 Like

OK, i didn’t install Seafile as public. It’s the solution, now the pc client works!
Thanx.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.