-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seafile Drive Client removes account when server temporarily unavailable #2822
Comments
Hello @phiradd , can you show the seahub.log and seafile.log from the seafile server when the account was deleted? |
@feiniks Sure. Here are the log entry snippets around that time. Thanks for your help. Seahub.log
seafile.log
|
Hello @phiradd , based on the logs, it seems this error occurred due to a database disconnection. Since the database could not be reached, the system was unable to verify the user's existence, resulting in a 401 response. The failure to connect to the database was likely caused by the NAS being unreachable, preventing MySQL from reading the local data. However, a 401 response may not be appropriate in this case, and we will look into optimizing this issue. |
@feiniks Thank you very much for your insights. The db runs on the same NAS as the seafile server. Admittedly, there is probably too much running on the NAS, such that the db did not respond in time for the request as the NAS was busy with other stuff. I will upgrade the NAS eventually. Is there a config where I can increase the timeout for the database connection to make it more likely that this issue does not come up that often? |
Hello @phiradd, the client timeout for MySQL is set to the default and cannot be configured. |
I have got a seafile server running in a docker container on a QNAP NAS with the default configuration files (I have not changed any settings yet). It works very well but I have an issue whenever the NAS is not reachable, the account is removed from Seafile Drive Client 3.0.10 on Windows 10, so that I have to relogin and put in all data for that. That is really annyoing. (It is only available in my local network).
Is there any way not to remove the account and just reconnect on server availability? I could not find anything in the configs.
I have changed some sensitive pw/paths in the logs/docker-compose. Please let me know if you need any other logs/config/info.
Thank you for your help!
seadrive-gui.log
docker-compose.yml
The text was updated successfully, but these errors were encountered: