Folks I’ve some issues with a Seafile installation running on Docker on NAS behind a reverse proxy.
Seafile is set up on port 8000 going through to 443 on a Synology via their web interface. I can add some advanced variables to tweak things, but I’m new to RPs so don’t really know how to fix this.
I’m connecting via the web interface, and uploading SOME files, like a few small folders, but I’m trying to put up a Joplin folder with 45000 or so very small files in and it gives me the following errors. I also got errors on the smaller folders but it finished syncing after going through the errors, it just resumed the sync and finished.
I’ve been reading the forum a lot but there’s a bunch of stuff about Nginx servers that’s going a bit over my head. I do have some movement to configure the Synology with some advanced settings, so if anybody has some ideas about that I could try and translate them to the Syn interface.
Thanks in advance.
James
Desktop log:
06/23/20 00:56:26] http-tx-mgr.c(929): libcurl failed to PUT {httpsseafileURL}/seafhttp/repo/1edc3e9f-d4c7-49a7-bb81-2b0feb49b9fb/block/516826427d90991571b85bf83390d6d80298d5bd: Operation was aborted by an application callback.
[06/23/20 00:56:26] http-tx-mgr.c(929): libcurl failed to PUT {httpsseafileURL}/seafhttp/repo/1edc3e9f-d4c7-49a7-bb81-2b0feb49b9fb/block/e2396b0c51c2b9469c2e3a3e5965df2dc28fad77: Operation was aborted by an application callback.
[06/23/20 00:56:27] http-tx-mgr.c(1157): Transfer repo '1edc3e9f': ('normal', 'data') --> ('error', 'finished')
[06/23/20 00:56:27] sync-mgr.c(621): Repo 'Joplin' sync state transition from uploading to 'error': 'Data transfer was interrupted. Please check network or firewall'.
Docker file:
sudo docker create \
--name seafile \
-e SEAFILE_SERVER_HOSTNAME=example.com \
-v /volume1/docker/seafile:/shared \
-p 8000:80 \
-e PUID=1029 \
-e PGID=100 \
--restart unless-stopped \
seafileltd/seafile:latest
Seafile conf files:
ccnet.conf:
[General]
USER_NAME = seafile
ID = eccc9f60a63b8c85c02d387d188928c8a25ffe11
NAME = seafile
SERVICE_URL = {http-seafileURL}:8000[Client]
PORT = 13419
[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = seafile
PASSWD = edbee2c2-4a9a-467a-b5d6-e721532c8ee9
DB = ccnet_db
CONNECTION_CHARSET = utf8[Client]
UNIX_SOCKET = /opt/seafile/ccnet.sock
seafdav.conf:
[WEBDAV]
enabled = false
port = 8080
fastcgi = false
share_name = /
seafile.conf:
[fileserver]
port = 8082
[database]
type = mysql
host = 127.0.0.1
port = 3306
user = seafile
password = xxx
db_name = seafile_db
connection_charset = utf8
seahub_settings.py:
SECRET_KEY = "xxx"
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'seahub_db',
'USER': 'seafile',
'PASSWORD': 'edbee2c2-4a9a-467a-b5d6-e721532c8ee9',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}
CACHES = {
'default': {
'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
'LOCATION': '127.0.0.1:11211',
},
'locmem': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
},
}
COMPRESS_CACHE_BACKEND = 'locmem'
FILE_SERVER_ROOT = "{http-seafileURL}/seafhttp"