Database timeout SequelizeConnectionAcquire

Hello everyone, yesterday I installed PeerTube 6.3.3 and I’m getting database errors, and a ton of errors have come through, now the logs are quiet. I also don’t see any difficulties in the logs of the database itself. Here is the Peertube and Nginx log below. like some kind of wave rolled by. what could it be? Thank you
Ubuntu 24.04
PeerTube 6.3.3
Nginx 1.27
Postgres 16

{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async getVideoDuration (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/video.js:15:19)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:16:02.966Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:16:02 +0000] \"POST /api/v1/videos/1c799a57-013a-4f1a-a020-a527c995adf2/views HTTP/1.0\" 500 317 \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:16:02.967Z"}
{"level":"error","message":"Cannot execute UpdateVideosScheduler scheduler.","label":"angeltales.angellive.ru:443","err":{"stack":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async PostgresQueryInterface.select (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:12)\n    at async ScheduleVideoUpdateModel.findAll (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1140:21)\n    at async ScheduleVideoUpdateModel.findOne (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1240:12)\n    at async UpdateVideosScheduler.updateVideos (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/update-videos-scheduler.js:22:14)\n    at async UpdateVideosScheduler.execute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/abstract-scheduler.js:19:13)","message":"Operation timeout","name":"SequelizeConnectionAcquireTimeoutError","parent":{"stack":"Error: Operation timeout\n    at Timeout.<anonymous> (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize-pool/lib/Deferred.js:17:25)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","message":"Operation timeout"}},"timestamp":"2024-11-02T09:16:15.820Z"}
{"level":"error","message":"Cannot execute RunnerJobWatchDogScheduler scheduler.","label":"angeltales.angellive.ru:443","err":{"stack":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async PostgresQueryInterface.select (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:12)\n    at async RunnerJobModel.findAll (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1140:21)\n    at async RunnerJobWatchDogScheduler.internalExecute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/runner-job-watch-dog-scheduler.js:14:32)\n    at async RunnerJobWatchDogScheduler.execute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/abstract-scheduler.js:19:13)","message":"Operation timeout","name":"SequelizeConnectionAcquireTimeoutError","parent":{"stack":"Error: Operation timeout\n    at Timeout.<anonymous> (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize-pool/lib/Deferred.js:17:25)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","message":"Operation timeout"}},"timestamp":"2024-11-02T09:16:16.132Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:16:22.213Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:16:22 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/25354be1-23c7-493b-862a-7208d5cf898f-720-fragmented.mp4 HTTP/1.0\" 500 236 \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:16:22.217Z"}
{"err":{"stack":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async doesExist (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/shared/query.js:12:21)","message":"Operation timeout","name":"SequelizeConnectionAcquireTimeoutError","parent":{"stack":"Error: Operation timeout\n    at Timeout.<anonymous> (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize-pool/lib/Deferred.js:17:25)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","message":"Operation timeout"}},"level":"error","message":"Error in tracker filter.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:07.025Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:17:22 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/25354be1-23c7-493b-862a-7208d5cf898f-720-fragmented.mp4 HTTP/1.0\" - - \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:22.400Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:17:22 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/e5c42983-e5bf-459a-80d9-327bced7f632-360.m3u8 HTTP/1.0\" - - \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:22.401Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:22.407Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:22.409Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:17:23 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/25354be1-23c7-493b-862a-7208d5cf898f-720-fragmented.mp4 HTTP/1.0\" - - \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:23.389Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:17:23.391Z"}
{"level":"error","message":"Cannot execute RunnerJobWatchDogScheduler scheduler.","label":"angeltales.angellive.ru:443","err":{"stack":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async PostgresQueryInterface.select (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:12)\n    at async RunnerJobModel.findAll (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1140:21)\n    at async RunnerJobWatchDogScheduler.internalExecute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/runner-job-watch-dog-scheduler.js:14:32)\n    at async RunnerJobWatchDogScheduler.execute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/abstract-scheduler.js:19:13)","message":"Operation timeout","name":"SequelizeConnectionAcquireTimeoutError","parent":{"stack":"Error: Operation timeout\n    at Timeout.<anonymous> (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize-pool/lib/Deferred.js:17:25)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","message":"Operation timeout"}},"timestamp":"2024-11-02T09:17:46.135Z"}
{"level":"error","message":"Cannot execute UpdateVideosScheduler scheduler.","label":"angeltales.angellive.ru:443","err":{"stack":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async PostgresQueryInterface.select (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:12)\n    at async ScheduleVideoUpdateModel.findAll (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1140:21)\n    at async ScheduleVideoUpdateModel.findOne (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1240:12)\n    at async UpdateVideosScheduler.updateVideos (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/update-videos-scheduler.js:22:14)\n    at async UpdateVideosScheduler.execute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/abstract-scheduler.js:19:13)","message":"Operation timeout","name":"SequelizeConnectionAcquireTimeoutError","parent":{"stack":"Error: Operation timeout\n    at Timeout.<anonymous> (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize-pool/lib/Deferred.js:17:25)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","message":"Operation timeout"}},"timestamp":"2024-11-02T09:18:15.818Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:18:23.549Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:18:23 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/e5c42983-e5bf-459a-80d9-327bced7f632-360.m3u8 HTTP/1.0\" 500 236 \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:18:23.552Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:18:23 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/25354be1-23c7-493b-862a-7208d5cf898f-720-fragmented.mp4 HTTP/1.0\" - - \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:18:23.579Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:18:23.585Z"}
{"tags":["http"],"level":"info","message":"95.153.0.0 - - [02/Nov/2024:09:18:24 +0000] \"GET /static/streaming-playlists/hls/private/1c799a57-013a-4f1a-a020-a527c995adf2/25354be1-23c7-493b-862a-7208d5cf898f-720-fragmented.mp4 HTTP/1.0\" - - \"https://angeltales.angellive.ru/w/4vWxTVc2WmvwcjsmxGd21f\" \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36\"","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:18:24.618Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:18:24.620Z"}
{"level":"error","message":"Cannot execute RunnerJobWatchDogScheduler scheduler.","label":"angeltales.angellive.ru:443","err":{"stack":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async PostgresQueryInterface.select (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:12)\n    at async RunnerJobModel.findAll (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/model.js:1140:21)\n    at async RunnerJobWatchDogScheduler.internalExecute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/runner-job-watch-dog-scheduler.js:14:32)\n    at async RunnerJobWatchDogScheduler.execute (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/lib/schedulers/abstract-scheduler.js:19:13)","message":"Operation timeout","name":"SequelizeConnectionAcquireTimeoutError","parent":{"stack":"Error: Operation timeout\n    at Timeout.<anonymous> (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize-pool/lib/Deferred.js:17:25)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","message":"Operation timeout"}},"timestamp":"2024-11-02T09:19:16.136Z"}
{"err":"SequelizeConnectionAcquireTimeoutError: Operation timeout\n    at ConnectionManager.getConnection (/var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:206:15)\n    at runNextTicks (node:internal/process/task_queues:60:5)\n    at listOnTimeout (node:internal/timers:545:9)\n    at process.processTimers (node:internal/timers:519:7)\n    at async /var/www/peertube/versions/peertube-v6.3.3/node_modules/sequelize/lib/sequelize.js:305:26\n    at async Promise.all (index 0)\n    at async VideoModelGetQueryBuilder.queryVideo (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/models/video/sql/video/video-model-get-query-builder.js:16:76)\n    at async isHLSAllowed (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:105:19)\n    at async ensureCanAccessPrivateVideoHLSFiles (file:///var/www/peertube/versions/peertube-v6.3.3/dist/core/middlewares/validators/static.js:77:24)","level":"error","message":"Error in controller.","label":"angeltales.angellive.ru:443","timestamp":"2024-11-02T09:19:25.044Z"}
1.1.1.1 - - [02/Nov/2024:09:05:06 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 204 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:05:06 +0000] "GET /api/v1/users/me/video-playlists/videos-exist?videoIds=620&videoIds=618&videoIds=617&videoIds=616&videoIds=615 HTTP/3.0" 304 0 "https://angeltales.angellive.ru/videos/recently-added?s=1" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:10 +0000] "GET /static/streaming-playlists/hls/private/22ab6947-88ed-4389-b8ed-681be11298b8/7a13a5b1-06e5-4bf2-ba6a-0b362ab3863f-720-fragmented.mp4 HTTP/3.0" 206 205911 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:11 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 204 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:14 +0000] "GET /static/streaming-playlists/hls/private/22ab6947-88ed-4389-b8ed-681be11298b8/7a13a5b1-06e5-4bf2-ba6a-0b362ab3863f-720-fragmented.mp4 HTTP/3.0" 206 218004 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:05:15 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:05:15 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:05:15 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:18 +0000] "GET /static/streaming-playlists/hls/private/22ab6947-88ed-4389-b8ed-681be11298b8/7a13a5b1-06e5-4bf2-ba6a-0b362ab3863f-720-fragmented.mp4 HTTP/3.0" 206 239798 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:22 +0000] "GET /static/streaming-playlists/hls/private/22ab6947-88ed-4389-b8ed-681be11298b8/7a13a5b1-06e5-4bf2-ba6a-0b362ab3863f-720-fragmented.mp4 HTTP/3.0" 206 260235 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "GET /static/streaming-playlists/hls/private/22ab6947-88ed-4389-b8ed-681be11298b8/7a13a5b1-06e5-4bf2-ba6a-0b362ab3863f-720-fragmented.mp4 HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:05:50 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/3.0" 000 0 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:06:14 +0000] "GET /api/v1/videos?start=15&count=5&sort=-publishedAt&skipCount=true&nsfw=both HTTP/3.0" 000 0 "https://angeltales.angellive.ru/videos/recently-added?s=1" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
95.153.161.158 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:16 +0000] "POST /api/v1/videos/22ab6947-88ed-4389-b8ed-681be11298b8/views HTTP/2.0" 500 317 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:18 +0000] "GET /socket.io/?accessToken=f58573e16af8b30d7a846b72b56c6c265001143e&EIO=4&transport=polling&t=PBi80_l HTTP/3.0" 200 118 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:18 +0000] "POST /socket.io/?accessToken=f58573e16af8b30d7a846b72b56c6c265001143e&EIO=4&transport=polling&t=PBi815k&sid=uXlUWaD7c430fZIGAAAV HTTP/3.0" 200 2 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"
1.1.1.1 - - [02/Nov/2024:09:06:18 +0000] "GET /socket.io/?accessToken=f58573e16af8b30d7a846b72b56c6c265001143e&EIO=4&transport=polling&t=PBi816i&sid=uXlUWaD7c430fZIGAAAV HTTP/3.0" 200 52 "https://angeltales.angellive.ru/w/5hiM9jnCVzU6m71dkELgX7" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36"

Logs Postgres all normal

2024-11-02 07:44:13.231 UTC [724] LOG:  checkpoint starting: time
2024-11-02 07:44:14.917 UTC [724] LOG:  checkpoint complete: wrote 16 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.515 s, sync=0.086 s, total=1.686 s; sync files=15, longest=0.083 s, average=0.006 s; distance=78 kB, estimate=118 kB; lsn=0/3A84638, redo lsn=0/3A84600
2024-11-02 08:04:14.232 UTC [724] LOG:  checkpoint starting: time
2024-11-02 08:04:15.092 UTC [724] LOG:  checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.709 s, sync=0.037 s, total=0.860 s; sync files=8, longest=0.036 s, average=0.005 s; distance=19 kB, estimate=108 kB; lsn=0/3A89330, redo lsn=0/3A892F8
2024-11-02 08:14:14.234 UTC [724] LOG:  checkpoint starting: time
2024-11-02 08:14:16.546 UTC [724] LOG:  checkpoint complete: wrote 22 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.162 s, sync=0.026 s, total=2.313 s; sync files=12, longest=0.024 s, average=0.003 s; distance=85 kB, estimate=106 kB; lsn=0/3A9E748, redo lsn=0/3A9E710
2024-11-02 08:44:14.964 UTC [724] LOG:  checkpoint starting: time
2024-11-02 08:44:16.786 UTC [724] LOG:  checkpoint complete: wrote 18 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.732 s, sync=0.038 s, total=1.823 s; sync files=17, longest=0.029 s, average=0.003 s; distance=86 kB, estimate=104 kB; lsn=0/3AB3FB0, redo lsn=0/3AB3F78
2024-11-02 08:49:14.878 UTC [724] LOG:  checkpoint starting: time
2024-11-02 08:49:16.095 UTC [724] LOG:  checkpoint complete: wrote 12 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.119 s, sync=0.036 s, total=1.217 s; sync files=12, longest=0.033 s, average=0.003 s; distance=33 kB, estimate=97 kB; lsn=0/3ABC578, redo lsn=0/3ABC540
2024-11-02 09:04:14.285 UTC [724] LOG:  checkpoint starting: time
2024-11-02 09:11:11.298 UTC [724] LOG:  checkpoint complete: wrote 13 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.704 s, sync=0.244 s, total=417.013 s; sync files=12, longest=0.243 s, average=0.021 s; distance=19 kB, estimate=89 kB; lsn=0/3AC8098, redo lsn=0/3AC1280
2024-11-02 09:16:11.360 UTC [724] LOG:  checkpoint starting: time
2024-11-02 09:25:13.727 UTC [724] LOG:  checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.188 s, sync=1.339 s, total=542.367 s; sync files=4, longest=0.503 s, average=0.335 s; distance=36 kB, estimate=84 kB; lsn=0/3ACC5A0, redo lsn=0/3ACA5A8
2024-11-02 09:30:13.816 UTC [724] LOG:  checkpoint starting: time
2024-11-02 09:30:14.425 UTC [724] LOG:  checkpoint complete: wrote 5 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.413 s, sync=0.047 s, total=0.609 s; sync files=4, longest=0.026 s, average=0.012 s; distance=37 kB, estimate=79 kB; lsn=0/3AD3D90, redo lsn=0/3AD3D58
2024-11-02 09:35:13.491 UTC [724] LOG:  checkpoint starting: time
2024-11-02 09:35:14.090 UTC [724] LOG:  checkpoint complete: wrote 5 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.419 s, sync=0.050 s, total=0.599 s; sync files=4, longest=0.031 s, average=0.013 s; distance=36 kB, estimate=75 kB; lsn=0/3ADD030, redo lsn=0/3ADCFF8
2024-11-02 09:40:13.176 UTC [724] LOG:  checkpoint starting: time
2024-11-02 09:40:15.507 UTC [724] LOG:  checkpoint complete: wrote 21 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=2.028 s, sync=0.056 s, total=2.332 s; sync files=15, longest=0.051 s, average=0.004 s; distance=108 kB, estimate=108 kB; lsn=0/3AF8068, redo lsn=0/3AF8030
2024-11-02 10:00:13.873 UTC [724] LOG:  checkpoint starting: time
2024-11-02 10:00:15.587 UTC [724] LOG:  checkpoint complete: wrote 17 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.616 s, sync=0.039 s, total=1.715 s; sync files=16, longest=0.036 s, average=0.003 s; distance=42 kB, estimate=101 kB; lsn=0/3B02BF0, redo lsn=0/3B02BB8
2024-11-02 10:05:13.616 UTC [724] LOG:  checkpoint starting: time
2024-11-02 10:05:14.822 UTC [724] LOG:  checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.016 s, sync=0.090 s, total=1.206 s; sync files=10, longest=0.088 s, average=0.009 s; distance=37 kB, estimate=95 kB; lsn=0/3B0C250, redo lsn=0/3B0C218

Everything was fine, why such a failure was not very clear)