Migrating 271 coding-agent sessions to a new OpenCode version: config and rollback cost more than install
A developer moved 271 sessions and 18,552 messages from an older OpenCode Flatpak build (2.1.3) to the 2.3.2 CLI, finding the installation took minutes while the migration required careful decisions. Configuration is tied to versioned services and ports, so simply copying data directories is insufficient, and rules, permissions, MCP servers and hooks all moved to different files and formats. Rather than resolving one draft conflict automatically, the author preserved it for human review and kept the 4.8 GB old cache as a rollback path. The author also noted that nine legacy bridge services were still running on the new binary and had to be checked before shutdown. The piece closes with a four-question pre-migration checklist covering rule locations, service ownership, implicit permissions and rollback viability.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in