After upgrades some libraries can sync, some not

Hi,

if I setup a new server either debian 8 or centos 7 always I ran into the same problem.

Seafile Pro 6.2.10
Client 6.1.6

Seafile.log from Seafile Client 6.1.6

http-tx-mgr.c(1153): Transfer repo ‘a4d858d5’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[03/30/18 08:02:57] http-tx-mgr.c(933): libcurl failed to PUT https://seacloud.cosmofish.net/seafhttp/repo/a4d858d5-2dd2-4ecc-8726-39be04fe7488/block/fc5fa9e5412de0e8de748a0c38dc781bb1962760: Failed sending data to the peer.
[03/30/18 08:02:57] http-tx-mgr.c(933): libcurl failed to PUT https://seacloud.cosmofish.net/seafhttp/repo/a4d858d5-2dd2-4ecc-8726-39be04fe7488/block/cca53feadb571b2827db7ec24aa01af390d524cd: Operation was aborted by an application callback.
[03/30/18 08:02:58] http-tx-mgr.c(933): libcurl failed to PUT https://seacloud.cosmofish.net/seafhttp/repo/a4d858d5-2dd2-4ecc-8726-39be04fe7488/block/4ba6526c8ce1b05733ef117664e1e3ca8a5a8f38: Operation was aborted by an application callback.
[03/30/18 08:02:58] http-tx-mgr.c(933): libcurl failed to PUT https://seacloud.cosmofish.net/seafhttp/repo/a4d858d5-2dd2-4ecc-8726-39be04fe7488/block/336eb8a9e147192aaa5a6e0465254cf71308d123: Operation was aborted by an application callback.
[03/30/18 08:02:59] http-tx-mgr.c(1153): Transfer repo ‘a4d858d5’: (‘normal’, ‘data’) → (‘error’, ‘finished’)
[03/30/18 08:02:59] sync-mgr.c(801): Repo ‘Buchhaltung’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[03/30/18 08:02:59] sync-mgr.c(739): Repo ‘Buchhaltung’ sync state transition from ‘synchronized’ to ‘uploading’.
[03/30/18 08:02:59] http-tx-mgr.c(1153): Transfer repo ‘a4d858d5’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[03/30/18 08:03:00] http-tx-mgr.c(1153): Transfer repo ‘a4d858d5’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[03/30/18 08:03:00] http-tx-mgr.c(1153): Transfer repo ‘a4d858d5’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[03/30/18 08:03:01] http-tx-mgr.c(1153): Transfer repo ‘a4d858d5’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)

Seahub.log from /opt/seafile/logs/

ERROR] seahub.handlers:56 repo_created_cb ‘ ‘

My seafile.conf

[fileserver]

bind address for fileserver

default to 0.0.0.0, if deployed without proxy: no access restriction

set to 127.0.0.1, if used with local proxy: only access by local

host = 127.0.0.1

tcp port for fileserver

port = 8082

Set maximum upload file size to 200M.

max_upload_size=200

Set maximum download directory size to 200M.

max_download_dir_size=200

#Set uploading time limit to 3600s
web_token_expire_time=3600

[zip]

The file name encoding of the downloaded zip file.

windows_encoding = iso-8859-1

[file_lock]
default_expire_hours = 6

[database]
type = mysql
host = 127.0.0.1
port = 3306
user = seafile
password =…
db_name = seafile_db
connection_charset = utf8

[virus_scan]
scan_command = clamscan
virus_code = 1
nonvirus_code = 0
scan_skip_ext = .bmp, .gif, .ico, .png, .jpg, .mp3, .mp4, .wav, .avi, .rmvb, .mkv .psd, .ex4

ccnet.conf

[General]
USER_NAME = seafile
ID = …
NAME = seafile
SERVICE_URL = http:/…net:8000

[Client]
PORT = 13419

[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = seafile
PASSWD =…
DB = ccnet_db
CONNECTION_CHARSET = utf8

seahub_settings.py

-- coding: utf-8 --

SECRET_KEY = “…”

DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘seahub_db’,
‘USER’: ‘seafile’,
‘PASSWORD’: ‘…i’,
‘HOST’: ‘127.0.0.1’,
‘PORT’: ‘3306’
}
}

CACHES = {
‘default’: {
‘BACKEND’: ‘django_pylibmc.memcached.PyLibMCCache’,
‘LOCATION’: ‘127.0.0.1:11211’,
}
}

EMAIL_USE_TLS = True
EMAIL_HOST = ‘smtp.gmail.com
EMAIL_HOST_USER = ‘…@gmail.com
EMAIL_HOST_PASSWORD = ‘…’
EMAIL_PORT = ‘25’
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER

TIME_ZONE = ‘Europe/Berlin’
SITE_BASE = ‘http://127.0.0.1
SITE_NAME = ‘Seafile Server’
SITE_TITLE = ‘Seafile Server’
SITE_ROOT = ‘/’
ENABLE_SIGNUP = False
ACTIVATE_AFTER_REGISTRATION = False
SEND_EMAIL_ON_ADDING_SYSTEM_MEMBER = True
SEND_EMAIL_ON_RESETTING_USER_PASSWD = True
CLOUD_MODE = False
FILE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2
SESSION_SAVE_EVERY_REQUEST = False
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
ENABLE_RESUMABLE_FILEUPLOAD = True
FILE_SERVER_ROOT = ‘http://127.0.0.1/seafhttp
LOGIN_ATTEMPT_LIMIT = 3

/etc/nginx/conf.d/seafile.conf

server {
listen 80;
server_name …net;
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
server_tokens off;
}

server {
listen 443 http2;
ssl on;
ssl_certificate /etc/pki/tls/certs/…net.crt;
ssl_certificate_key /etc/pki/tls/certs/…net.key;
server_name …net;

ssl_session_timeout 5m;

ssl_session_cache shared:SSL:5m;

Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits

   ssl_dhparam /etc/nginx/dhparam.pem;
    # secure settings (A+ at SSL Labs ssltest at time of writing)
    # see https://wiki.mozilla.org/Security/Server_Side_TLS#Nginx
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
   ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-CAMELLIA256-SHA:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-SEED-SHA:DHE-RSA-CAMELLIA128-SHA:HIGH:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS';
   ssl_prefer_server_ciphers on;

proxy_set_header X-Forwarded-For $remote_addr;

add_header Strict-Transport-Security “max-age=31536000; includeSubDomains” always;
server_tokens off;

location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_read_timeout 1200s;

# used for view/edit office file via Office Online Server
client_max_body_size 0;
access_log      /var/log/nginx/seahub.access.log;
error_log       /var/log/nginx/seahub.error.log;

}

location /seafhttp {
rewrite ^/seafhttp(.*)$ $1 break;
proxy_pass http://127.0.0.1:8082;
client_max_body_size 0;
proxy_connect_timeout 36000s;
proxy_read_timeout 36000s;
proxy_send_timeout 36000s;

send_timeout  36000s;

}

location /media {
root /opt/seafile/seafile-server-latest/seahub;
}
}

Any help appreciated !

Have some libraries been created before Seafile 3.x?

Does the error happen when you create new libraries, or is it just an issue with an existing library?

Its actually only 1 library containing about 10 subfolders and including large .mdb files. All other libraries sync normal. I have renamed the library but doesn t help. I set up a new vm with different OS reinstalled the client but still everything same. All libraries are syncing except one.

Have you tried seaf-fsck on that library? Also, have you tried garbage collection?