calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
619 stars 323 forks source link

Context deadline exceeded during build process #339

Open johan-cruxdata opened 4 months ago

johan-cruxdata commented 4 months ago

Receiving the following error at the final step of trying to build the image after attempting to upgrade from calcom v3.7.11 to calcom v3.8.9. Build is being done via GH Actions with the standard ubuntu runners. Anyone else facing the same issue and if so, tips to resolve?

...
#16 1516.6 @calcom/web:build: 
#16 1516.6 @calcom/web:build: ƒ Middleware                                                    112 kB
#16 1516.6 @calcom/web:build: 
#16 1516.6 @calcom/web:build: ℇ  (Streaming)  server-side renders with streaming (uses React 18 SSR streaming or Server Components)
#16 1516.6 @calcom/web:build: λ  (Server)     server-side renders at runtime (uses getInitialProps or getServerSideProps)
#16 1516.6 @calcom/web:build: ○  (Static)     automatically rendered as static HTML (uses no initial props)
#16 1516.6 @calcom/web:build: ●  (SSG)        automatically generated as static HTML + JSON (uses getStaticProps)
#16 1516.6 @calcom/web:build: 
#16 1516.9 
#16 1516.9  Tasks:    7 successful, 7 total
#16 1516.9 Cached:    0 cached, 7 total
#16 1516.9   Time:    25m13.035s 
#16 1516.9 
#16 1518.4 ...writing to cache...
#16 DONE 1533.3s
#17 [builder 10/10] RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
#17 DONE 0.2s
#18 [builder-two  5/10] COPY --from=builder /calcom/node_modules ./node_modules
#18 DONE 35.0s
#19 [builder-two  6/10] COPY --from=builder /calcom/packages ./packages
#19 DONE 3.5s
#20 [builder-two  7/10] COPY --from=builder /calcom/apps/web ./apps/web
#20 DONE 4.1s
#21 [builder-two  8/10] COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
#21 DONE 0.1s
#22 [builder-two  9/10] COPY scripts scripts
#22 DONE 0.0s
#23 [builder-two 10/10] RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER http://localhost:3000
#23 0.067 Replacing all statically built instances of http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER with http://localhost:3000.
#23 DONE 6.8s
#24 [runner 3/3] COPY --from=builder-two /calcom ./
#24 DONE 74.8s
#25 exporting to docker image format
#25 exporting layers
#25 exporting layers 115.6s done
#25 exporting manifest sha256:7877dbba32198f79ef696f581a37eafb95986777fd6c5d47653b2f62f6065868 done
#25 exporting config sha256:e67f6ee5fdb67921f7ce83a16bbce3a7a0ba0a13bebdfaafed58bce885c71a22 done
#25 ERROR: no active session for jam9cmugq41i7es9eeatvnwc5: context deadline exceeded
------
 > exporting to docker image format:
------
ERROR: failed to solve: DeadlineExceeded: no active session for jam9cmugq41i7es9eeatvnwc5: context deadline exceeded
Error: buildx failed with: ERROR: failed to solve: DeadlineExceeded: no active session for jam9cmugq41i7es9eeatvnwc5: context deadline exceeded