Hi everyone,
I recently set up Seafile on my Raspberry Pi 3B+ using Docker.
The web interface loads correctly — I can log in, create libraries, browse around — everything seems fine at first.
However, when I try to upload or download files, it doesn’t work.
Uploads fail immediately, and downloads do not start at all. The classical network error.
I’m posting my docker-compose.yml
configuration below:
version: '2.0'
services:
db:
platform: linux/arm64
image: mariadb:10.11
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=XXX # Requested, set the root's password of MySQL service.
- MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=1
volumes:
- ./seafile-mysql/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:9.0.7-arm
image: seafileltd/seafile-mc:11.0-latest
container_name: seafile
ports:
- "8080:80"
- "443:443" # If https is enabled, cancel the comment.
- "8082:8082"
volumes:
- /mnt/seafile_disk/seafile_data/shared:/shared
# Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=XXX # Requested, the value shuold 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=XXX@XXX.de'.
- SEAFILE_ADMIN_PASSWORD=XXX # Specifies Seafile admin password, default is 'asecret'.
- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
#- SEAFILE_SERVER_HOSTNAME=192.168.201.254 # Specifies your host name if https is enabled.
#- FILE_SERVER_ROOT=http://192.168.201.254/seafhttp
- SEAFILE_SERVER_HOSTNAME=http://192.168.201.254
- FILE_SERVER_ROOT=http://192.168.201.254/seafhttp
- SERVICE_URL=http://192.168.201.254:8080
depends_on:
- db
- memcached
networks:
- seafile-net
networks:
seafile-net:
The server IP is 192.168.201.254
.
I suspect it might have something to do with FILE_SERVER_ROOT
or internal networking, but I’m not sure. I am running this fileserver only in my local network at home and it shall also only accessable there.
Does anyone know what could be wrong?
Is there anything else I should check inside the containers or logs?
Maybe pihole also has an influence?
Thanks a lot for your help!