Dears I need some support. When our DevOps enginee...
# docker
s
Dears I need some support. When our DevOps engineer tried to deploy Cal to the AWS environment using docker-compose, he got an error “* Status: network stack not found, Code: 1" - do you know if someone encountered this error before?
v
Hi guys! Thanks Soso, correct, I’m trying to spin up the Cal stack using docker-compose and I’m facing this problem “Status: network stack not found, Code: 1”(https://github.com/calcom/docker/issues/121), can someone tell me how to fix it quickly?
z
cc @Colin - Krumware any ideas?
j
It’s just
husky
that is failing. But you don’t need that anyway. The build succeeds. “Done in 208.79s.”
c
@Soso Tskhadaia Can you provide more information about how you are running the image build?
Oops, also tagging @Volodymyr Kravets
They key here is that the build needs a database to build against. If you are more advanced and can perform the build without docker-compose, you can provide build arguments to the builder to specify the database container directly. If you don't need a temporary database and can build against RDS, you could specify the database url directly, via the DATABASE_HOST
I just wrote that out in similar wording here: https://github.com/calcom/docker/issues/121#issuecomment-1259519632
s
@Colin - Krumware thanks for the information. @Volodymyr Kravets will start work soon and he can check information you provided
a
@Volodymyr Kravets please let us know if this information is helpful
v
Hi @Alex Menzheres sure
c
checking
I get the same build error
v
The same for me
c
automated build was successful last night, so i'm trying commit ref
7256dbf84fe79f76f78f54b6453037c269b789bb
i'm assuming you did
git submodule update --remote
like me, to get latest?
v
yes, I did
c
@Volodymyr Kravets we did find a breaking change. The prior commit of that subbmodule
2f8bd3c07aacf58fa3102e31ea21d7e0fd37d347
does build
v
thanks, will check!
Hi @Colin - Krumware sorry, maybe you know why this error occurred?[Error: EACCES: permission denied, unlink ‘/home/deploy/cal.com/apps/web/.next/server/edge-runtime-webpack.js’] { @calcom/webdev errno: -13, @calcom/webdev code: ‘EACCES’, @calcom/webdev syscall: ‘unlink’, @calcom/webdev path: ‘/home/deploy/cal.com/apps/web/.next/server/edge-runtime-webpack.js’ @calcom/webdev } @calcom/webdev error Command failed with exit code 1.
c
I'm not at my machine, but there's a chance that there's a lock on that file in your local filesystem
Is that in build or at runtime?
v
runtime
c
I'm not certain, I don't use it
seems like that would be outside of docker anyways though
v
yes it’s not in docker
c
I'm not sure where to start there, someone might over on #developers
s
Hello @Colin - Krumware any news on this?
c
I'm sorry, the news on which part?
s
@Colin - Krumware Volodymyr has an issue that he mentioned above can you or someone else support solving it?
c
On the PM2?
Or the EACCES?
v
Hi, pm2
c
Yea I'm not experienced with that stuff, and it isnt really related to docker. You need to try the #developers channel
s
Hello @Colin - Krumware Sorry to disturb but no one replayed in the #developers channel. Can you please support us to get an answer?
Hello @Shiraz Dole Can you please support us to get an answer on this?