Replies: 8 comments
-
The check-db scriot checks to see if there are any migrations for the database and runs them. Not sure why it's downloading binaries at that point, but it's a Prisma thing we don't have control over. |
Beta Was this translation helpful? Give feedback.
-
Did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
We haven't yet found a solution to this, but are gonna experiment with building a patched image with binaries built in. I'll update here if it works out. |
Beta Was this translation helpful? Give feedback.
-
we are having the same issue, did you find a solution for this? |
Beta Was this translation helpful? Give feedback.
-
Same thing here with the |
Beta Was this translation helpful? Give feedback.
-
Since the pnpm switch, postinstall script which download prisma CLI engine must be allowed.
to
Don't know if it's worth changing it in repo as Prisma planned to not use these binary engines anymore. |
Beta Was this translation helpful? Give feedback.
-
I know this might not be the most optimal solution, but it works for me. 🤔 What I did was run an Umami instance in an environment with internet access, make sure everything was working as expected, and then use docker commit on that container to create an Umami offline image. docker commit umami-umami-1 ghcr.io/umami-software/umami:postgresql-latest |
Beta Was this translation helpful? Give feedback.
-
We ended up creating our own Docker image which just runs
When using this image we are able to run it with no issues. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Bug
When trying to deploy the newest version of Umami in a cluster that does not have internet access it fails to start. It fails on Prisma trying to fetch binaries on start up. Would it be possible to bundle these binaries as part of the image instead?
Here's a docker-compose file that reproduces the issue:
Database
PostgreSQL
Relevant log output
Which Umami version are you using? (if relevant)
2.18.1
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker
Beta Was this translation helpful? Give feedback.
All reactions