Config Directory Relocation #381
Merged
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.
Caution
This PR contains major breaking changes
The config directory has now changed by default to
Data. This ensures that user data is separated from application binaries. Some work has been put in to automatically migrate data. Here are the rules the application follows:Datadirectory within the application's working directory.%LocalAppData%\LANCommander\LANCommander.Server/app/DataIf you are running in Docker:
There is code written to automatically migrate to this new directory. Make sure you keep your original path(s) mounted, but also mount
/app/Data. The migration code will try to detect if your server is running in Docker and abort the migration if this path is not mounted.As always, back up any important data of you want to be extra safe. This path change is final and will be included as part of the v2.0.0 release.