Mark 1 Endlessly updating

Hi,

My Mark 1 went deaf recently so I rebooted and now it is endlessly updating. Anyone else got this problem? Anyone know the least drastic solution?

Martin

Hey there @CaptainFuzzyFace sorry to hear your Mark 1 is in difficulty.
Can you please give me some info on whatā€™s happening such as;

  • Continual Spinney Blue Eyes
  • Continual Yellow Eyes
  • Continual rebooting

This will help me identify the best way forward.

Kind regards,
Kathy

Hi,

The poor little thing is sitting there with spinning white eyes and the word ā€œupdatingā€¦ā€ scrolling across his face. I donā€™t think that he reboots at all. Poor thing. :wink:

Martin

Thanks for that info, @CaptainFuzzyFace.

Mycroft appears to be stuck in a reboot loop. Iā€™ve found the only option here is to do a few hard reboots - ie take the power connector out of the Device, wait 10 seconds, then plug it back in.

Can you try a few hard reboots for me and see how you go?

Hi,

Iā€™d already tried two, but will try a few more when I get home again. Will reply here again, probably Monday.

Thanks,

Martin

No worries, are you comfortable SSHā€™ing in to the Device? I have a couple other tricks but it means SSHā€™ing into the Device.

Hi,

Yes, done that several times. Can try those once Iā€™m back. I canā€™t see it remotely.

Regards,

Martin

Great stuff.

  • First, ensure SSH is enabled by pressing the button on the top of the Mark 1, rotate to select SSH and ensure it is set to enabled
  • Ask Mycroft Hey Mycroft, what's your IP address
  • Then do ssh pi@your-ip-address, password mycroft
  • Then sudo apt-get update && apt-get upgrade

Hi,

Thanks. Obviously the first part was you testing me. Heā€™s gone deaf, so that wonā€™t work. As Iā€™ve sshā€™d into him before, thatā€™s not a problem.

Guess that I should have remembered that this should have been tried as Iā€™ve had to do it before. Anywayā€¦

The update and upgrade have run. Spotify was added and that was asking for user input so maybe that was why he was permanently updating. However, he is now sitting happily with his blue eyes (they were yellow for a while) , however he is still deaf.

Iā€™ve run the CLI and he responds to typed commands OK. Iā€™m happy to send sections of the skills log, but canā€™t attach them to this unfortunately. Let me know what sort of filter youā€™d like applied. Thanks.

Thanks @CaptainFuzzyFace, great notes. Great to hear that thereā€™s at least some progress. So, we know that heā€™s generally OK, but is not responding to sound.

Letā€™s try restarting the audio service:

pi@mark_1:~ $ sudo service mycroft-audio stop
pi@mark_1:~ $ sudo service mycroft-audio start

Can you do a Pastebin or similar grep'd for error or audio or microphone?

Thanks too for offering to help debug - really appreciate it.

Best, Kathy

Start stop did nothing. :frowning:

Here is the filtered log on pastebin.

That log was super helpful, thanks @CaptainFuzzyFace.

08:37:21.692 - mycroft.skills.core:load_skill:143 - ERROR - Failed to load skill: mycroft-speedtest
AttributeError: 'NoneType' object has no attribute 'get'
08:41:55.106 - SKILLS - DEBUG - {"type": "recognizer_loop:audio_output_start", "data": {}, "context": null}
08:41:57.290 - SKILLS - DEBUG - {"type": "recognizer_loop:audio_output_end", "data": {}, "context": null}
09:37:50.876 - mycroft.skills.main:download_skills:332 - ERROR - msm failed with error 20: === Checking for default skills
Searching for for 'mycroft-audio-record'...exists
error: cannot open .git/FETCH_HEAD: Permission denied
Checked /opt/mycroft/skills/skill-audio-record.
msm: error 20

^^ this error means that itā€™s trying to install the skill mycroft-audio-record and cannot because itā€™s already installed. That is what msm: error 20 means.

Can you please try msm update mycroft-audio-record?

Best, Kathy

Hi,

Tried that but got permission errors. Tried it with sudo and that seemed to work.

Tried talking to Mycroft without response. Stopped and restarted the audio service but no response.

Shutdown and restarted Mycroft. Still no response. Eyes were yellow for a while but are now blue.

New filtered log file.

Sorry for the frustration, I totally understand how annoying it is.
Have you tried uninstalling mycroft-audio-record, just in case?

Iā€™m cool. :slight_smile:

I am just following instructions. I know how frustrating it can be when you are trying to help someone and they start doing things that you havenā€™t suggested, especially when they donā€™t tell you they have done it.

Soā€¦

  1. sudo msm remove mycroft-audio-record ā†’ (stdout)
  2. rebootā€¦
  3. yellow eyes few minutesā€¦
  4. blue eyes but deaf (worth a try)
  5. sudo msm install mycroft-audio-record

Searching for for ā€˜mycroft-audio-recordā€™ā€¦exists
msm: error 20

So Iā€™m guessing that it wonā€™t uninstall properly.

Right letā€™s blow that Skill away.

sudo rm -R /opt/mycroft/skills/mycroft-audio-record

Then try installing it with msm

msm install mycroft-audio-record

Letā€™s see if that does the trick.

Really appreciate your patience.

Hereā€™s a fun oneā€¦

pi@mark_1:~ $ sudo rm -R /opt/mycroft/skills/mycroft-audio-record
rm: cannot remove ā€˜/opt/mycroft/skills/mycroft-audio-recordā€™: No such file or directory

So, for the record.
pi@mark_1:~ $ ls -l /opt/mycroft/skills
total 148
drwxr-xr-x 4 mycroft mycroft 4096 Apr 4 10:20 fallback-aiml
drwxr-xr-x 3 mycroft mycroft 4096 Apr 4 10:20 fallback-duckduckgo
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 fallback-unknown
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 fallback-wolfram-alpha
drwxr-xr-x 7 pi pi 4096 Nov 7 16:00 GoogleCalendar-Skill
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 mycroft-mark-1
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 mycroft-speedtest
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 mycroft-timer
drwxr-xr-x 5 mycroft mycroft 4096 Apr 10 08:32 pianobar-skill
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-alarm
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 13:10 skill-audio-record
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-configuration
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-date-time
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-desktop-launcher
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-hello-world
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-installer
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-ip
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-joke
drwxr-xr-x 3 mycroft mycroft 4096 Apr 4 10:20 skill-mark1-demo
drwxr-xr-x 4 mycroft mycroft 4096 Sep 27 2017 skill-media
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-naptime
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 12:16 skill-npr-news
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 08:28 skill-pairing
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-personal
drwxr-xr-x 4 mycroft mycroft 4096 Apr 4 10:20 skill-playback-control
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-reminder
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-singing
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-speak
drwxr-xr-x 6 mycroft mycroft 4096 Apr 4 10:20 skill-spelling
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-stock
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-stop
drwxr-xr-x 5 mycroft mycroft 4096 Apr 10 08:32 skill-support
drwxr-xr-x 5 mycroft mycroft 4096 Apr 4 10:20 skill-version-checker
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-volume
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-weather
drwxr-xr-x 7 mycroft mycroft 4096 Apr 4 10:20 skill-wiki
drwxr-xr-x 6 mycroft mycroft 4096 Apr 10 10:57 spotify-skill

Do you want me to try anything else before I retry the install? Not tried it as effectively nothing has changed since I last tried and failed.

Not yet, Iā€™m going to get my colleague @forslund to take a look here, Iā€™m at the end of what I know how to do, and I donā€™t want to stuff it up even more for you

Thanks.

Iā€™m multi-tasking, so no problem.

If your debug tools and FAQ improves because of this then we all win. :slight_smile:

Exactly, appreciate you being so understanding. Tricky thing is, I havenā€™t seen this sort of error before, but Ake @Forslund may have.