Seadrive Sonoma failed to initalize

Hello,
I have a user who inadvertently updated his Mac to Sonoma macOS version.
When he oppens Seadrive, he gets this error message: “Failed to initialize: failed to install kernel driver”.
Before, it was well working on macOS Ventura with seadrive 2.0.26, but then, after the macOS update, no way to open Seadrive.
We tried to uninstall Seadrive, clean all files, then to reinstall.
We tried with Seadrive 2.0.26, but also with 3.0.7 but nothing work.
It seems to synch library, but the folder “Seadrive” or the disk “seadrive” are empty.
On the seadrive-gui.log, I get this message sometime:
[12/05/23 12:09:27] failed to send rpc call: Broken pipe
[12/05/23 12:09:27] failed to get seadrive.events: Transport Error

We are on 9.0.10 version for the server.

Have you got an idea?

It can be a way: on other users, after update, MacOs ask for permission, but not on this computer…

SeaDrive 3.0.7 should work. Has the user login to the account after running 3.0.7 for the first time? 3.0 version doesn’t share the data/metadata with 2.0 version. So the user has to login again.

You can refer to this help manual: Drive Client for macOS - Seafile User Manual

Hi Jonathan,

after several installs and reinstalls, launches and restarts, I finally got the files.
I tested it on my computer (under Ventura), it was the same: I had to do and redo the operation several times. I think this is not the perfect yet. Maybe an authorization form MacOS?
For both of us, we were on Seadrive version 2.0.26 previously.

Here, some screenshot of errors if it can helps.

Regards, Onésime

Capture d’écran 2023-12-07 à 13.00.27
Capture d’écran 2023-12-07 à 13.04.51
Capture d’écran 2023-12-07 à 13.07.31
Capture d’écran 2023-12-07 à 13.15.44

Seadrive has been unreliable for me since updating to Sonoma.
The app runs, logs in, green tick mark appears, notification advises files are synced and ready but they aren’t accessible in the finder.
Deleting the user account in Seadrive crashes the application with no error message.
Everything is working fine in the web browser.

Seadrive.log

[12/07/23 19:48:01] seadrive.c(535): Starting SeaDrive client 3.0.7
[12/07/23 19:48:01] socket file exists, delete it anyway
[12/07/23 19:48:01] seadrive.c(553): rpc server started.
[12/07/23 19:48:01] FileProviderExtension.m(309): Failed to get account by domain 3c3021efb2a2250a5c4c36f8c5294a88
[12/07/23 19:48:01] FileProviderExtension.m(309): Failed to get account by domain 3c3021efb2a2250a5c4c36f8c5294a88
[12/07/23 19:48:01] FileProviderExtension.m(309): Failed to get account by domain 3c3021efb2a2250a5c4c36f8c5294a88
[12/07/23 19:48:01] FileProviderExtension.m(309): Failed to get account by domain 3c3021efb2a2250a5c4c36f8c5294a88
[12/07/23 19:48:04] start to serve on pipe client
[12/07/23 19:48:04] repo-mgr.c(3554): adding account https://seafile.xxxxx.org xxx@xxx.
[12/07/23 19:48:04] FileProviderExtension.m(319): Failed to get metadata for identifier NSFileProviderRootContainerItemIdentifier
[12/07/23 19:48:04] FileProviderExtension.m(319): Failed to get metadata for identifier NSFileProviderRootContainerItemIdentifier
[12/07/23 19:48:04] FileProviderExtension.m(319): Failed to get metadata for identifier NSFileProviderRootContainerItemIdentifier
[12/07/23 19:48:04] FileProviderExtension.m(319): Failed to get metadata for identifier NSFileProviderRootContainerItemIdentifier
[12/07/23 19:48:04] FileProviderEnumerator.m(480): Failed to get latest sync anchor.
[12/07/23 19:48:04] FileProviderEnumerator.m(480): Failed to get latest sync anchor.
[12/07/23 19:48:05] sync-mgr.c(2310): Cloning repo Family Library(e62b3ef8-41f9-4829-bd68-941b2a67318e).
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Family Library' sync state transition from 'synchronized' to 'get token'.
[12/07/23 19:48:05] sync-mgr.c(2310): Cloning repo My Library(ae76c3ee-c82a-4074-b065-8bcd6dee324a).
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Library' sync state transition from 'synchronized' to 'get token'.
[12/07/23 19:48:05] sync-mgr.c(2310): Cloning repo Villa xxxx(571291b7-025f-4eaf-9d8f-02111f3eb233).
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Villa xxxxx' sync state transition from 'synchronized' to 'get token'.
[12/07/23 19:48:05] sync-mgr.c(2310): Cloning repo Public(43405d7e-0a31-49e9-90ae-7fc3319e7a8f).
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Public' sync state transition from 'synchronized' to 'get token'.
[12/07/23 19:48:05] sync-mgr.c(2310): Cloning repo My Encrypted Library(5370e0de-08fa-4a53-8b22-552fe2f6379b).
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Encrypted Library' sync state transition from 'synchronized' to 'get token'.
[12/07/23 19:48:05] sync-mgr.c(1941): Notification server is enabled on the remote server https://seafile.xxxxx.org.
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Encrypted Library' sync state transition from 'get token' to 'downloading'.
[12/07/23 19:48:05] http-tx-mgr.c(5515): Download with HTTP sync protocol version 2.
[12/07/23 19:48:05] http-tx-mgr.c(5515): Download with HTTP sync protocol version 2.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '43405d7e': ('normal', 'init') --> ('normal', 'check')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Public' sync state transition from 'get token' to 'downloading'.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '5370e0de': ('normal', 'init') --> ('normal', 'check')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Family Library' sync state transition from 'get token' to 'downloading'.
[12/07/23 19:48:05] http-tx-mgr.c(5515): Download with HTTP sync protocol version 2.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'e62b3ef8': ('normal', 'init') --> ('normal', 'check')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Villa xxxxx' sync state transition from 'get token' to 'downloading'.
[12/07/23 19:48:05] http-tx-mgr.c(5515): Download with HTTP sync protocol version 2.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '571291b7': ('normal', 'init') --> ('normal', 'check')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Library' sync state transition from 'get token' to 'downloading'.
[12/07/23 19:48:05] http-tx-mgr.c(5515): Download with HTTP sync protocol version 2.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'ae76c3ee': ('normal', 'init') --> ('normal', 'check')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '43405d7e': ('normal', 'check') --> ('normal', 'commit')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '5370e0de': ('normal', 'check') --> ('normal', 'commit')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '571291b7': ('normal', 'check') --> ('normal', 'commit')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'ae76c3ee': ('normal', 'check') --> ('normal', 'commit')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'e62b3ef8': ('normal', 'check') --> ('normal', 'commit')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '5370e0de': ('normal', 'commit') --> ('normal', 'fs')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '43405d7e': ('normal', 'commit') --> ('normal', 'fs')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'e62b3ef8': ('normal', 'commit') --> ('normal', 'fs')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '571291b7': ('normal', 'commit') --> ('normal', 'fs')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'ae76c3ee': ('normal', 'commit') --> ('normal', 'fs')
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '5370e0de': ('normal', 'fs') --> ('finished', 'finished')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Encrypted Library' sync state transition from 'downloading' to 'load repo'.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '43405d7e': ('normal', 'fs') --> ('finished', 'finished')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Public' sync state transition from 'downloading' to 'load repo'.
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Encrypted Library' sync state transition from 'load repo' to 'synchronized'.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'e62b3ef8': ('normal', 'fs') --> ('finished', 'finished')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Family Library' sync state transition from 'downloading' to 'load repo'.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo '571291b7': ('normal', 'fs') --> ('finished', 'finished')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Villa xxxxx' sync state transition from 'downloading' to 'load repo'.
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Public' sync state transition from 'load repo' to 'synchronized'.
[12/07/23 19:48:05] http-tx-mgr.c(1341): Transfer repo 'ae76c3ee': ('normal', 'fs') --> ('finished', 'finished')
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Library' sync state transition from 'downloading' to 'load repo'.
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Family Library' sync state transition from 'load repo' to 'synchronized'.
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'Villa xxxxx' sync state transition from 'load repo' to 'synchronized'.
[12/07/23 19:48:05] sync-mgr.c(1004): Repo 'My Library' sync state transition from 'load repo' to 'synchronized'.
[12/07/23 19:48:06] sync-mgr.c(2040): All repo fs trees are loaded.

events.log

[12/07/23 19:44:50] Starting record seafile events.
[12/07/23 19:44:59] Starting record seafile events.
[12/07/23 19:45:36] Starting record seafile events.
[12/07/23 19:46:29] Starting record seafile events.
[12/07/23 19:46:58] Starting record seafile events.
[12/07/23 19:48:01] Starting record seafile events.

seadrivegui.log

[12/07/23 19:45:03] starting applet rpc service
[12/07/23 19:45:03] applet rpc service started
[12/07/23 19:45:03] seadrive gui started
[12/07/23 19:45:03] loaded 0 accounts
[12/07/23 19:45:36] starting applet rpc service
[12/07/23 19:45:36] socket file exists, delete it anyway
[12/07/23 19:45:36] applet rpc service started
[12/07/23 19:45:36] seadrive gui started
[12/07/23 19:45:36] loaded 0 accounts
[12/07/23 19:46:29] starting applet rpc service
[12/07/23 19:46:29] socket file exists, delete it anyway
[12/07/23 19:46:29] applet rpc service started
[12/07/23 19:46:29] seadrive gui started
[12/07/23 19:46:29] loaded 0 accounts
[12/07/23 19:46:59] starting applet rpc service
[12/07/23 19:46:59] socket file exists, delete it anyway
[12/07/23 19:46:59] applet rpc service started
[12/07/23 19:46:59] seadrive gui started
[12/07/23 19:46:59] loaded 0 accounts
[12/07/23 19:47:21] request failed for https://seafile.xxxxx.org/api2/auth-token/: {"non_field_errors":["Two factor auth token is missing."]}

[12/07/23 19:47:22] failed to send rpc call: Broken pipe
[12/07/23 19:47:22] failed to get seadrive.events: Transport Error

[12/07/23 19:47:22] failed to send rpc call: Broken pipe
[12/07/23 19:47:22] failed to get sync notification: Transport Error

[12/07/23 19:47:22] failed to send rpc call: Broken pipe
[12/07/23 19:47:22] failed to get global sync status: Transport Error

[12/07/23 19:47:22] failed to send rpc call: Broken pipe
[12/07/23 19:47:22] failed to get sync errors: Transport Error

[12/07/23 19:47:23] failed to send rpc call: Broken pipe
[12/07/23 19:47:23] pipe client failed to connect to server: Connection refused
[12/07/23 19:47:25] pipe client failed to connect to server: Connection refused
[12/07/23 19:47:26] [File Provider] Listing domains
[12/07/23 19:47:26] [File Provider] Reenumerating items
[12/07/23 19:47:26] [File Provider] Listing domains
[12/07/23 19:47:27] pipe client failed to connect to server: Connection refused
[12/07/23 19:47:29] pipe client failed to connect to server: Connection refused
[12/07/23 19:48:01] starting applet rpc service
[12/07/23 19:48:01] socket file exists, delete it anyway
[12/07/23 19:48:01] applet rpc service started
[12/07/23 19:48:01] seadrive gui started
[12/07/23 19:48:01] loaded 1 accounts
[12/07/23 19:48:02] [File Provider] Listing domains
[12/07/23 19:48:02] [File Provider] Reenumerating items
[12/07/23 19:48:02] [File Provider] Listing domains
[12/07/23 19:48:04] Add account https://seafile.xxxxx.org xxxx@xxxxxx.co.uk 52e2f8f "en_us"
[12/07/23 19:48:26] failed to send rpc call: Broken pipe
[12/07/23 19:48:26] pipe client failed to connect to server: Connection refused

I forget to specify something: to bypass the problem, I tried to install seafile client, no problem to install it, but, the content of our cloud didn’t appear either. It appears just one time, but after the space was empty and not usable.
It was on a new user session, so clean.

Hi,
If you got the error failed to initialize kernel than wait a moment an start the client again.
It’s a knowing problem if defile is starting without root permissions.
You can find here in the forum also a solution.
But this have nothing to do with Sonoma.

Best

Always ensure that you have a backup of important data before making significant changes to your system. If the problem persists, reaching out to Seadrive’s support or community forums for assistance specific to their product is recommended.

Hi all,

Another abnormal behavior on this user (on Seadrive 3.0.7 installed on Mac Sonoma): She retrieves a folder that did not appear on her computer… they are however visible on the online seafile…
When we right-click on Download we get this error message…

Is there links with previous behavior?

Regards

Hi, this issue seems to be caused by seadrive extension crash. You can check in console if there are any crash reports about seadrive extension. if there is, you can send them to us via email. Please send them to: support@seafile.com

Emailed a file over. Thanks for looking into this.

me too. on a fresh sonoma install on a m3 with seadrive 3.0.7. even though seadrive says everything is fine, i cannot ‘sign in’ on the finder, nor view any files.

[01/14/24 02:36:36] starting applet rpc service
[01/14/24 02:36:36] socket file exists, delete it anyway
[01/14/24 02:36:36] applet rpc service started
[01/14/24 02:36:36] seadrive gui started
[01/14/24 02:36:36] loaded 1 accounts
[01/14/24 02:36:37] [File Provider] Listing domains
[01/14/24 02:36:37] [File Provider] Reenumerating items
[01/14/24 02:36:37] [File Provider] Listing domains
[01/14/24 02:36:38] Add account <redacted> "en_us"
[01/14/24 02:37:01] failed to send rpc call: Broken pipe
[01/14/24 02:37:01] failed to get seadrive.events: Transport Error

[01/14/24 02:37:01] failed to send rpc call: Broken pipe
[01/14/24 02:37:01] failed to get sync notification: Transport Error

[01/14/24 02:37:01] failed to send rpc call: Broken pipe
[01/14/24 02:37:01] failed to get global sync status: Transport Error

[01/14/24 02:37:01] failed to send rpc call: Broken pipe
[01/14/24 02:37:01] failed to get sync errors: Transport Error

[01/14/24 02:37:02] failed to send rpc call: Broken pipe
[01/14/24 02:37:02] pipe client failed to connect to server: Connection refused
[01/14/24 02:37:04] pipe client failed to connect to server: Connection refused
[01/14/24 02:37:06] pipe client failed to connect to server: Connection refused
...

i do not see any messages about failed kernel drivers.

After deployment on several computers, I was able to upgrade to version 3.X.X for various MacBookPro (intel or amd) and in most of the cases, it works, except for an old computer MacBookPro 13" 2017 4 tbt 3 ports. I don’t know why… for this one, I came back to 2.X.X version.
I don’t know from where came from my initial problem… maybe from Mac OS which has 2 new updates since the problem.
I still get some user which troubles (for ex. files didn’t appear from the client side…), I suspect a network loss.