---
title: "DF8205: Terminal Session Is Not Restartable"
description: "Terminal session \"{id}\" is not restartable"
canonical_url: "https://devfra.me/errors/df8205"
---
# DF8205: Terminal Session Is Not Restartable

> Terminal session "\{id}" is not restartable

## Message

> Terminal session "`{id}`" is not restartable

## Cause

`hub:terminals:restart` was called for a session registered with `restartable: false`, a flag for sessions whose lifecycle is owned elsewhere (a one-shot build, or a server like code-server restarted through its own controls).

## Fix

It was registered with `restartable: false`; restart it through its owner's controls, or spawn it with `restartable: true` (the default) to allow in-place restarts.

## Source

- [`packages/hub/src/node/rpc-builtins.ts`](https://github.com/devframes/devframe/blob/main/packages/hub/src/node/rpc-builtins.ts): the `hub:terminals:restart` handler throws this when the resolved session has `restartable: false`.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
