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

Web UI keeping old config.yaml actions although config.yaml file has been updated. #155

Open
djeinstine opened this issue Aug 23, 2023 · 2 comments

Comments

@djeinstine
Copy link

djeinstine commented Aug 23, 2023

Describe the bug
Web UI keeping old config.yaml actions although config.yaml file has been updated. The UI updates the first time the config yaml has changed, but keeps the old data in cache for subsequent changes to the file.

To Reproduce
Update the yaml file while olivetin container is running, i.e.:

  1. Add an action
  2. Remove an action
  3. Add an action

Expected behavior
I would expect the UI to updated with each modification of the .yaml file

Screenshots
image

image

Additional context
I've refreshed olivetin multiple times after seeing the bug, however, that does not solve it. Only restarting the container completely solves the issue.

Edit: Also the stale actions keep the old .yaml configuration. So they are not empty. I.e. if I were to press the buttons that are not supposed to exist, they will perform the same shell action as if their configuration were in the file.

@jamesread
Copy link
Collaborator

Hey @djeinstine , thanks for reporting this issue - this should not happen.

From your screenshot I cannot quite tell what is "stale" though - what is it that is not being updated?

@djeinstine
Copy link
Author

Hi. I guess I messed up the explanation.

  1. The syncthing, radarr and deluge actions where added at the start.
  2. Radarr and Deluge were deleted in the config.yaml
  3. Config.yaml only has Syncthing (as shown)
  4. All three buttons still remain (with full functionality)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants