Ubuntu 16.04 Seafile exited unexpectedly (on mounted decrypted partition)


#1

Hello!
Since one or two months, I am not able to launch seafile client on Ubuntu:

Seafile exited unexpectedly

I have tried to remove everything:

sudo apt purge seafile-gui seafile-daemon seafile-cli etc …

And reinstall with this: (sorry I can’t post links for the moment)

Ubuntu users can install Seafile client from the Official PPA:
sudo add-apt-repository ppa:seafile/seafile-client
sudo apt-get update
sudo apt-get install seafile-gui

I have also tried to launch manually the command: seafile-applet
But:

lang = English, translation = (null), locale.name() = en_US
(process:3992): Searpc-WARNING **: pipe client failed to connect to server: No such file or directory

The result remains the same: Seafile exited unexpectedly.

I don’t know what else I can do or what log can be relevant to find a solution :confused:

Thanks for your help!


#3

Ok, It s working again.
So here are things I have tried:
I have uninstalled seafile-gui : sudo apt purge seafile-gui
I have removed ~/.ccnet and and my seafile folder /media/veracrypt1/Seafile (which is a mounted decrypted container).
If I try to keep this configuration, seafile crashes: Seafile exited unexpectedly
Here are log files:
seafile.log

[12/30/18 14:36:21] seaf-daemon.c(491): starting seafile client 6.2.9
[12/30/18 14:36:21] seafile-session.c(382): client id = XXX, client_name = unknown
[12/30/18 14:36:24] seaf-daemon.c(514): Failed to start searpc server.
[12/30/18 14:36:34] seaf-daemon.c(491): starting seafile client 6.2.9
[12/30/18 14:36:34] seafile-session.c(382): client id = XXX, client_name = unknown
[12/30/18 14:36:34] seaf-daemon.c(514): Failed to start searpc server.

applet.log

[30/12/2018 14:36:19]id file not found, creating it
[30/12/2018 14:36:19]generated new device id xxx
[30/12/2018 14:36:20]starting seaf-daemon: ("-c", “/home/f0cks/.ccnet”, “-d”, “/media/veracrypt1/Seafile/.seafile-data”, “-w”, “/media/veracrypt1/Seafile”)
[30/12/2018 14:36:32]Seafile daemon process exited normally with code 1
[30/12/2018 14:36:34]Trying to restart seafile daemon
[30/12/2018 14:36:34]starting seaf-daemon: ("-c", “/home/f0cks/.ccnet”, “-d”, “/media/veracrypt1/Seafile/.seafile-data”, “-w”, “/media/veracrypt1/Seafile”)
[30/12/2018 14:36:34]Seafile daemon process exited normally with code 1
[30/12/2018 14:36:34]reaching max tries of restarting seafile daemon, aborting

I have tried to purge and to reinstall but this time, I have set my seafile folder here: /home/f0cks

Logs:
applet.log

[30/12/2018 14:42:33]id file not found, creating it
[30/12/2018 14:42:33]generated new device id xxx
[30/12/2018 14:42:33]starting seaf-daemon: ("-c", “/home/f0cks/.ccnet”, “-d”, “/home/f0cks/Seafile/.seafile-data”, “-w”, “/home/f0cks/Seafile”)
[30/12/2018 14:42:34][Rpc Client] connected to daemon
[30/12/2018 14:42:34][Rpc Client] connected to daemon

seafile.log

[12/30/18 14:42:33] seaf-daemon.c(491): starting seafile client 6.2.9
[12/30/18 14:42:33] seafile-session.c(382): client id = xxx, client_name = unknown
[12/30/18 14:42:34] seaf-daemon.c(518): rpc server started.

It seems to work again. Maybe it is the partition type that is the problem (decrypted container). But it was working before so …
I leave this here, maybe it can help someone in the same situation.