Hello!
I’ve installed seafile to my linux home server using docker. It sort of works but in a very puzzling way. I would understand if it did not work at all. But I can login to server and view and download files. Except large files (e.g. mp3) – for those I get “download failed”. What works:
- Can login to server
- Can navigate library folders and files
- Can download small txt files
- Can view text and conf files in seafile viewer
- Can play mp3 files (!) from browser using seafile web UI player
What’s broken:
- Can’t download mp3 files!
- Can’t upload anything from browser or android app.
The request in firefox Net console is shown as ‘blocked’, the ‘Transferred’ column shows ‘NS_ERROR_NET_PARTIAL_TRANSFER’ - some kind of error? Because the file is too large maybe? It seem to work with smaller txt files.
The problem is the same on windows+firefox, windows+chrome, android+chrome and android+“seafile app”. Windows ‘seafile drive’ app seems to work fully. I used it to upload those mp3s.
My docker-compose.yml is below (except passwords). I think I am using the latest server version, but not sure how to check. Everything happens on wireguard vpn net 172.16.0.0/12, https is disabled, plain http is used. Not sure what else to provide. What could be the problem?
version: '2.0'
services:
db:
image: mariadb:10.6
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=5904024e522fc # Requested, set the root's password of MySQL service.
- MYSQL_LOG_CONSOLE=true
volumes:
- /mnt/c/seafile-db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
networks:
- seafile-net
memcached:
image: memcached:1.6.18
container_name: seafile-memcached
entrypoint: memcached -m 256
networks:
- seafile-net
seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
ports:
- "172.16.0.17:80:80"
# - "443:443" # If https is enabled, cancel the comment.
volumes:
- /mnt/c/seafile-files:/shared # Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=5904024e522fc # Requested, the value should be root's password of MySQL service.
- TIME_ZONE=Etc/UTC # Optional, default is UTC. Should be uncomment and set to your local time zone.
- SEAFILE_ADMIN_EMAIL=u@noda # Specifies Seafile admin user, default is 'me@example.com'.
- SEAFILE_ADMIN_PASSWORD=12345 # Specifies Seafile admin password, default is 'asecret'.
- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
- SEAFILE_SERVER_HOSTNAME=172.16.0.17 # Specifies your host name if https is enabled.
depends_on:
- db
- memcached
networks:
- seafile-net
networks:
seafile-net: