Skip to content

[Warning] Aborted connection xxxxx to db: 'seafile_db' user: 'seafile' host: '172.23.0.7' (Got an error reading communication packets) #3052

Description

@kasdvn17

For some reasons, the seafile-mysql container immediately spams this warning, and during this time, Seafile is not accessible. I tried restarting, updating the compose but got the same error.

The seafile doesn't have any suspicious logs:

*** Running /etc/my_init.d/01_create_data_links.sh...
*** Booting runit daemon...
*** Runit started as PID 16
*** Running /scripts/enterpoint.sh...
2026-06-30 22:31:25 Nginx ready 
2026-06-30 22:31:25 This is an idle script (infinite loop) to keep container running. 
nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored
[2026-06-30 22:31:26] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[06/30/2026 22:31:26][upgrade]: Running script /opt/seafile/seafile-pro-server-13.0.24/upgrade/minor-upgrade.sh

-------------------------------------------------------------
This script would do the minor upgrade for you.
Press [ENTER] to contiune
-------------------------------------------------------------


renaming the gunicorn.conf to gunicorn.conf.py ...

Done

------------------------------
migrating avatars ...


DONE
------------------------------


Moving the elasticsearch's configuration file ...


updating seafile-server-latest symbolic link to /opt/seafile/seafile-pro-server-13.0.24 ...

DONE
------------------------------


Starting seafile server, please wait ...
Seafile server started

Done.

Starting seahub at port 8000 ...

Seahub is started

Done.

This is the log from seafile-mysql:

2026-06-30 15:31:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.18+maria~ubu2204 started.
2026-06-30 15:31:20+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
2026-06-30 15:31:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2026-06-30 15:31:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.18+maria~ubu2204 started.
2026-06-30 15:31:20+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2026-06-30 15:31:20 0 [Note] Starting MariaDB 10.11.18-MariaDB-ubu2204 source revision 197f92bee02d8e836f529f37625be69b83e7acbd server_uid yPcEjrc6JiQqICBwQ9i/BuQoW94= as process 1
2026-06-30 15:31:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2026-06-30 15:31:20 0 [Note] InnoDB: Number of transaction pools: 1
2026-06-30 15:31:20 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2026-06-30 15:31:20 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2026-06-30 15:31:20 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
create_uring failed: falling back to libaio
2026-06-30 15:31:20 0 [Note] InnoDB: Using Linux native AIO
2026-06-30 15:31:20 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
2026-06-30 15:31:20 0 [Note] InnoDB: Completed initialization of buffer pool
2026-06-30 15:31:20 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
2026-06-30 15:31:20 0 [Note] InnoDB: End of log at LSN=155139445
2026-06-30 15:31:20 0 [Note] InnoDB: 128 rollback segments are active.
2026-06-30 15:31:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
2026-06-30 15:31:20 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2026-06-30 15:31:20 0 [Note] InnoDB: log sequence number 155139445; transaction id 245400
2026-06-30 15:31:20 0 [Note] Plugin 'FEEDBACK' is disabled.
2026-06-30 15:31:20 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2026-06-30 15:31:20 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
2026-06-30 15:31:20 0 [Note] Server socket created on IP: '0.0.0.0', port: '3306'.
2026-06-30 15:31:20 0 [Note] Server socket created on IP: '::', port: '3306'.
2026-06-30 15:31:20 0 [Note] mariadbd: ready for connections.
Version: '10.11.18-MariaDB-ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
2026-06-30 15:31:20 0 [Note] InnoDB: Buffer pool(s) load completed at 260630 15:31:20
2026-06-30 15:34:04 118 [Warning] Aborted connection 118 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 120 [Warning] Aborted connection 120 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 121 [Warning] Aborted connection 121 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 140 [Warning] Aborted connection 140 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 142 [Warning] Aborted connection 142 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 117 [Warning] Aborted connection 117 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 119 [Warning] Aborted connection 119 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 141 [Warning] Aborted connection 141 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 143 [Warning] Aborted connection 143 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 147 [Warning] Aborted connection 147 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 149 [Warning] Aborted connection 149 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 151 [Warning] Aborted connection 151 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 153 [Warning] Aborted connection 153 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 155 [Warning] Aborted connection 155 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:11 157 [Warning] Aborted connection 157 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 159 [Warning] Aborted connection 159 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 145 [Warning] Aborted connection 145 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 146 [Warning] Aborted connection 146 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 150 [Warning] Aborted connection 150 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 152 [Warning] Aborted connection 152 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 154 [Warning] Aborted connection 154 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 148 [Warning] Aborted connection 148 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 156 [Warning] Aborted connection 156 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 161 [Warning] Aborted connection 161 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 160 [Warning] Aborted connection 160 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 158 [Warning] Aborted connection 158 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 163 [Warning] Aborted connection 163 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 168 [Warning] Aborted connection 168 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 170 [Warning] Aborted connection 170 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 172 [Warning] Aborted connection 172 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 175 [Warning] Aborted connection 175 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:12 177 [Warning] Aborted connection 177 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 180 [Warning] Aborted connection 180 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 165 [Warning] Aborted connection 165 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 167 [Warning] Aborted connection 167 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 166 [Warning] Aborted connection 166 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 169 [Warning] Aborted connection 169 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 171 [Warning] Aborted connection 171 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 173 [Warning] Aborted connection 173 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 174 [Warning] Aborted connection 174 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 179 [Warning] Aborted connection 179 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 178 [Warning] Aborted connection 178 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 176 [Warning] Aborted connection 176 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 182 [Warning] Aborted connection 182 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 181 [Warning] Aborted connection 181 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 184 [Warning] Aborted connection 184 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 186 [Warning] Aborted connection 186 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 188 [Warning] Aborted connection 188 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 190 [Warning] Aborted connection 190 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 192 [Warning] Aborted connection 192 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 194 [Warning] Aborted connection 194 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 196 [Warning] Aborted connection 196 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 199 [Warning] Aborted connection 199 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 201 [Warning] Aborted connection 201 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 185 [Warning] Aborted connection 185 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 187 [Warning] Aborted connection 187 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 189 [Warning] Aborted connection 189 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 193 [Warning] Aborted connection 193 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 195 [Warning] Aborted connection 195 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 198 [Warning] Aborted connection 198 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 197 [Warning] Aborted connection 197 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 203 [Warning] Aborted connection 203 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 191 [Warning] Aborted connection 191 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 202 [Warning] Aborted connection 202 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 200 [Warning] Aborted connection 200 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:18 204 [Warning] Aborted connection 204 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 206 [Warning] Aborted connection 206 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 208 [Warning] Aborted connection 208 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 210 [Warning] Aborted connection 210 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 212 [Warning] Aborted connection 212 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 214 [Warning] Aborted connection 214 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 217 [Warning] Aborted connection 217 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 219 [Warning] Aborted connection 219 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 223 [Warning] Aborted connection 223 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 209 [Warning] Aborted connection 209 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 207 [Warning] Aborted connection 207 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 211 [Warning] Aborted connection 211 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 215 [Warning] Aborted connection 215 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 218 [Warning] Aborted connection 218 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 213 [Warning] Aborted connection 213 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 220 [Warning] Aborted connection 220 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 216 [Warning] Aborted connection 216 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 224 [Warning] Aborted connection 224 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 225 [Warning] Aborted connection 225 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 221 [Warning] Aborted connection 221 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 222 [Warning] Aborted connection 222 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 227 [Warning] Aborted connection 227 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:19 229 [Warning] Aborted connection 229 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)
2026-06-30 15:34:20 231 [Warning] Aborted connection 231 to db: 'seafile_db' user: 'seafile' host: '172.23.0.11' (Got an error reading communication packets)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Question.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions