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

Wrong cache directory in shared backend #1087

Open
gcampax opened this issue Sep 1, 2021 · 0 comments
Open

Wrong cache directory in shared backend #1087

gcampax opened this issue Sep 1, 2021 · 0 comments
Assignees
Labels
bug P1 We're working on it right now web almond Web Almond, Almond API, Cloud ThingEngine, etc.

Comments

@gcampax
Copy link
Contributor

gcampax commented Sep 1, 2021

All engines in the shared backend use the same cache directory /srv/thingengine/cache, but they each initialize it's own ModuleDownloader which will try to download skills into it. This can cause issues (race conditions) when skills are upgraded.
It's likely the cause of stanford-oval/thingpedia-api#185 where one device was too new in the cache (version higher than the version available in thingpedia)

@gcampax gcampax added bug web almond Web Almond, Almond API, Cloud ThingEngine, etc. P1 We're working on it right now labels Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P1 We're working on it right now web almond Web Almond, Almond API, Cloud ThingEngine, etc.
Projects
None yet
Development

No branches or pull requests

2 participants