-
-
Notifications
You must be signed in to change notification settings - Fork 473
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] arm64 docker image appears to be broken #550
Comments
Not an arm64 only, x86 here and faced with this problem too. |
Hello, I've stumbled upon the same error. Seems like the database is out of sync with the model, which throws the As a temporary fix, you can execute the following command to sync the DB with the prisma model : This would not happen if we had migrations to apply, but they are not present in the prisma folder. My guess is that Lavamusic has multiple db providers and you have to choose what fits you best. Although, it should probably appear in the README file. EDIT: You actually have a step by step guide for prisma in the README, if you actually do the initial migration you will also get in sync with your model. |
In the Dockerfile openssl is being installed into the build image and not the production image. To fix this add |
When running the arm64 image, on a clean volume, the logs will read:
As an obvious next step I've added OpenSSL to the Docker image in my fork and hit a new error:
I followed the recommendation and added the target, just to hit another issue:
When trying to evoke a slash command, it will throw the same error but for the
main.Setup
table. This seems to be a migration issue, but my Prisma knowledge isn't deep enough to understand what went wrong here. You can check the image build log here: https://github.com/alexandreteles/lavamusic/actions/runs/8952292488/job/24589527694 and you'll see that all the Prisma steps seem to work properly. I wanted to make a PR for this, but now I am unsure of what would be my next step. Is there more information I can provide to help with debug and/or finish a fix and PR?The text was updated successfully, but these errors were encountered: