Errors

vakna: box <box> is suspended

Note
This page is generated from a mock CLI, and its numbers are placeholders.

Verified against vakna 0.0.0-mock on · generated from the CLI's own definitions

Run vakna resume <box>, then run your command again.

Why can't I run a command in a suspended box?

A suspended box bills no compute, so Vakna never resumes one as a side effect of another command. Resume it on purpose and the command runs.

What it looks like

sh
vakna shell docs -- ls
prints vakna: box docs is suspended hint: vakna resume docs # suspended 2h 10m

Exit code 255.

As JSON

With --format json the error is one JSON line. Branch on its code, not on the message or the exit code.

Output
{"v":1,"event":"error","code":"suspended","message":"box docs is suspended","hint":"vakna resume docs # suspended 2h 10m","docs":"https://vakna.com/docs/errors/suspended","mocked":true}

Commands that print it

View as Markdown