Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Failed to migrate database #615

Open
JustJoostNL opened this issue Oct 1, 2024 · 0 comments
Open

Bug: Failed to migrate database #615

JustJoostNL opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JustJoostNL
Copy link

What happened?

Zipline doesn't load anymore, due to a DB migration error.

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

No response

Zipline Logs

2024-10-01 08:10:17,959 PM info  [datasource] using Local(./uploads) datasource

2024-10-01T20:10:18.020509016Z 2024-10-01 08:10:18,019 PM info  [database::migrations] establishing database connection

2024-10-01T20:10:18.021695454Z 2024-10-01 08:10:18,021 PM info  [database::migrations] ensuring database exists, if not creating database - may error if no permissions

2024-10-01T20:10:18.282627278Z 2024-10-01 08:10:18,281 PM error [database::migrations] failed to migrate database

2024-10-01T20:10:18.282664678Z 2024-10-01 08:10:18,282 PM error [database::migrations] Failed to migrate database... exiting...

2024-10-01T20:10:18.284635275Z 2024-10-01 08:10:18,283 PM error [database::migrations] Error: P3009

2024-10-01T20:10:18.284660235Z 

2024-10-01T20:10:18.284663915Z migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

2024-10-01T20:10:18.284667155Z The `20231109082848_fix_large_uploads` migration started at 2023-11-21 06:44:56.784165 UTC failed

2024-10-01T20:10:18.284670115Z 

2024-10-01T20:10:18.284672435Z 

2024-10-01T20:10:18.284674915Z     at Object.<anonymous> (/zipline/node_modules/@prisma/migrate/dist/SchemaEngine.js:415:24)

2024-10-01T20:10:18.284677755Z     at SchemaEngine.handleResponse (/zipline/node_modules/@prisma/migrate/dist/SchemaEngine.js:256:36)

2024-10-01T20:10:18.284680475Z     at LineStream.<anonymous> (/zipline/node_modules/@prisma/migrate/dist/SchemaEngine.js:363:16)

2024-10-01T20:10:18.284683315Z     at LineStream.emit (node:events:513:28)

2024-10-01T20:10:18.284686355Z     at addChunk (node:internal/streams/readable:324:12)

2024-10-01T20:10:18.284688955Z     at readableAddChunk (node:internal/streams/readable:297:9)

2024-10-01T20:10:18.284691555Z     at Readable.push (node:internal/streams/readable:234:10)

2024-10-01T20:10:18.284694115Z     at LineStream._pushBuffer (/zipline/node_modules/@prisma/migrate/dist/utils/byline.js:103:17)

2024-10-01T20:10:18.284696875Z     at LineStream._transform (/zipline/node_modules/@prisma/migrate/dist/utils/byline.js:97:8)

2024-10-01T20:10:18.284699515Z     at Transform._write (node:internal/streams/transform:175:8)

Browser Logs

No response

Additional Info

No response

@JustJoostNL JustJoostNL added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant