I think there might be a problem with the watch_controller(): in /scripts/start.py, if we run a fsck that seems to run a bit too long.
def watch_controller():
maxretry = 4
retry = 0
while retry < maxretry:
controller_pid = get_command_output('ps aux | grep seafile-controller | grep -v grep || true').strip()
garbage_collector_pid = get_command_output('ps aux | grep /scripts/gc.sh | grep -v grep || true').strip()
if not controller_pid and not garbage_collector_pid:
retry += 1
else:
retry = 0
time.sleep(5)
print('seafile controller exited unexpectedly.')
sys.exit(1)
I tried to add an additional check with fsck.sh but got no luck
fsck_pid = get_command_output('ps aux | grep /scripts/fsck.sh | grep -v grep || true').strip()
if not controller_pid and not garbage_collector_pid and not fsck_pid:
After a few seconds I only see seafile controller exited and the container dies. Can anybody give me an hint how to fix this?
Hello,
I think there might be a problem with the watch_controller(): in /scripts/start.py, if we run a fsck that seems to run a bit too long.
I tried to add an additional check with fsck.sh but got no luck
After a few seconds I only see seafile controller exited and the container dies. Can anybody give me an hint how to fix this?
Regards
Matthias