Repository navigation
Drop migration from the pre-v0.4.0 storage layout - #46
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the start-up code that moves
/config/certs,/config/configand/config/datainto 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
runscript🤖 Generated with Claude Code