Docker-compose and seafile 7

Hi there,

I’m a verry happy user of seafile 6 setup with docker and now want to move to seafile 7.
The upgrade failed so I trying to do a clean install of seafile 7

Unfortunatly I can’t get the docker installation working but also do not get anny errors during intallations so I’m at a dead end.

Would some one please have a look at my installation and tell me where I’m doing something wrong.

Here are my setup steps:
Clean Centos-7 install
yum install -y yum-utils device-mapper-persistent-data lvm2

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

yum install docker-ce-18.09.6 docker-ce-cli-18.09.6 containerd.io

yum install epel-release

yum install docker-compose -y

systemctl start docker
systemctl status docker
systemctl enable docker

download docker-compose.yml
docker-compose up -d

systemctl stop firewalld

Please let me know what i’m doing wrong and I’ll be a happy seafile user again.

Thanks in advance

Gr. Edo

What messages do you have in the console when you run docker-compose up -d?

Hi Daniel, thanks for your interest.

This is what is shown after the command docker-compose up -d

[root@cloud ~]# docker-compose up -d
Creating network “root_seafile-net” with the default driver
Pulling db (mariadb:10.1)…
10.1: Pulling from library/mariadb
5b7339215d1d: Pull complete
14ca88e9f672: Pull complete
a31c3b1caad4: Pull complete
b054a26005b7: Pull complete
33ab3607a892: Pull complete
96e609e6ad13: Pull complete
aae7cb4e985f: Pull complete
ea5556625121: Pull complete
8642d3bfe3a3: Pull complete
af2d5ebdb2f9: Pull complete
676bc7f03fcf: Pull complete
3b9e4e1648ae: Pull complete
c46750c06bab: Pull complete
2797f689a1f7: Pull complete
Digest: sha256:0efa32836a124c420848d70e2fa3b36dc28bfd0a10ea700fb37256816a92165d
Status: Downloaded newer image for mariadb:10.1
Pulling memcached (memcached:1.5.6)…
1.5.6: Pulling from library/memcached
2a72cbf407d6: Pull complete
23d7f86ee24a: Pull complete
5d49db5d7c1b: Pull complete
b4f3e3e98914: Pull complete
fa2c0dff6f9f: Pull complete
Digest: sha256:375aa6d08b4ad5efe55421237ce8598e006505b4bd9ff14806359daff5334f91
Status: Downloaded newer image for memcached:1.5.6
Pulling seafile (seafileltd/seafile-mc:latest)…
latest: Pulling from seafileltd/seafile-mc
a2870900c775: Pull complete
170054d95491: Pull complete
Digest: sha256:b218a916be2f8229a52994c35d63d4130542b0ee3157f1e650d4760e38166353
Creating seafile-memcached … done
Creating seafile … done
Creating seafile-mysql …
Creating seafile …
[root@cloud ~]#

It does not show any errors.
If can not find anything unusal in the logging but than I’m no expert on Seafile logging.

Anyway. Nothing happens on port 80 other than cannot reach this page

Is there any logging I can check to see where things went wrong?

Gr. Edo

the container seafile is running?

No the seafile contrainer is not running, others are.
And when I try to start it, it seems to exit right away

[root@cloud ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5485fd6eeba6 mariadb:10.1 “docker-entrypoint.s…” 3 minutes ago Up 2 minutes 3306/tcp seafile-mysql
3c797072e102 memcached:1.5.6 “memcached -m 256” 3 minutes ago Up 2 minutes 11211/tcp seafile-memcached
[root@cloud ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4a97f2593827 seafileltd/seafile-mc:latest “/sbin/my_init – /s…” 3 minutes ago Exited (1) 29 seconds ago seafile
5485fd6eeba6 mariadb:10.1 “docker-entrypoint.s…” 3 minutes ago Up 3 minutes 3306/tcp seafile-mysql
3c797072e102 memcached:1.5.6 “memcached -m 256” 3 minutes ago Up 3 minutes 11211/tcp seafile-memcached
[root@cloud ~]# docker start seafile
seafile
[root@cloud ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5485fd6eeba6 mariadb:10.1 “docker-entrypoint.s…” 3 minutes ago Up 3 minutes 3306/tcp seafile-mysql
3c797072e102 memcached:1.5.6 “memcached -m 256” 3 minutes ago Up 3 minutes 11211/tcp seafile-memcached
[root@cloud ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4a97f2593827 seafileltd/seafile-mc:latest “/sbin/my_init – /s…” 3 minutes ago Exited (1) 8 seconds ago seafile
5485fd6eeba6 mariadb:10.1 “docker-entrypoint.s…” 3 minutes ago Up 3 minutes 3306/tcp seafile-mysql
3c797072e102 memcached:1.5.6 “memcached -m 256” 3 minutes ago Up 3 minutes 11211/tcp seafile-memcached
[root@cloud ~]#

Is there any log I can check to see the reason it stops?
This does explain why it is not working only the reason why is not clear.

Anybody? Any advice?
So Centos 7 and Seafile 7 don’t work with docker?

Docker logs seafile also not showing anything?