- Seafile windows client, of cource
- NSSM - the Non-Sucking Service Manager pre-release build because stable does not work with Windows 10 Creators Update
Step by step guide:
- Install and configure the Seafile client as usual, turn on synchronization for desired libraries.
- Quit the Seafile client (right click on tray icon and choose Quit)
- Download and extract NSSM
- Start the command prompt (Win+S -> cmd) and navigate to
nssm.exe
file, for example if you extracted it on Your desktop, type in the command promptCD C:\Users\Your_user_name\Desktop\NSSM_folder_name\win64
- Type in the command prompt
nssm install ccnet
(this service will manage the network) - NSSM service installer window will open, click the "..." button and navigate to
C:\Program Files (x86)\Seafile\bin\ccnet.exe
- Fill arguments as described in documentation, change Administrator to Your user name
- Click the tab Log on, choose "This account" and enter Your credentials
- Click Install service - one done, one to go
- Type in the command prompt
nssm install seaf-daemon
(this service will manage the files) - NSSM service installer window will open, click the "..." button and navigate to
C:\Program Files (x86)\Seafile\bin\seaf-daemon.exe
- As for arguments this one is a bit trickier,
-c
argument is same as in step 5,-d
argument value can be found inC:\Users\Your_user_name\ccnet\seafile.ini
file and-w
value is path to Your Seafile data folder, for example:-c C:\Users\Admin\ccnet -d C:\Users\Admin\Documents\Seafile\seafile-data -w C:\Users\Admin\Documents\Seafile
- Same as earlier click the Log on tab, choose This account and enter Your credentials
- Click Install service, and it's done
- Now restart the PC or start the services manually (Win+S -> Services -> look for ones named ccnet and seaf-daemon)
Read the NSSM Usage guide for more information.
Update: documentation linked in step 7 is no longer available, but You can check required parameters by executing commands
ccnet -h
and seaf-daemon -h
in folder C:\Program Files (x86)\Seafile\bin\
.
Hi, I followed your tutorial but I'm unable to get seafile to sync files with this. I have the services setup and they are running, I don't see any obvious errors in the logs. Has something changed? Do you know if this still works with current versions of seafile?
ReplyDeleteJust in case anyone else runs across this. I figured out what was happening. By default seafile client makes a folder called my lib, I should have noticed sooner but that needs "" around the location if there's a space.
DeleteHello. I can't find a ccnet.exe file in Seafile folder. I'm running seafile client 6.2.4. Probably something had changed in recent seafile client version? But official FAQ you mention in the article also says ccnet.exe should exist. I've reinstalled Seafile 6.2.4, but no ccnet.exe again. :(
ReplyDeleteSeafile 6.1.8 has ccnet.exe in its folder. Probably I can just skip steps 6-9.
ReplyDeleteHello,
ReplyDeleteHas anyone did this with actual client without ccnet.exe ?
Yes, it works perfectly.
DeleteYou need just to configure seaf-deamon as a service and that's it.
How do you specify which library to sync?
ReplyDelete