Error! Create library failed! Please help me

Error. When I try to synchronize a folder in the library, I get an error! Could not create the library!

The Linux client has the same error.

Do you have PRO or CE edition?

I have Pro edition.

I found the client log and that’s it.

[26.10.2017 11:51:51]request failed for https://########/api2/repos/740b17bd-fc72-404b-b51a-7b7532cf537c/: {"error_msg":"Library not found."}
[26.10.2017 11:51:51]Create library failed!

Apparently the wrong folder id is assigned, because it exists on the server.

Tell me what could be the problem?

I looked at the logs I could.
ccnet.log:

[10/26/17 17:41:29] ../common/session.c(409): Accepted a local client
[10/26/17 17:41:29] ../common/session.c(409): Accepted a local client
[10/26/17 17:41:29] ../common/peer.c(950): Local peer down
[10/26/17 17:41:29] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[10/26/17 17:41:29] ../common/peer.c(950): Local peer down

controller.log

[10/26/17 17:42:29] seafile-controller.c(575): pid file /opt/seafile/pids/seafevents.pid does not exist
[10/26/17 17:42:29] seafile-controller.c(600): seafevents need restart...
[10/26/17 17:42:29] seafile-controller.c(87): spawn_process: /bin/python2.7 -m seafevents.main --config-file /opt/seafile/conf/seafevents.conf --loglevel debug --logfile /opt/seafile/logs/seafevents.log -P /opt/seafile/pids/seafevents.pid
[10/26/17 17:42:29] seafile-controller.c(102): spawned /bin/python2.7, pid 22003

seafevent.log

[2017-10-26 17:43:29,762] [INFO] connected to ccnet server
[2017-10-26 17:43:29,762] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-10-26 17:43:29,763] [INFO] listen to mq: set(['seaf_server.event', 'seahub.stats'])
[2017-10-26 17:43:29,764] [INFO] staring background tasks
[2017-10-26 17:43:29,764] [INFO] search indexer is started, interval = 600 sec
[2017-10-26 17:43:29,764] [INFO] seahub email sender is started, interval = 1800 sec
[2017-10-26 17:43:29,764] [INFO] ldap sync is disabled
[2017-10-26 17:43:29,764] [INFO] virus scan is disabled
[2017-10-26 17:43:29,764] [INFO] data statistic is disabled
[2017-10-26 17:43:29,764] [INFO] remove pidfile /opt/seafile/pids/seafevents.pid

I don’t have PRO edition so I can’t help you

So it was not possible to solve the problem. Even a complete reinstallation of the system.

can you post the logs of Seafile server

You can see them higher!

https://manual.seafile.com/maintain/logs.html

What version are you?

My version 6.2.0

ccnet.log

[11/01/17 18:34:36] ../common/session.c(409): Accepted a local client
[11/01/17 18:34:36] ../common/session.c(409): Accepted a local client
[11/01/17 18:34:36] ../common/peer.c(950): Local peer down
[11/01/17 18:34:36] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:34:36] ../common/peer.c(950): Local peer down
[11/01/17 18:34:46] ../common/session.c(409): Accepted a local client
[11/01/17 18:34:46] ../common/session.c(409): Accepted a local client
[11/01/17 18:34:46] ../common/peer.c(950): Local peer down
[11/01/17 18:34:46] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:34:46] ../common/peer.c(950): Local peer down
[11/01/17 18:34:56] ../common/session.c(409): Accepted a local client
[11/01/17 18:34:56] ../common/session.c(409): Accepted a local client
[11/01/17 18:34:56] ../common/peer.c(950): Local peer down
[11/01/17 18:34:56] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:34:56] ../common/peer.c(950): Local peer down
[11/01/17 18:35:06] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:06] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:06] ../common/peer.c(950): Local peer down
[11/01/17 18:35:06] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:35:06] ../common/peer.c(950): Local peer down
[11/01/17 18:35:16] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:16] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:16] ../common/peer.c(950): Local peer down
[11/01/17 18:35:16] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:35:16] ../common/peer.c(950): Local peer down
[11/01/17 18:35:26] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:26] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:26] ../common/peer.c(950): Local peer down
[11/01/17 18:35:26] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:35:26] ../common/peer.c(950): Local peer down
[11/01/17 18:35:36] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:36] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:36] ../common/peer.c(950): Local peer down
[11/01/17 18:35:36] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:35:36] ../common/peer.c(950): Local peer down
[11/01/17 18:35:46] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:46] ../common/session.c(409): Accepted a local client
[11/01/17 18:35:46] ../common/peer.c(950): Local peer down
[11/01/17 18:35:46] ../common/peer.c(948): libevent got an error! what=33, errno=104 (Connection reset by peer)
[11/01/17 18:35:46] ../common/peer.c(950): Local peer down

controller.log

[11/01/17 18:35:36] seafile-controller.c(102): spawned /usr/bin/python2.7, pid 30511
[11/01/17 18:35:46] seafile-controller.c(575): pid file /opt/seafile/pids/seafevents.pid does not exist
[11/01/17 18:35:46] seafile-controller.c(600): seafevents need restart...
[11/01/17 18:35:46] seafile-controller.c(87): spawn_process: /usr/bin/python2.7 -m seafevents.main --config-file /opt/seafile/conf/seafevents.conf --loglevel debug --logfile /opt/seafile/logs/seafevents.log -P /opt/seafile/pids/seafevents.pid
[11/01/17 18:35:46] seafile-controller.c(102): spawned /usr/bin/python2.7, pid 30524

seafevent.log

[2017-11-01 18:35:36,809] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-11-01 18:35:36,822] [DEBUG] office enabled: True
[2017-11-01 18:35:36,822] [DEBUG] office convert workers: 1
[2017-11-01 18:35:36,822] [DEBUG] office outputdir: /tmp/seafile-office-output
[2017-11-01 18:35:36,822] [DEBUG] office convert max pages: 50
[2017-11-01 18:35:36,822] [DEBUG] office convert max size: 10 MB
[2017-11-01 18:35:36,823] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-11-01 18:35:36,832] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-11-01 18:35:36,833] [INFO] try to connect to ccnet-server...
[2017-11-01 18:35:36,833] [INFO] connected to ccnet server
[2017-11-01 18:35:36,833] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-11-01 18:35:36,834] [INFO] listen to mq: set(['seaf_server.event', 'seahub.stats'])
[2017-11-01 18:35:36,834] [INFO] staring background tasks
[2017-11-01 18:35:36,834] [INFO] search indexer is started, interval = 600 sec
[2017-11-01 18:35:36,834] [INFO] seahub email sender is started, interval = 1800 sec
[2017-11-01 18:35:36,834] [INFO] ldap sync is disabled
[2017-11-01 18:35:36,835] [INFO] virus scan is disabled
[2017-11-01 18:35:36,835] [INFO] data statistic is disabled
[2017-11-01 18:35:36,835] [INFO] remove pidfile /opt/seafile/pids/seafevents.pid
[2017-11-01 18:35:46,792] [INFO] audit is enabled
[2017-11-01 18:35:46,793] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-11-01 18:35:46,820] [DEBUG] seafes enabled: True
[2017-11-01 18:35:46,820] [DEBUG] seafes dir: /opt/seafile/seafile-pro-server-6.2.0/pro/python/seafes
[2017-11-01 18:35:46,820] [DEBUG] seafes logfile: /opt/seafile/logs/index.log
[2017-11-01 18:35:46,820] [DEBUG] seafes index interval: 600 sec
[2017-11-01 18:35:46,820] [DEBUG] seafes index office/pdf: True
[2017-11-01 18:35:46,820] [DEBUG] seahub email enabled: True
[2017-11-01 18:35:46,820] [DEBUG] seahub dir: /opt/seafile/seafile-pro-server-6.2.0/seahub
[2017-11-01 18:35:46,820] [DEBUG] send seahub email interval: 1800 sec
[2017-11-01 18:35:46,821] [INFO] LDAP section is not set, disable ldap sync.
[2017-11-01 18:35:46,821] [INFO] [virus_scan] scan_command option is not found in /opt/seafile/conf/seafile.conf, disable virus scan.
[2017-11-01 18:35:46,822] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-11-01 18:35:46,835] [DEBUG] office enabled: True
[2017-11-01 18:35:46,835] [DEBUG] office convert workers: 1
[2017-11-01 18:35:46,835] [DEBUG] office outputdir: /tmp/seafile-office-output
[2017-11-01 18:35:46,835] [DEBUG] office convert max pages: 50
[2017-11-01 18:35:46,835] [DEBUG] office convert max size: 10 MB
[2017-11-01 18:35:46,836] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-11-01 18:35:46,846] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-11-01 18:35:46,846] [INFO] try to connect to ccnet-server...
[2017-11-01 18:35:46,846] [INFO] connected to ccnet server
[2017-11-01 18:35:46,846] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-11-01 18:35:46,847] [INFO] listen to mq: set(['seaf_server.event', 'seahub.stats'])
[2017-11-01 18:35:46,848] [INFO] staring background tasks
[2017-11-01 18:35:46,848] [INFO] search indexer is started, interval = 600 sec
[2017-11-01 18:35:46,848] [INFO] seahub email sender is started, interval = 1800 sec
[2017-11-01 18:35:46,848] [INFO] ldap sync is disabled
[2017-11-01 18:35:46,848] [INFO] virus scan is disabled
[2017-11-01 18:35:46,848] [INFO] data statistic is disabled
[2017-11-01 18:35:46,848] [INFO] remove pidfile /opt/seafile/pids/seafevents.pid

seafile.log

[11/01/17 18:24:54] http-server.c(193): fileserver: worker_threads = 10
[11/01/17 18:24:54] http-server.c(208): fileserver: fixed_block_size = 8388608
[11/01/17 18:24:54] http-server.c(223): fileserver: web_token_expire_time = 3600
[11/01/17 18:24:54] http-server.c(238): fileserver: max_indexing_threads = 1
[11/01/2017 06:24:57 PM] ../common/mq-mgr.c(61): [mq client] mq cilent is started
[11/01/2017 06:24:57 PM] filelock-mgr.c(924): Cleaning expired file locks.
[11/01/2017 06:24:58 PM] size-sched.c(103): Repo size compute queue size is 0
[11/01/2017 06:25:04 PM] Disconnected from daemon
[11/01/17 18:25:06] http-server.c(193): fileserver: worker_threads = 10
[11/01/17 18:25:06] http-server.c(208): fileserver: fixed_block_size = 8388608
[11/01/17 18:25:06] http-server.c(223): fileserver: web_token_expire_time = 3600
[11/01/17 18:25:06] http-server.c(238): fileserver: max_indexing_threads = 1
[11/01/2017 06:25:06 PM] ../common/mq-mgr.c(61): [mq client] mq cilent is started
[11/01/2017 06:25:06 PM] filelock-mgr.c(924): Cleaning expired file locks.
[11/01/2017 06:25:07 PM] size-sched.c(103): Repo size compute queue size is 0
[11/01/2017 06:30:07 PM] size-sched.c(103): Repo size compute queue size is 0
[11/01/2017 06:35:07 PM] size-sched.c(103): Repo size compute queue size is 0

seahub.log
NULL
seahub_django_request.log

2017-11-01 16:32:09,518 [WARNING] django.request:170 get_response Not Found: /api2/repos//`

This is my last logs

applet.log in client

[01.11.2017 18:28:51]request failed for https://cloud.nicefox.io/api2/account/info/: <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
[01.11.2017 18:31:33]request failed for https://cloud.nicefox.io/api2/repos/: {"detail":"Invalid token"}
[01.11.2017 18:31:34]Authorization expired, please re-login
[01.11.2017 18:32:09]request failed for https://cloud.nicefox.io/api2/repos//: 
<!DOCTYPE html>
<html lang="en">
<head>
<title>Seafile Server</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="File Collaboration Team Organization" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no
[01.11.2017 18:32:10]Create library failed!

However, in the DB in VirtualRepo tables created records with id new repository, but according to this id, api2 finds nothing

Sorry for my bad English

Tomorrow will give you a reply,

Thank you