Fresh Docker issue: Access denied for user 'seafile'

Hi

I just installed using Docker but I am getting these errors, I am not sure why that is the case. I used the recommended docker-compose with minor modifications like adminpasswd, and mysql version (11.4), it looked like there was a bug in 10 that was causing another issue (

Debian bookworm/sid,

seafile-mysql | 2024-09-20 00:16:01+00:00 [Note] [Entrypoint]: Stopping temporary server
seafile-mysql | 2024-09-20  0:16:01 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
seafile-mysql | 2024-09-20  0:16:01 0 [Note] InnoDB: FTS optimize thread exiting.
seafile-mysql | 2024-09-20  0:16:07 0 [Note] InnoDB: Starting shutdown...
seafile-mysql | 2024-09-20  0:16:07 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2024-09-20  0:16:07 0 [Note] InnoDB: Buffer pool(s) dump completed at 240920  0:16:07
seafile-mysql | 2024-09-20  0:16:07 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
seafile-mysql | 2024-09-20  0:16:07 0 [Note] InnoDB: Shutdown completed; log sequence number 47629; transaction id 15
seafile-mysql | 2024-09-20  0:16:08 0 [Note] mariadbd: Shutdown complete
seafile-mysql |
seafile-mysql | 2024-09-20 00:16:09+00:00 [Note] [Entrypoint]: Temporary server stopped
seafile-mysql |
seafile-mysql | 2024-09-20 00:16:09+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
seafile-mysql |
seafile-mysql | 2024-09-20  0:16:12 0 [Note] Starting MariaDB 11.4.2-MariaDB-ubu2404 source revision 3fca5ed772fb75e3e57c507edef2985f8eba5b12 as process 1
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: Compressed tables use zlib 1.3
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: Number of transaction pools: 1
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: Using SSE4.2 crc32 instructions
seafile-mysql | 2024-09-20  0:16:12 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
seafile-mysql | 2024-09-20  0:16:12 0 [Note] InnoDB: End of log at LSN=47629
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: Opened 3 undo tablespaces
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: log sequence number 47629; transaction id 14
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2024-09-20  0:16:13 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile-mysql | 2024-09-20  0:16:13 0 [Note] Plugin 'wsrep-provider' is disabled.
seafile-mysql | 2024-09-20  0:16:13 0 [Note] InnoDB: Buffer pool(s) load completed at 240920  0:16:13
seafile-mysql | 2024-09-20  0:16:22 0 [Note] Server socket created on IP: '0.0.0.0'.
seafile-mysql | 2024-09-20  0:16:22 0 [Note] Server socket created on IP: '::'.
seafile-mysql | 2024-09-20  0:16:23 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
seafile-mysql | 2024-09-20  0:16:23 0 [Note] mariadbd: ready for connections.
seafile-mysql | Version: '11.4.2-MariaDB-ubu2404'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
seafile-mysql | 2024-09-20  0:16:23 3 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:16:25 4 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:16:27 5 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:16:29 6 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:16:31 7 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:16:33 8 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:16:36 9 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:17:30 36 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile-mysql | 2024-09-20  0:17:32 37 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES
seafile-mysql | 2024-09-20  0:17:28 35 [Warning] Access denied for user 'seafile'@'172.26.0.1' (using password: YES)
seafile      | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
seafile      | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
seafile      | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
seafile      | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
seafile      | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")

I deleted all the created data folders, database folders and did from scratch again but I am getting another similar issue :

seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile      | waiting for mysql server to be ready: %s (1130, "Host '172.29.0.4' is not allowed to connect to this MariaDB server")
seafile-mysql | 2024-09-20  0:58:47 369 [Warning] Aborted connection 369 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)
seafile-mysql | 2024-09-20  0:58:49 370 [Warning] Aborted connection 370 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)
seafile-mysql | 2024-09-20  0:58:51 371 [Warning] Aborted connection 371 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)
seafile-mysql | 2024-09-20  0:58:53 372 [Warning] Aborted connection 372 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)
seafile-mysql | 2024-09-20  0:58:55 373 [Warning] Aborted connection 373 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)
seafile-mysql | 2024-09-20  0:58:57 374 [Warning] Aborted connection 374 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)
seafile-mysql | 2024-09-20  0:58:59 375 [Warning] Aborted connection 375 to db: 'unconnected' user: 'unauthenticated' host: '172.29.0.4' (This connection closed normally without authentication)