You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to migrate to v2. v1.40 works normally, tracks normally, etc. without producing any errors.
When I try to use the migration script I get db error: ERROR: cache lookup failed for type 24684.
I've tried running the script by executing interactive sh on the latest image, v2.0.0 and v1.40. I'm using Docker version 24.0.5, build ced0996.
I'm creating this as a bug report in case anyone experiences this in the future. But as a side note, I'm happy to lose all historical data. I just don't want to have to reconfigure all websites, events, etc. To test, I have also reset all website statistics using the Umami UI, and tried running in the latest container after letting the migrations complete for v1.40.
Logs below:
/app $ npx @umami/migrate-v1-v2@latest
Need to install the following packages:
@umami/migrate-v1-v2@0.15.0
Ok to proceed? (y)
Running v0.15.0
✓ DATABASE_URL is defined.
✓ Database connection successful.
Preparing v1 tables for migration
✓ Dropped v1 database keys.
✓ Dropped v1 database indexes.
PrismaClientKnownRequestError:
Invalid `prisma.$executeRaw()` invocation:
Raw query failed. Code: `XX000`. Message: `db error: ERROR: cache lookup failed for type 24684`
at Zr.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:171:6414)
at Zr.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:171:5948)
at Zr.request (/app/node_modules/@prisma/client/runtime/library.js:171:5786)
at async Proxy._request (/app/node_modules/@prisma/client/runtime/library.js:174:10455) {
code: 'P2010',
clientVersion: '4.11.0',
meta: {
code: 'XX000',
message: 'db error: ERROR: cache lookup failed for type 24684'
}
}
✗ Failed to rename v1 database tables.
npm notice
npm notice New minor version of npm available! 9.5.0 -> 9.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.8.1
npm notice Run npm install -g npm@9.8.1 to update!
npm notice
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered:
I am attempting to migrate to v2. v1.40 works normally, tracks normally, etc. without producing any errors.
When I try to use the migration script I get
db error: ERROR: cache lookup failed for type 24684
.I've tried running the script by executing interactive
sh
on the latest image, v2.0.0 and v1.40. I'm using Docker version 24.0.5, build ced0996.I'm creating this as a bug report in case anyone experiences this in the future. But as a side note, I'm happy to lose all historical data. I just don't want to have to reconfigure all websites, events, etc. To test, I have also reset all website statistics using the Umami UI, and tried running in the
latest
container after letting the migrations complete for v1.40.Logs below:
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: