以前多次升级都正常,今天本来想升级到3.0,可是服务启动后网络无法访问,在服务器上执行也被拒绝
用以前的服务器备份还是不行
$ curl http://localhost -v
Recv failure: Connection reset by peer
Closing connection 0
curl: (56) Recv failure: Connection reset by peer
日志显示上看像是新安装的一样
$ sudo docker logs seatable
*** Running /etc/my_init.d/01_init.sh…
*** Booting runit daemon…
*** Runit started as PID 17
*** Running /templates/enterpoint.sh…
2022-06-24 15:26:14 Conf exists
2022-06-24 15:26:14 Nginx ready
2022-06-24 15:26:14 This is a idle script (infinite loop) to keep container running.
看起来是数据库的问题
Version: ‘10.5.8-MariaDB-1:10.5.8+maria~focal’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
2022-06-24 7:46:10 0 [Note] InnoDB: Buffer pool(s) load completed at 220624 7:46:10
2022-06-24 7:47:50 3 [Warning] Aborted connection 3 to db: ‘seafile_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:47:50 5 [Warning] Aborted connection 5 to db: ‘dtable_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:48:18 6 [Warning] Aborted connection 6 to db: ‘seafile_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:48:18 8 [Warning] Aborted connection 8 to db: ‘dtable_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:48:25 9 [Warning] Aborted connection 9 to db: ‘seafile_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:48:25 11 [Warning] Aborted connection 11 to db: ‘dtable_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:49:33 12 [Warning] Aborted connection 12 to db: ‘seafile_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:49:33 14 [Warning] Aborted connection 14 to db: ‘dtable_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:54:10 15 [Warning] Aborted connection 15 to db: ‘seafile_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:54:10 17 [Warning] Aborted connection 17 to db: ‘dtable_db’ user: ‘root’ host: ‘172.18.0.5’ (Got an error reading communication packets)
2022-06-24 7:56:00 0 [Note] mysqld (initiated by: unknown): Normal shutdown
2022-06-24 7:56:00 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-06-24 7:56:00 0 [Note] InnoDB: FTS optimize thread exiting.
2022-06-24 7:56:00 0 [Note] InnoDB: Starting shutdown…
2022-06-24 7:56:00 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-06-24 7:56:00 0 [Note] InnoDB: Restricted to 2016 pages due to innodb_buf_pool_dump_pct=25
2022-06-24 7:56:00 0 [Note] InnoDB: Buffer pool(s) dump completed at 220624 7:56:00
2022-06-24 7:56:01 0 [Note] InnoDB: Shutdown completed; log sequence number 979650437; transaction id 887972
2022-06-24 7:56:01 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”
2022-06-24 7:56:01 0 [Note] mysqld: Shutdown complete