Hello, I’m having difficulties starting n8n after the page’s certificate expired and was not automatically renewed.
I tried simply updating the n8n version to see if the issue is resolved, but now it’s just giving “bad gateway”.
I have enough disk space on linux.
Stopping n8n...
Initializing n8n process
INFO: Started with migration for wait functionality.
Depending on the number of saved executions, that may take a little bit.
query is slow: INSERT INTO "temporary_execution_entity"("id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId") SELECT "id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId" FROM "execution_entity"
execution time: 54272
query is slow: DROP TABLE "execution_entity"
execution time: 35084
query is slow: CREATE INDEX "IDX_cefb067df2402f6aed0638a6c1" ON "execution_entity" ("stoppedAt")
execution time: 129961
query is slow: CREATE INDEX "IDX_ca4a71b47f28ac6ea88293a8e2" ON "execution_entity" ("waitTill")
execution time: 8020
query is slow: VACUUM;
execution time: 256646
There was an error initializing DB: "SQLITE_FULL: database or disk is full"
Stopping n8n...
Initializing n8n process
query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
execution time: 13049
query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
execution time: 1003
There was an error initializing DB: "SQLITE_BUSY: database is locked"
Stopping n8n...
Initializing n8n process
query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
execution time: 13047
query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
execution time: 1009
There was an error initializing DB: "SQLITE_BUSY: database is locked"
Stopping n8n...
Initializing n8n process
query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
execution time: 10948
query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
execution time: 1004
There was an error initializing DB: "SQLITE_BUSY: database is locked"
Stopping n8n...
Initializing n8n process
query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
execution time: 10418
query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
execution time: 1005
There was an error initializing DB: "SQLITE_BUSY: database is locked"
Stopping n8n...
Initializing n8n process
query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
execution time: 9377
query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
execution time: 10103
INFO: Started with migration for wait functionality.
Depending on the number of saved executions, that may take a little bit.
query is slow: INSERT INTO "temporary_execution_entity"("id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId") SELECT "id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId" FROM "execution_entity"
execution time: 190494
Stopping n8n...
There was an error shutting down n8n. Error: InternalHooks not initialized
at Function.getInstance (/usr/local/lib/node_modules/n8n/dist/src/InternalHooksManager.js:11:15)
at process.stopProcess (/usr/local/lib/node_modules/n8n/dist/commands/start.js:31:46)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Initializing n8n process
INFO: Started with migration for wait functionality.
Depending on the number of saved executions, that may take a little bit.
[email protected]:~# docker logs -ft n8n_n8n_1
2022-02-01T17:37:22.951544806Z Initializing n8n process
2022-02-01T17:37:23.352861170Z
2022-02-01T17:37:23.352926541Z
2022-02-01T17:37:23.352936637Z INFO: Started with migration for wait functionality.
2022-02-01T17:37:23.352942862Z Depending on the number of saved executions, that may take a little bit.
2022-02-01T17:37:23.352947879Z
2022-02-01T17:37:23.352951259Z
2022-02-01T17:39:48.466395981Z query is slow: INSERT INTO "temporary_execution_entity"("id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId") SELECT "id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId" FROM "execution_entity"
2022-02-01T17:39:48.479992497Z execution time: 145021
2022-02-01T17:41:45.739306233Z query is slow: DROP TABLE "execution_entity"
2022-02-01T17:41:45.743485576Z execution time: 117256
2022-02-01T17:42:03.145129770Z query is slow: CREATE INDEX "IDX_cefb067df2402f6aed0638a6c1" ON "execution_entity" ("stoppedAt")
2022-02-01T17:42:03.147720051Z execution time: 17381
2022-02-01T17:42:12.447046119Z query is slow: CREATE INDEX "IDX_ca4a71b47f28ac6ea88293a8e2" ON "execution_entity" ("waitTill")
2022-02-01T17:42:12.449149769Z execution time: 9293
2022-02-01T17:43:42.702579766Z query is slow: VACUUM;
2022-02-01T17:43:42.716827060Z execution time: 90238
2022-02-01T17:43:42.721046170Z There was an error initializing DB: "SQLITE_FULL: database or disk is full"
2022-02-01T17:43:42.725387352Z
2022-02-01T17:43:42.725477928Z Stopping n8n...
2022-02-01T17:43:48.591392843Z Initializing n8n process
2022-02-01T17:43:49.051533963Z
2022-02-01T17:43:49.051598454Z
2022-02-01T17:43:49.051609077Z INFO: Started with migration for wait functionality.
2022-02-01T17:43:49.051615771Z Depending on the number of saved executions, that may take a little bit.
2022-02-01T17:43:49.051622132Z
2022-02-01T17:43:49.051628580Z
2022-02-01T17:44:19.488552450Z query is slow: INSERT INTO "temporary_execution_entity"("id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId") SELECT "id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId" FROM "execution_entity"
2022-02-01T17:44:19.492805918Z execution time: 30377
2022-02-01T17:44:34.723427749Z query is slow: DROP TABLE "execution_entity"
2022-02-01T17:44:34.724631404Z execution time: 15219
2022-02-01T17:45:13.254292454Z query is slow: CREATE INDEX "IDX_cefb067df2402f6aed0638a6c1" ON "execution_entity" ("stoppedAt")
2022-02-01T17:45:13.255227841Z execution time: 38507
2022-02-01T17:45:23.239616069Z query is slow: CREATE INDEX "IDX_ca4a71b47f28ac6ea88293a8e2" ON "execution_entity" ("waitTill")
2022-02-01T17:45:23.240625916Z execution time: 9979
2022-02-01T17:47:24.236088791Z query is slow: VACUUM;
2022-02-01T17:47:24.237931464Z execution time: 120985
2022-02-01T17:47:24.246084702Z There was an error initializing DB: "SQLITE_FULL: database or disk is full"
2022-02-01T17:47:24.248659646Z
2022-02-01T17:47:24.248726687Z Stopping n8n...
2022-02-01T17:47:30.741600913Z Initializing n8n process
2022-02-01T17:47:31.078111916Z
2022-02-01T17:47:31.078232186Z
2022-02-01T17:47:31.078253113Z INFO: Started with migration for wait functionality.
2022-02-01T17:47:31.078258452Z Depending on the number of saved executions, that may take a little bit.
2022-02-01T17:47:31.078262817Z
2022-02-01T17:47:31.078266576Z
2022-02-01T17:48:25.418791715Z query is slow: INSERT INTO "temporary_execution_entity"("id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId") SELECT "id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId" FROM "execution_entity"
2022-02-01T17:48:25.424072331Z execution time: 54272
2022-02-01T17:49:00.538824328Z query is slow: DROP TABLE "execution_entity"
2022-02-01T17:49:00.540129350Z execution time: 35084
2022-02-01T17:51:10.529489806Z query is slow: CREATE INDEX "IDX_cefb067df2402f6aed0638a6c1" ON "execution_entity" ("stoppedAt")
2022-02-01T17:51:10.531298685Z execution time: 129961
2022-02-01T17:51:18.556735757Z query is slow: CREATE INDEX "IDX_ca4a71b47f28ac6ea88293a8e2" ON "execution_entity" ("waitTill")
2022-02-01T17:51:18.557367701Z execution time: 8020
2022-02-01T17:55:35.215554050Z query is slow: VACUUM;
2022-02-01T17:55:35.219569428Z execution time: 256646
2022-02-01T17:55:35.228650420Z There was an error initializing DB: "SQLITE_FULL: database or disk is full"
2022-02-01T17:55:35.231145052Z
2022-02-01T17:55:35.231176659Z Stopping n8n...
2022-02-01T17:55:41.231781957Z Initializing n8n process
2022-02-01T17:55:54.836292335Z query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
2022-02-01T17:55:54.837082423Z execution time: 13049
2022-02-01T17:55:55.850173404Z query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
2022-02-01T17:55:55.850697731Z execution time: 1003
2022-02-01T17:55:55.852384577Z There was an error initializing DB: "SQLITE_BUSY: database is locked"
2022-02-01T17:55:55.853761211Z
2022-02-01T17:55:55.853775042Z Stopping n8n...
2022-02-01T17:56:05.172190034Z Initializing n8n process
2022-02-01T17:56:19.070053734Z query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
2022-02-01T17:56:19.071726790Z execution time: 13047
2022-02-01T17:56:20.101287568Z query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
2022-02-01T17:56:20.102303948Z execution time: 1009
2022-02-01T17:56:20.106014911Z There was an error initializing DB: "SQLITE_BUSY: database is locked"
2022-02-01T17:56:20.108428978Z
2022-02-01T17:56:20.108453796Z Stopping n8n...
2022-02-01T17:56:29.780478349Z Initializing n8n process
2022-02-01T17:56:41.331073997Z query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
2022-02-01T17:56:41.332019357Z execution time: 10948
2022-02-01T17:56:42.344115603Z query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
2022-02-01T17:56:42.344765514Z execution time: 1004
2022-02-01T17:56:42.346889046Z There was an error initializing DB: "SQLITE_BUSY: database is locked"
2022-02-01T17:56:42.348088942Z
2022-02-01T17:56:42.348103257Z Stopping n8n...
2022-02-01T17:56:50.085733014Z Initializing n8n process
2022-02-01T17:57:01.001433487Z query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
2022-02-01T17:57:01.003044191Z execution time: 10418
2022-02-01T17:57:02.026155091Z query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
2022-02-01T17:57:02.026927086Z execution time: 1005
2022-02-01T17:57:02.029741636Z There was an error initializing DB: "SQLITE_BUSY: database is locked"
2022-02-01T17:57:02.031838573Z
2022-02-01T17:57:02.031870478Z Stopping n8n...
2022-02-01T17:57:11.683156732Z Initializing n8n process
2022-02-01T17:57:21.617706225Z query is slow: SELECT id FROM migrations where name = "MakeStoppedAtNullable1607431743769"
2022-02-01T17:57:21.618810327Z execution time: 9377
2022-02-01T17:57:31.733810934Z query is slow: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
2022-02-01T17:57:31.735717514Z execution time: 10103
2022-02-01T17:57:31.759615456Z
2022-02-01T17:57:31.759663732Z
2022-02-01T17:57:31.759674563Z INFO: Started with migration for wait functionality.
2022-02-01T17:57:31.759683357Z Depending on the number of saved executions, that may take a little bit.
2022-02-01T17:57:31.759690467Z
2022-02-01T17:57:31.759696538Z
2022-02-01T18:00:42.292005763Z query is slow: INSERT INTO "temporary_execution_entity"("id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId") SELECT "id", "data", "finished", "mode", "retryOf", "retrySuccessId", "startedAt", "stoppedAt", "workflowData", "workflowId" FROM "execution_entity"
2022-02-01T18:00:42.296573841Z execution time: 190494
2022-02-01T18:02:42.029110262Z
2022-02-01T18:02:42.029399143Z Stopping n8n...
2022-02-01T18:02:42.057481437Z There was an error shutting down n8n. Error: InternalHooks not initialized
2022-02-01T18:02:42.057521888Z at Function.getInstance (/usr/local/lib/node_modules/n8n/dist/src/InternalHooksManager.js:11:15)
2022-02-01T18:02:42.057526988Z at process.stopProcess (/usr/local/lib/node_modules/n8n/dist/commands/start.js:31:46)
2022-02-01T18:02:42.057543357Z at processTicksAndRejections (internal/process/task_queues.js:93:5)
2022-02-01T18:03:27.019316222Z Initializing n8n process
2022-02-01T18:03:27.469873715Z
2022-02-01T18:03:27.469919805Z
2022-02-01T18:03:27.469929662Z INFO: Started with migration for wait functionality.
2022-02-01T18:03:27.469936087Z Depending on the number of saved executions, that may take a little bit.
2022-02-01T18:03:27.469942479Z
2022-02-01T18:03:27.469948065Z
2022-02-01T18:05:33.080350165Z query is slow: DROP TABLE IF EXISTS "temporary_execution_entity"
2022-02-01T18:05:33.085300218Z execution time: 125546