Seahub version: 8.0.3
Image build version: 002
Changelog:
- Run socat in an endless loop. This fixes a race condition, where seahub tries to connect to seafile-server before it is even deployed and then fails to connect because the hostname can not be resolved. This should only have affected Docker Swarm because it can't handle
depends_on
relationships. - Implement a function that monitors if seafile-server is connectable. If it is not connectable, it stops seahub and waits until seafile-server is connectable to start seahub again. This fixes a rare issue in situations where seafile-server has been restarted without restarting seahub, where the first request to seahub always resulted in an HTTP error 500.