nginx-1:/h3cnfs/seafile#docker-compose logs -f
Attaching to seafile-2024, seafile-mysql-2024, seafile-memcached-2024
seafile-mysql-2024 | 2024-12-03 07:33:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.16+maria~focal started.
seafile-mysql-2024 | 2024-12-03 07:33:15+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
seafile-mysql-2024 | 2024-12-03 07:33:15+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.16+maria~focal started.
seafile-mysql-2024 | 2024-12-03 07:33:15+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] mysqld (mysqld 10.5.16-MariaDB-1:10.5.16+maria~focal) starting as process 1 …
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Uses event mutexes
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Number of pools: 1
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Using Linux native AIO
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Creating shared tablespace for temporary tables
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Setting file ‘./ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: File ‘./ibtmp1’ size is now 12 MB.
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: 10.5.16 started; log sequence number 45166; transaction id 20
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] Plugin ‘FEEDBACK’ is disabled.
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] Server socket created on IP: ‘::’.
seafile-mysql-2024 | 2024-12-03 7:33:15 0 [Note] InnoDB: Buffer pool(s) load completed at 241203 7:33:15
seafile-mysql-2024 | 2024-12-03 7:33:16 0 [Note] Reading of all Master_info entries succeeded
seafile-mysql-2024 | 2024-12-03 7:33:16 0 [Note] Added new Master_info ‘’ to hash table
seafile-mysql-2024 | 2024-12-03 7:33:16 0 [Note] mysqld: ready for connections.
seafile-mysql-2024 | Version: ‘10.5.16-MariaDB-1:10.5.16+maria~focal’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
seafile-2024 | *** Running /etc/my_init.d/01_create_data_links.sh…
seafile-2024 | *** Booting runit daemon…
seafile-2024 | *** Runit started as PID 15
seafile-2024 | *** Running /scripts/enterpoint.sh…
seafile-2024 | 2024-12-03 15:33:21 Nginx ready
seafile-2024 | 2024-12-03 15:33:21 This is an idle script (infinite loop) to keep container running.
seafile-2024 | [2024-12-03 15:33:23] Now running setup-seafile-mysql.py in auto mode.
seafile-2024 | Checking python on this machine …
seafile-2024 |
seafile-2024 | The current version of python is not 3.x.x, please use Python 3.x.x .
seafile-2024 |
seafile-2024 |
seafile-2024 |
seafile-2024 | Error occured during setup.
seafile-2024 | Please fix possible problems and run the script again.
seafile-2024 |
seafile-2024 | Traceback (most recent call last):
seafile-2024 | File “/scripts/start.py”, line 94, in
seafile-2024 | main()
seafile-2024 | File “/scripts/start.py”, line 59, in main
seafile-2024 | init_seafile_server()
seafile-2024 | File “/scripts/bootstrap.py”, line 166, in init_seafile_server
seafile-2024 | call(‘{} auto -n seafile’.format(setup_script), env=env)
seafile-2024 | File “/scripts/utils.py”, line 70, in call
seafile-2024 | return subprocess.check_call(*a, **kw)
seafile-2024 | File “/usr/lib/python3.10/subprocess.py”, line 369, in check_call
seafile-2024 | raise CalledProcessError(retcode, cmd)
seafile-2024 | subprocess.CalledProcessError: Command ‘/opt/seafile/seafile-server-11.0.12/setup-seafile-mysql.sh auto -n seafile’ returned non-zero exit status 1.
大佬,问题来啦,镜像都是官方的镜像。直接官方镜像运行直接都运行不起来,是不是说明官方镜像里面python版本存在偏差,论坛里面貌似挺多人都碰到啦这个情况。。。
我登入容器里面看到应该是正常的 就一个版本
11.0版本已发布很长时间,官方镜像和脚本应该没问题。
- 您有没有在容器内单独安装过其他依赖,可以执行 docker-compose down ,再执行docker-compose up -d重启下;
- 可以发下yml的配置