Removing skills the hard way

After updating my Mark 1 from 0.8.19 to 0.9.10, the mp3demo skill and the youtube skill give problems. Uninstalling the skills using voice (or CLI) isn’t succesful (ends with an error code). Removing using msm isn’t succesful either. How do I get rid of these skills?

Hi there @NolW, sorry to hear you’re experiencing these issues.

First, you need to SSH to the Mark 1 device:

Next, you need to run the command

sudo rm -R /opt/mycroft/skills/

This will remove all Skills.

Next, you will need to install the default Stkills again.

msm default

Then install each Skill again using either msm or voice commands.

Please do let us know how you go.

Kind regards,
Kathy

1 Like

Thanks for your repley @KathyReid.

With an extra sudo mkdir skills and sudo msm default instead of msm default the skills seem to be updated.

The “Skill” section on https://home.mycroft.ai/ still show the now deleted skills though.

Arg, I guess that broke the skills installer. When installing using the CLI, I get an error "fatal: could not create work tree dir ‘daily_meditation’.: Permission denied

I guess I need to assign new rights to the skills folder, but which ones…?

@NolW OK, there could be a couple of different issues here.

First thing I would try is to prefix msm default with sudo:

sudo msm default

For reference, here is an ls -las of my Mark 1 which is running the latest 0.9.12 software.

pi@mark_1:/opt/mycroft/skills $ ls -las
total 168
4 drwxrwxrwx 42 mycroft mycroft 4096 Dec 20 11:27 .
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 04:04 ..
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 17 00:13 calculator-skill
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 daily_meditation
4 drwxr-xr-x  4 mycroft mycroft 4096 Dec 23 05:07 fallback-aiml
4 drwxr-xr-x  3 mycroft mycroft 4096 Dec 23 05:07 fallback-duckduckgo
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 fallback-unknown
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 fallback-wolfram-alpha
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 mycroft-mark-1
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 mycroft---sentiment-analisys---skill
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 mycroft-timer
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-alarm
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-audio-record
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-australian-news
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:06 skill-configuration
4 drwxr-xr-x  7 mycroft mycroft 4096 Dec 23 05:06 skill-date-time
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-desktop-launcher
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:06 skill-hello-world
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-installer
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-ip
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-joke
4 drwxr-xr-x  3 mycroft mycroft 4096 Dec 23 05:07 skill-mark1-demo
4 drwxr-xr-x  4 mycroft mycroft 4096 Sep 29 10:26 skill-media
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-naptime
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-npr-news
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 04:06 skill-pairing
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-personal
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-platform-patch
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-playback-control
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:06 skill-release-test
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-reminder
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-singing
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:06 skill-speak
4 drwxr-xr-x  6 mycroft mycroft 4096 Dec 23 05:07 skill-spelling
4 drwxr-xr-x  7 mycroft mycroft 4096 Dec 23 05:07 skill-stock
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-stop
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-support
4 drwxr-xr-x  5 mycroft mycroft 4096 Dec 23 05:07 skill-version-checker
4 drwxr-xr-x  7 mycroft mycroft 4096 Dec 23 05:07 skill-volume
4 drwxr-xr-x  7 mycroft mycroft 4096 Dec 23 05:07 skill-weather
4 drwxr-xr-x  7 mycroft mycroft 4096 Dec 23 05:07 skill-wiki
4 drwxr-xr-x  5 mycroft mycroft 4096 Sep 29 10:24 skill-wolfram-alpha

Please do let us know how you go,
Best, Kathy