haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
471 stars 279 forks source link

Unable to initialize && segementation fault #1057

Open delijati opened 6 years ago

delijati commented 6 years ago

Logs:

[01/09/18 12:40:30] seaf-daemon.c(558): starting seafile client 6.1.2
[01/09/18 12:40:30] ../common/mq-mgr.c(60): [mq client] mq cilent is started
[01/09/18 12:40:30] ../common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seafile.heartbeat
[01/09/18 12:40:30] repo-mgr.c(6582): Removing store /home/foo/Seafile/.seafile-data/deleted_store/fs/16857119-cf5c-4319-8424-6c7bfb9f4750
[01/09/18 12:40:30] clone-mgr.c(847): Transition clone state for 16857119 from [init] to [check server].

After "Unable to initialize"

 % seafile-applet                   
[1]    4990 segmentation fault  seafile-applet

After removing ccnet:

% seafile-applet  
done
Successly create ccnet config dir /home/goo/.ccnet.

** (seafile-applet:5353): WARNING **: Get log file /home/goo/.ccnet/logs/applet.log stat failed errno=2.

** (seafile-applet:5353): WARNING **: Get log file /home/goo/.ccnet/logs/seafile.log stat failed errno=2.
[1]    5353 segmentation fault  seafile-applet

Logs

% tail -f ~/.ccnet/logs/seafile.log
[01/09/18 12:46:17] wt-monitor(706): [wt mon] add watch for repo c19db602-ce18-45aa-a40d-064879bab761
[01/09/18 12:46:17] wt-monitor(59): send a watch command, repo fc7d5140-1d0e-42dc-b9dd-26cbed932e62
[01/09/18 12:46:17] wt-monitor(534): Watching /home/foo/Seafile/BooShare.
[01/09/18 12:46:17] wt-monitor(534): Watching /home/foo/Seafile/BooShare/audiobook.
[01/09/18 12:46:17] wt-monitor(534): Watching /home/foo/Seafile/BooShare/audiobook/1984_George_OrwellAudio_Book.
[01/09/18 12:46:17] wt-monitor(534): Watching /home/foo/Seafile/BooShare/audiobook/Tschick.
[01/09/18 12:46:17] wt-monitor(180): Adding event: scan dir,  
[01/09/18 12:46:17] wt-monitor(706): [wt mon] add watch for repo fc7d5140-1d0e-42dc-b9dd-26cbed932e62
[01/09/18 12:46:17] repo-mgr.c(6582): Removing store /home/foo/Seafile/.seafile-data/deleted_store/fs/16857119-cf5c-4319-8424-6c7bfb9f4750
[01/09/18 12:46:17] clone-mgr.c(847): Transition clone state for 16857119 from [init] to [check server].

After deleting also /home/foo/Seafile/.seafile-data/deleted_store/fs/16857119-cf5c-4319-8424-6c7bfb9f4750 and reinitializing i get a "Transport errror" with no logs on the client $$ server.

delijati commented 6 years ago

In a ubuntu 16.04 LTS it still works.

thomaseizinger commented 6 years ago

Same thing happened to me after upgrading to Ubuntu 17.10. Removing and reinstalling seafile-gui fixed it for me.

mhingston commented 6 years ago

Same issue on Arch Linux. Have tried rebuilding (including dependencies) and removing all the config files.

** (seafile-applet:1308): WARNING **: Get log file /home/foo/.ccnet/logs/seafile.log stat failed errno=2.
Segmentation fault (core dumped)
damien022 commented 6 years ago

Same problem for me, running Ubuntu 16.04 and client 6.1.2. Running seafile-applet with sudo works, so it might be a permissions issue... Anyone has had any luck fixing it?