Hi everyone,
I’m a new Seafile user. I recently decided to move away from SMB to manage and share my documents over the internet, and I chose Seafile for its performance.
I am running Seafile via Docker Compose (using Dockge). I recently updated from version 11 to version 13. While everything seems to work perfectly on the Windows and Android clients, I am having a specific issue with the Web Browser (Web UI):
-
What works: Uploading files, deleting files, and editing files (Markdown/Text).
-
The issue: I cannot download any files from the browser. Whenever I click download, I get an HTML error page: “400 Bad Request”.
Since the desktop client works, I suspect it might be a configuration mismatch in the Seafile settings or my Reverse Proxy setup.
Here is my Docker Compose file:
version: “3.8”
services:
db:
image: mariadb:10.11
container_name: seafile-db
environment:
- MYSQL_ROOT_PASSWORD=your_secure_db_root_password
- MYSQL_LOG_CONSOLE=true
volumes: - ./seafile-db:/var/lib/mysql
restart: unless-stopped
redis:
image: redis:alpine
container_name: seafile-redis
restart: unless-stopped
seafile:
image: seafileltd/seafile-mc:13.0-latest
container_name: seafile
ports:
- 8200:80
volumes: - ./seafile-conf:/shared
- /mnt/Media/Seafile:/shared/seafile
- type: bind
source: /mnt/SSD/dockge-system/stack/seafile/seafile-fuse
target: /seafile-fuse
bind:
propagation: rshared
privileged: true
cap_add: - SYS_ADMIN
environment: - TIME_ZONE=Europe/Rome
- JWT_PRIVATE_KEY=your_generated_jwt_private_key
- SEAFILE_SERVER_PROTOCOL=https
- SEAFILE_SERVER_HOSTNAME=seafile.yourdomain.top
- SEAFILE_MYSQL_DB_HOST=db
- SEAFILE_MYSQL_DB_PORT=3306
- SEAFILE_MYSQL_DB_USER=seafile
- SEAFILE_MYSQL_DB_PASSWORD=your_seafile_db_password
- SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet_db
- SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile_db
- SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub_db
- DB_ROOT_PASSWD=your_secure_db_root_password
- SEAFILE_ADMIN_EMAIL=admin@yourdomain.top
- SEAFILE_ADMIN_PASSWORD=your_admin_password
- SEAFILE_SERVER_LETSENCRYPT=false
- CACHE_PROVIDER=redis
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=
depends_on: - db
- redis
restart: unless-stopped
Does anyone have a suggestion on why the Web UI specifically is failing the download request while clients work fine? Any help would be greatly appreciated!