Internal server error ECONNREFUSED

Hello,

Overnight it became impossible to connect to our base. Below is the error we see in the log. How would we go about troubleshooting this?

[2024-03-30 08:16:52] [ERROR] node:net[1278] - Error: connect ECONNREFUSED 172.18.0.13:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
    --------------------
    at Protocol._enqueue (/opt/seatable/seatable-server-4.3.10/dtable-server/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/opt/seatable/seatable-server-4.3.10/dtable-server/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/opt/seatable/seatable-server-4.3.10/dtable-server/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/opt/seatable/seatable-server-4.3.10/dtable-server/node_modules/mysql/lib/Pool.js:48:16)
    at Pool.query (/opt/seatable/seatable-server-4.3.10/dtable-server/node_modules/mysql/lib/Pool.js:202:8)
    at DBHelper (/opt/seatable/seatable-server-4.3.10/dtable-server/dist/src/db-helper/index.js:43:12)
    at /opt/seatable/seatable-server-4.3.10/dtable-server/dist/src/utils/dtable-utils.js:186:29
    at new Promise (<anonymous>)
    at Function.getDTableInStorage (/opt/seatable/seatable-server-4.3.10/dtable-server/dist/src/utils/dtable-utils.js:185:12)
    at Function.loadDtableData (/opt/seatable/seatable-server-4.3.10/dtable-server/dist/src/utils/dtable-utils.js:24:36) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '172.18.0.13',
  port: 3306,
  fatal: true
}
[2024-03-30 08:16:52] [ERROR] http-service.js[81] - dtable_uuid: dae0f57ccd9941c9a8241d352e214bcd - Dtable load failed dae0f57ccd9941c9a8241d352e214bcd

I solved this problem.

After switching to 4.3 you must rename db to mariadb as it is stated in the manual and it fixes the problem. Better to switch to the new installation method.

Switch Installation Method (v4.3) - SeaTable Admin Manual

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.