After upgrade of the docker image from Seafile 11 to Seafile 12 everything worked out of the box except of file upload from WebGUI and APP (Download works, login works, administration works, even the upload from Windows Client works)
If i go to webgui and try to upload a new file it says “network error”. In developers console it says:
Laden von gemischten aktiven Inhalten "http://cloud.example.de/seafhttp/upload-aj/ae87f1dd-90c1-402c-93d8-be7d5432a345?ret-json=1" wurde blockiert.
Im using my own reverse-proxy NGINX which worked with the config with seafile 11 docker very well.
I removed everything caddy-related from .env file and seafile-server.yml, because its not needed.
.env config:
SEAFILE_SERVER_HOSTNAME=cloud.example.de
SEAFILE_SERVER_PROTOCOL=http
seafile-server.yml -- changes from default, see below
ports:
- "8000:80"
- "8080:8080"
- "8082:8082"
# labels:
# caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
# caddy.reverse_proxy: "{{upstreams 80}}"
seahub_settings.py (except of Database and caches config values)
COMPRESS_CACHE_BACKEND = 'locmem'
TIME_ZONE = 'Europe/Berlin'
ENABLE_SHARE_TO_ALL_GROUPS = True
ENABLE_USER_CLEAN_TRASH = True
ENABLE_THUMBNAIL = True
THUMBNAIL_IMAGE_SIZE_LIMIT = 30 # MB
ENABLE_VIDEO_THUMBNAIL = False
THUMBNAIL_VIDEO_FRAME_TIME = 5
CLOUD_MODE = False
HTTP_SERVER_ROOT = 'https://cloud.example.de/seafhttp'
ENABLE_REPO_SNAPSHOT_LABEL = True
FILE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
ENABLE_ENCRYPTED_LIBRARY = True
SHARE_LINK_EXPIRE_DAYS_DEFAULT = 30
UPLOAD_LINK_EXPIRE_DAYS_DEFAULT = 30
CSRF_COOKIE_SECURE = True
CSRF_COOKIE_SAMESITE = 'Strict'
CSRF_TRUSTED_ORIGINS = ["https://cloud.example.de"]
ENABLE_SHOW_CONTACT_EMAIL_WHEN_SEARCH_USER = True
I cannot see any errors in NGINX-logs or seafile-docker logs occur.
Do you have any ideas how to fix the issue?