Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.yaml created prior to latest upgrade is retained with the previous property names #26

Open
freemansoft opened this issue Aug 8, 2024 · 0 comments

Comments

@freemansoft
Copy link
Contributor

You can end up with an old incomplete config.yaml across releases. This is a common problem. Don't know if it should be fixed or just documented.

Steps

  1. Run the project sometime in the past
  2. A config.yaml will have been created
  3. stop the environment
  4. Get latest
  5. Run the project
  6. Notice that the old config.yaml created by copy was not replaced makes sense

Is this in release notes or something?

Workaround

  1. Delete the config.yaml if you haven't made any changes to it (I did this in VS Code remote )
  2. Delete config.yaml again to make it really die (I did this in VS Code remote)
  3. Stop the project
  4. Restart the project

Possible initial remedy

Add a comment at the top of the sample file saying

This was copied from config_sample.yaml and may need to be updated after upgrading the nim-anywhere project

Supporting docs

This is why I was confused about when I only saw one section in a in the config.yaml in the GUI in a previous problem report

image

@freemansoft freemansoft changed the title config.yaml created prior to the rename will be retained with the previous names config.yaml created prior to the upgrade will be retained with the previous names Aug 8, 2024
@freemansoft freemansoft changed the title config.yaml created prior to the upgrade will be retained with the previous names config.yaml created prior to latest upgrade is retained with the previous property names Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant