You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
What's the issue?
When someone (accidentally) deletes /var/lib/snips/skills, sam is not able to deploy an assistant anymore:
bash: line 0: cd: /var/lib/snips/skills/: No such file or directory
fatal: could not create work tree dir 'snips-app-assistant-information': Permission denied
✖ Error: find: ‘/var/lib/snips/skills/snips-app-assistant-information’: No such file or directory
Use Cases Impacted
The user sees that he still has a couple of apps installed in /var/lib/snips/skills that he doesn't have anymore in his assistant and he decides to get rid of them.
How to reproduce
sudo rm -rf /var/lib/snips/skills
sam install assistant
Expected behavior
Sam creates the directory /var/lib/snips/skills and installs the assistant.
Version and Environment
Snips Flow 1.1.2 (0.62.3), Sam 0.0.52, Raspbian 9.8
Workaround
sudo mkdir /var/lib/snips/skills
sudo chown _snips-skills:_snips-skills /var/lib/snips/skills
sam install assistant
The text was updated successfully, but these errors were encountered:
Hi @cpoisson thanks for your explanation, that makes sense. Users won't make the distinction between Sam and snips-skill-server though, so I agree that it would be better to add this feature in a next version of Sam.
cpoisson
changed the title
Sam should create /var/lib/snips/skills if it doesn't exist
[Sam] should create /var/lib/snips/skills if it doesn't exist
May 14, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What's the issue?
When someone (accidentally) deletes
/var/lib/snips/skills
, sam is not able to deploy an assistant anymore:Use Cases Impacted
The user sees that he still has a couple of apps installed in
/var/lib/snips/skills
that he doesn't have anymore in his assistant and he decides to get rid of them.How to reproduce
Expected behavior
Sam creates the directory
/var/lib/snips/skills
and installs the assistant.Version and Environment
Snips Flow 1.1.2 (0.62.3), Sam 0.0.52, Raspbian 9.8
Workaround
The text was updated successfully, but these errors were encountered: