Hey all, I’m using Strapi v3 and I’m upgrading strapi dependencies because of vulnerabilities reported by Snyk.
As you can see in the image, all Strapi dependencies are being upgraded from 3.0.0-beta.18.4 to 3.6.11. This includes the engines.node and also on my Dockerfile I’m changing from: FROM strapi/base:12 to FROM strapi/base:14.
As a result of this change, I’m getting the following error:
[2024-08-05T12:24:41.890Z] error error: relation "strapi_webhooks" does not exist
at Connection.parseE (/node_modules/pg/lib/connection.js:581:48)
at Connection.parseMessage (/node_modules/pg/lib/connection.js:380:19)
at Socket.<anonymous> (/node_modules/pg/lib/connection.js:116:22)
at Socket.emit (events.js:315:20)
at Socket.emit (/node_modules/dd-trace/packages/datadog-instrumentations/src/net.js:61:25)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
at TCP.callbackTrampoline (internal/async_hooks.js:131:14)
I’m not using strapi_webhooks in my project but I see it’s being used in node/modules/strapi/lib.
Does anyone know a way to fix this? The changes in the images are the only things that I’m changing.
I have tried upgrading PG and Knex to other versions but I keep getting the same error.
PG versions I tried: 7.18.2, 8.0.0, 8.0.3, 8.4.0, 8.5.1, 8.12.0
Knex versions: 0.19.5, 0.20.0, 0.21.18, 0.20.13
This topic has been created from a Discord post (1270015367913279518) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord