I got this error when running seaf-gc.sh:
root@seafile:/home/administrator/haiwen/seafile-server-6.0.8# . seaf-gc.sh
Starting seafserv-gc, please wait …
[03/07/18 17:07:13] ccnet_client_load_confdir: Wrong ID
Trace/breakpoint trap (core dumped)
seafserv-gc run done
I’m sure I ran seaf-gc.sh before (successfully), so I don’t think the problem is because I have no user “seafile” (I installed and run seafile via “administrator”). I did stop the seafile-services before running it.
I also tried “seafserv-gc -c /home/administrator/haiwen/ccnet/ -d /home/administrator/haiwen/seafile-data/ -F /home/administrator/haiwen/conf/”, looks like this should do the same
root@seafile:/home/administrator/haiwen/seafile-server-latest# seafserv-gc -c /home/administrator/haiwen/ccnet/ -d /home/administrator/haiwen/seafile-data/ -F /home/administrator/haiwen/conf/
seafserv-gc: error while loading shared libraries: libccnet.so.0: cannot open shared object file: No such file or directory
Accorded to the Seafile-Manual you can also run “seaf-gc.sh --dry-run [repo-id1] [repo-id2] …”. But what are those repos, and how to find out what " repos" I have?