Hi all, looking for some help here.
I followed the instructions here for deploying the seafile docker containers: Seafile Server
Customized nothing besides the mysql path. Started the containers with docker-compose, visited the seahub address and get “502 bad gateway” instead of seahub.
I am also seeing an “access denied” mysql error which makes no sense, because again, I have customized nothing with these containers.
Are the containers considered production ready?
Here’s my logs. Thanks for the help!
Starting seafile-memcached … done
Starting seafile-mysql … done
Recreating seafile … done
Attaching to seafile-memcached, seafile-mysql, seafile
seafile-mysql | 2021-08-18 16:55:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
seafile-mysql | 2021-08-18 16:55:39+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
seafile-mysql | 2021-08-18 16:55:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
seafile-mysql | 2021-08-18 16:55:39 0 [Note] mysqld (mysqld 10.5.12-MariaDB-1:10.5.12+maria~focal) starting as process 1 …
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Uses event mutexes
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Number of pools: 1
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile-mysql | 2021-08-18 16:55:39 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Using Linux native AIO
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Creating shared tablespace for temporary tables
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Setting file ‘./ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: File ‘./ibtmp1’ size is now 12 MB.
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: 10.5.12 started; log sequence number 786395; transaction id 974
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2021-08-18 16:55:39 0 [Note] Plugin ‘FEEDBACK’ is disabled.
seafile-mysql | 2021-08-18 16:55:39 0 [Note] InnoDB: Buffer pool(s) load completed at 210818 16:55:39
seafile-mysql | 2021-08-18 16:55:39 0 [Note] Server socket created on IP: ‘::’.
seafile-mysql | 2021-08-18 16:55:39 0 [Warning] ‘proxies_priv’ entry ‘@% root@53f14a19d7d0’ ignored in --skip-name-resolve mode.
seafile-mysql | 2021-08-18 16:55:39 0 [Note] Reading of all Master_info entries succeeded
seafile-mysql | 2021-08-18 16:55:39 0 [Note] Added new Master_info ‘’ to hash table
seafile-mysql | 2021-08-18 16:55:39 0 [Note] mysqld: ready for connections.
seafile-mysql | Version: ‘10.5.12-MariaDB-1:10.5.12+maria~focal’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
seafile | *** Running /etc/my_init.d/01_create_data_links.sh…
seafile | *** Booting runit daemon…
seafile | *** Runit started as PID 16
seafile | *** Running /scripts/enterpoint.sh…
seafile | 2021-08-18 11:55:39 Waiting Nginx
seafile | 2021-08-18 11:55:40 Nginx ready
seafile | 2021-08-18 11:55:40 This is a idle script (infinite loop) to keep container running.
seafile-mysql | 2021-08-18 16:55:40 3 [Warning] Aborted connection 3 to db: ‘unconnected’ user: ‘root’ host: ‘172.19.0.4’ (Got an error reading communication packets)
seafile | Checking python on this machine …
seafile |
seafile-mysql | 2021-08-18 16:55:40 5 [Warning] Access denied for user ‘seafile’@‘172.19.0.4’ (using password: YES)
seafile |
seafile | verifying password of user root … done
seafile |
seafile | verifying password of user seafile …
seafile | Failed to connect to mysql server using user “seafile” and password “***”: Access denied for user ‘seafile’@‘172.19.0.4’ (using password: YES)
seafile |
seafile-mysql | 2021-08-18 16:55:40 4 [Warning] Aborted connection 4 to db: ‘unconnected’ user: ‘root’ host: ‘172.19.0.4’ (Got an error reading communication packets)
seafile | [2021-08-18 11:55:40] Now running setup-seafile-mysql.py in auto mode.
seafile | Traceback (most recent call last):
seafile | File “/scripts/start.py”, line 86, in
seafile | main()
seafile | File “/scripts/start.py”, line 56, in main
seafile | init_seafile_server()
seafile | File “/scripts/bootstrap.py”, line 145, 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.8/subprocess.py”, line 364, in check_call
seafile | raise CalledProcessError(retcode, cmd)
seafile | subprocess.CalledProcessError: Command ‘/opt/seafile/seafile-server-8.0.7/setup-seafile-mysql.sh auto -n seafile’ returned non-zero exit status 255.