Skip to content

Drop migration from the pre-v0.4.0 storage layout - #46

Merged
mrueg merged 1 commit into
mainfrom
drop-migration
Nov 16, 2026
Merged

mrueg merged 1 commit into
mainfrom
drop-migration

Conversation

@mrueg

@mrueg mrueg commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

Remove the start-up code that moves /config/certs, /config/config and /config/data into the current layout (/config/teddycloud/... and /data/teddycloud/...).

The migration was added in v0.4.0 (2025-01-27). Every install that has started any release since then has already been migrated. The code only runs for installs that jump from v0.3.5 or older straight to the latest version.

The directories are still created on every start, so nothing changes for fresh or existing installs.

Notes

Anyone still on v0.3.5 or older has to move the old directories by hand (or upgrade through a v0.4.x release first; the certs migration in v0.5.0 and later fails).

Test plan

  • shellcheck passes on the run script
  • Add-on starts on an existing install

🤖 Generated with Claude Code

The move of /config/certs, /config/config and /config/data into the
new layout was added in v0.4.0 (January 2025). Every install that has
started a release since then has already migrated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrueg mrueg added the maintenance Generic maintenance tasks. label Nov 11, 2026
@mrueg
mrueg merged commit 8aace43 into main Nov 16, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Generic maintenance tasks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant