Hello all
Got an error when starting for the first time a server using docker.
It seems it can’t run the script to setup the db I have no idea why
seafile | [2024-02-01 00:29:35] Now running setup-seafile-mysql.py in auto mode.
seafile-mysql | 2024-02-01 0:29:35 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'seafile' host: '172.22.0.4' (Got an error reading communication packets)
seafile | Traceback (most recent call last):
seafile | File "/scripts/start.py", line 95, in <module>
seafile | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
seafile | main()
seafile | File "/scripts/start.py", line 59, in main
seafile | init_seafile_server()
seafile | File "/scripts/bootstrap.py", line 166, in init_seafile_server
seafile | call('{} auto -n seafile'.format(setup_script), env=env)
seafile | File "/scripts/utils.py", line 70, in call
seafile | return subprocess.check_call(*a, **kw)
seafile | File "/usr/lib/python3.10/subprocess.py", line 364, in check_call
seafile | retcode = call(*popenargs, **kwargs)
seafile | File "/usr/lib/python3.10/subprocess.py", line 345, in call
seafile | with Popen(*popenargs, **kwargs) as p:
seafile | File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
seafile | self._execute_child(args, executable, preexec_fn, close_fds,
seafile | File "/usr/lib/python3.10/subprocess.py", line 1783, in _execute_child
seafile | env_list.append(k + b'=' + os.fsencode(v))
seafile | File "/usr/lib/python3.10/os.py", line 811, in fsencode
seafile | filename = fspath(filename) # Does type-checking of `filename`.
seafile | TypeError: expected str, bytes or os.PathLike object, not int