I would like to migrate from a native installation of Seafile CE to the Docker version, for arm64. I have followed the steps described here but I can’t get it to work.
If I use the default docker-compose.yml, I can create a new working instance of a Seafile server no problem, which means that, at least in principle, I am able to run Seafile CE with Docker. However, if I amend
docker-compose.yml to use the natively installed MariaDB server (accessible from beyond localhost for both the root and seafile users) conf files (amended as described in the post hyperlinked above) and storage, it does not work
version: '2.0' services: memcached: platform: linux/arm64 image: memcached:1.5.6 container_name: seafile-memcached entrypoint: memcached -m 256 networks: - seafile-net seafile: platform: linux/arm64 image: seafileltd/seafile-mc:9.0.2 container_name: seafile ports: - "8866:80" volumes: - /mnt/sdcard/home/seafile/www/docker:/shared # Requested, specifies the path to Seafile data persistent store. - /mnt/wdred1/seafile-data:/shared/seafile/seafile-data environment: - DB_HOST=192.168.178.2 - DB_ROOT_PASSWD=mypassword # Requested, the value shuold be root's password of MySQL service. - TIME_ZONE=Europe/Berlin # Optional, default is UTC. Should be uncomment and set to your local time zone. - SEAFILE_ADMIN_EMAILemail@example.com # Specifies Seafile admin user, default is 'firstname.lastname@example.org'. - SEAFILE_ADMIN_PASSWORD=mypassword # Specifies Seafile admin password, default is 'asecret'. - SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not. - SEAFILE_SERVER_HOSTNAME=seafile.mydomain.info # Specifies your host name if https is enabled. depends_on: - memcached networks: - seafile-net networks: seafile-net:
I’ve traced the issue back to seahub, seafile runs fine, if I access the container and run
./seahub.sh start I get
Error:Seahub failed to start., the supposedly more verbose
./seahub.sh start-fastcgi is useless because it returns
Unknown command: 'runfcgi', and no additional error logs are written anywhere. How can I debug this problem if I am not told what the problem is? Does anybody have any ideas as to how I could debug the problem?
Thank you in advance!