-
Notifications
You must be signed in to change notification settings - Fork 447
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
docker compose build failed with errors #343
Comments
The |
I'm getting the same problem. I could build perfectly fine a few weeks ago, but after updating the calcom submodule it fails to build with no error log/stacktrace which makes troubleshooting extremely difficult. |
cc @krumware or @alishaz-polymath, something is up with the yarn build and/or the yarn lock? repeated errors about |
Yeah, we're looking into it. Thank you for the shout! 🙏 |
Hi all, I looked into this and found that some file(s) must be missing inside the container. Copying all files ( Also, there's a new environment variable required during the build phase: calcom/cal.com#14310 (comment) |
you can replace this line in Dockerfile to
and then add the v2 URL as from the |
Can confirm adding V2_URL did result in a successful build. Here's what I did (which is just a more explicit edit described by @eleith):
With this I am able to build v3.9.4 locally, as well deploy locally (meaning I am able to login and view my availability, I have not tested out anything else). What is unclear to me are
@alishaz-polymath Maybe this helps you to narrow down the issue cause, or could shed more light on APIv2? |
Hi @intersecato what version of calcom are you trying to build? I tried running the build again for |
Now it make sense @mtc-20, I'm trying to build the v4.0.0. |
@intersecato Sorry for the late reply. First of all, I noticed a typo in my earlier message, I tested locally on v3.9.4, not v3.8.4. Out of curiosity, are you building on hardware with RAM>=16GB, or lower? |
@mtc-20 lower, we have 8GB on our web server vps. |
@intersecato do you have a spare VM/machine with atleast 16GB to try building on? I had to switch to a 16GB VM from ~v3.7.12 onwards for production, because the builds kept failing with a similar error message. But I cannot guarantee this was the root cause of the build error. |
I want to +1 this and say that for me a machine with 8GB was not enough and it failed with weird errors in all kinds of places. |
Many thanks, worked for me with 4.0.1 |
I am having the same issue again. I followed all the solutions suggested poreviously here but it keeps failing. This started suddenly. Not sure what changed. Can it be due to some memory or storage issue? |
Just trying to build the image so I can restore using a previous database snapshot but I can't build it for the life of me... have read all the other issue and tried building on multiple machines without any luck. I've tried building with 32GB of RAM so I know that's not an issue either. Would appreciate any help at all. Using latest version of docker repo and calcom submodule.
The text was updated successfully, but these errors were encountered: