Mark 1 Endlessly updating


#1

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


#2

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


#3

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


#4

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?


#5

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


#6

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.


#7

Hi,

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

Regards,

Martin


#8

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

#9

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.


#10

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


#11

Start stop did nothing. :frowning:

Here is the filtered log on pastebin.


#12

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


#13

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.


#14

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


#15

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.


#16

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.


#17

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.


#18

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


#19

Thanks.

I’m multi-tasking, so no problem.

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


#20

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