Cannot mount volume to app

Since yesterday my app fails when deploy with following error

Updating existing machines in ‘sokker’ with rolling strategy
Failed to update machines: failed to update machine 3287e044c10078: failed to launch VM: insufficient resources to create new machine with existing volume ‘vol_v88wdw9l0xpk2xlv’ Retrying…
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x103f0fafc]
:multiply: failed to launch VM: insufficient resources to create new machine with existing volume ‘vol_v88wdw9l0xpk2xlv’
goroutine 3972 [running]:

github.com/superfly/flyctl/internal/command/deploy.(*machineDeployment).updateProcessGroup.func1()

any ideas what i can do to fix it i deploy without volume but volume is important for my app logic

github.com/superfly/flyctl/internal/command/deploy/plan.go:380 +0x17c

golang.org/x/sync@v0.19.0/errgroup/errgroup.go:93 +0x4c
created by The Go Programming Language in goroutine 3971
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:78 +0x90
(.sokkerenv) svetlozarviktorov@Mac sokker %

1 Like

Hi… As just a quick pointer, this older thread has some context about that error message along with a few tips:

https://community.fly.io/t/insufficient-resources-to-create-new-machine-with-existing-volume/21378

You don’t have to forego volumes entirely, but you may need to move to a different underlying physical host.

Hope this helps!

Tip: when posting here, consider rendering errors, logs, and code in a preformatted block:

Like this. It makes the flow of your post easier to read,
and separates your voice from code/logs/errors you post.

This forum uses Markdown, which is easy to learn, and supported on many other platforms.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.