https://pulumi.com logo
#general
Title
# general
d

damp-school-17708

01/05/2022, 1:31 PM
I've just got a crash with a plain simple pulumi up
Copy code
Resources:
    + 7 to create
    ~ 1 to update
    8 changes. 187 unchanged

Do you want to perform this update? yes
Updating (sandbox):
     Type                 Name          Status
     pulumi:pulumi:Stack  link-sandbox
 C^C
Resources:
    7 unchanged

Duration: 8s

panic: send on closed channel

goroutine 1696 [running]:
<http://github.com/pulumi/pulumi/pkg/v3/engine.diagEvent(0x14002572cc0|github.com/pulumi/pulumi/pkg/v3/engine.diagEvent(0x14002572cc0>, 0x14000b23320, {0x1400213c5a0, 0x1c}, {0x140011adce0, 0x51}, {0x1054413c2, 0x5}, 0x0)
	/private/tmp/pulumi-20211229-22668-k5zkrv/pkg/engine/events.go:578 +0x178
<http://github.com/pulumi/pulumi/pkg/v3/engine.(*eventEmitter).diagErrorEvent(...)|github.com/pulumi/pulumi/pkg/v3/engine.(*eventEmitter).diagErrorEvent(...)>
	/private/tmp/pulumi-20211229-22668-k5zkrv/pkg/engine/events.go:602
<http://github.com/pulumi/pulumi/pkg/v3/engine.(*eventSink).Errorf|github.com/pulumi/pulumi/pkg/v3/engine.(*eventSink).Errorf>(0x14002572cc0, 0x14000b23320, {0x0, 0x0, 0x0})
	/private/tmp/pulumi-20211229-22668-k5zkrv/pkg/engine/eventsink.go:88 +0x170
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepExecutor).executeChain(0x14002bd7200|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepExecutor).executeChain(0x14002bd7200>, 0x9, {0x140017c3140, 0x1, 0x1})
	/private/tmp/pulumi-20211229-22668-k5zkrv/pkg/resource/deploy/step_executor.go:231 +0x304
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepExecutor).worker.func1(0x14002bd7200|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepExecutor).worker.func1(0x14002bd7200>, 0x9, {{0x140017c3140, 0x1, 0x1}, 0x1400231e6c0})
	/private/tmp/pulumi-20211229-22668-k5zkrv/pkg/resource/deploy/step_executor.go:376 +0xa4
created by <http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepExecutor).worker|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepExecutor).worker>
	/private/tmp/pulumi-20211229-22668-k5zkrv/pkg/resource/deploy/step_executor.go:373 +0x1f8
the problem is that if I do pulumi up again it doesn't find any resource, how to get the state back? (using s3 as backend for state and latest pulumi version)
actually now I remember, not the first time, I'll copy the .bak file to the .json file