[HOWTO] Begin your Open Voice OS journey with the ovos-installer 💖 😍

@olzeke51 Are you using Adguard, if yes please disable it. https://whl.smartgic.io is pointing to my dyndns domain and this seems to be a culprit.

firefox 132.0
Mx-Linux 1.0 package manager
edit:
checked for Adguard in my FF extension/add-ons - nada

I couldn’t even go to the straight website
edit - timed out

wait a minute - the Raspberry failed to gain access ???, terminal session via SSH!

It should be back up again, DNS is resolving to the correct address.

will restart the install - ?? good to go on linux 6.6.51+rpt-rpi-v8 ??

1 Like

got it installed, VERY basic skills available.
Looking for more docs…

Telemetry failed -

TASK [ovos_installer : Share telemetry data] *******************************************************
Sunday 03 November 2024  16:45:48 -0500 (0:00:02.127)       0:13:38.012 ******* 
FAILED - RETRYING: [127.0.0.1]: Share telemetry data (5 retries left).
FAILED - RETRYING: [127.0.0.1]: Share telemetry data (4 retries left).
FAILED - RETRYING: [127.0.0.1]: Share telemetry data (3 retries left).
FAILED - RETRYING: [127.0.0.1]: Share telemetry data (2 retries left).
FAILED - RETRYING: [127.0.0.1]: Share telemetry data (1 retries left).
fatal: [127.0.0.1]: FAILED! => {"attempts": 5, "changed": false, "elapsed": 32, "msg": "Status code was -1 and not [200]: Request failed: <urlopen error timed out>", "redirected": false, "status": -1, "url": "https://telemetry.smartgic.io/ovos-installer/metrics/"}

TASK [ovos_installer : Rescue telemetry] ***********************************************************
Sunday 03 November 2024  16:49:53 -0500 (0:04:05.608)       0:17:43.620 ******* 
ok: [127.0.0.1] => {
    "msg": "The installer was not able to share the telemetry, it's OK, maybe next time :)"
}

I’m in the middle of a network maintenance.

Skills installed when skills and extra skills are checked.

  • ovos-skill-boot-finished
  • ovos-skill-audio-recording
  • ovos-skill-dictation
  • ovos-skill-parrot
  • ovos-skill-volume
  • ovos-skill-naptime
  • skill-ovos-randomness
  • ovos-skill-easter-eggs
  • ovos-skill-fallback-unknown
  • ovos-skill-alerts
  • ovos-skill-personal
  • ovos-skill-date-time
  • ovos-skill-hello-world
  • skill-wordnet
  • ovos-skill-spelling
  • ovos-skill-weather
  • skill-ddg
  • skill-wolfie
  • ovos-skill-wikipedia
  • skill-ovos-fallback-chatgpt
  • ovos-skill-wikihow
  • ovos-skill-speedtest
  • ovos-skill-ip
  • ovos-skill-somafm
  • skill-news
  • ovos-skill-pyradios
  • ovos-skill-local-media

I’ve been trying to get sound and recording working on the device(mark II) and for some reason I am not able to.

Is aplay supposed to work?

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sj201 [sj201], device 0: fe203000.i2s-dit-hifi dit-hifi-0 [fe203000.i2s-dit-hifi dit-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
goddard@mycroft:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sj201 [sj201], device 1: fe203000.i2s-dir-hifi dir-hifi-1 [fe203000.i2s-dir-hifi dir-hifi-1]
Subdevices: 1/1
Subdevice #0: subdevice #0

As you can see I think they are reporting correctly, but when I play a wav file i hear nothing.

Thanks

Hi @Goddard

Thanks for testing the ovos-installer and Open Voice OS!

I would suspect a wireplumber issue, since version 0.5.x kind of broke everything.

Can you confirm your wireplumber version please?

$ wireplumber -v

Hello. I’ve attempted an installation of OVOS on an ODroid HC-4.
While it seemed to have installed, none of the services seem to want to start.
When attempting an uninstall via :

sudo ./installer.sh --uninstall

This hangs on the step,

Validating installer package requirements...

  • Would you please advise?

Thank you!

Burkert

Hi @burkert

Can you try with the -d option in order to enable the debug mode?

sudo ./installer.sh --uninstall -d

Thank you, @goldyfruit

It hangs on apt_ensure :

+ required_packages
+ echo -ne '➤ Validating installer package requirements... '
➤ Validating installer package requirements... + declare extra_packages
+ '[' N/A '!=' N/A ']'
+ case "$DISTRO_NAME" in
+ UPDATE=1
+ apt_ensure python3 python3-dev python3-pip python3-venv whiptail expect jq

For what its worth, 6 of the 7 packages are installed :

aburkert@gourdy-how:~$ dpkg -l --no-pager python3 python3-dev python3-pip python3-venv whiptail expect jq
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=========================================================================
ii  expect         5.45.4-2+b1  arm64        Automates interactive applications
ii  jq             1.6-2.1      arm64        lightweight and flexible command-line JSON processor
ii  python3        3.11.2-1+b1  arm64        interactive high-level object-oriented language (default python3 version)
ii  python3-dev    3.11.2-1+b1  arm64        header files and a static library for Python (default)
un  python3-pip    <none>       <none>       (no description available)
ii  python3-venv   3.11.2-1+b1  arm64        venv module for python3 (default python3 version)
ii  whiptail       0.52.23-1+b1 arm64        Displays user-friendly dialog boxes from shell scripts
aburkert@gourdy-how:~$ 
  • Would you please advise?

Thank you,

Burkert

What if you try to run the command manually?

apt install python3 python3-dev python3-pip python3-venv whiptail expect jq

@goldyfruit

Thank you, reads like python3-pip will not install as a result of some unmet (potentially recursive) dependencies.

I am by NO means confident working within Python. I welcome any and all advice which you may have.

aburkert@gourdy-how:~$ sudo apt install python3 python3-dev python3-pip python3-venv whiptail expect jq

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.11.2-1+b1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-venv is already the newest version (3.11.2-1+b1).
whiptail is already the newest version (0.52.23-1+b1).
expect is already the newest version (5.45.4-2+b1).
jq is already the newest version (1.6-2.1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-pkg-resources : Breaks: python3-setuptools (< 73) but 66.1.1-1 is to be installed
                         Breaks: python3-setuptools:armhf (< 73)
 python3-setuptools : Depends: python3-pkg-resources (= 66.1.1-1) but 73.0.1-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
aburkert@gourdy-how:~$ 

Thank you!

Burkert

Seems you downloaded the wrong Raspberry Pi OS image, looks like you are running 32-bit this howto is for 64-bit.

@goldyfruit

Thank you. While I’m not sure how I would have installed 32-bit OVOS instead of 64-bit, the O/S (Armbian 24.11.1) is 64-bit

aburkert@gourdy-how:~$ dpkg --print-architecture
arm64
aburkert@gourdy-how:~$ dpkg -l --no-pager linux-image-current-meson64
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                        Version      Architecture Description
+++-===========================-============-============-=========================================================
ii  linux-image-current-meson64 24.11.1      arm64        Armbian Linux current kernel image 6.6.63-current-meson64
aburkert@gourdy-how:~$ 
  1. Shall I try installing pip3 via get-pip.py?
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
  1. Shall I attempt to remove python3-pip from ovos-installer/utils/common.sh and try again?
aburkert@gourdy-how:~$ grep -i python3\\-pip ovos-installer/utils/*
ovos-installer/utils/common.sh:        UPDATE=1 apt_ensure python3 python3-dev python3-pip python3-venv whiptail expect jq "${extra_packages[@]}" &>>"$LOG_FILE"
ovos-installer/utils/common.sh:        dnf install -y python3 python3-devel python3-pip python3-virtualenv python3-libdnf5 newt expect jq "${extra_packages[@]}" &>>"$LOG_FILE"
ovos-installer/utils/common.sh:        dnf install -y python3 python3-devel python3-pip newt expect jq "${extra_packages[@]}" &>>"$LOG_FILE"
ovos-installer/utils/common.sh:        zypper install --no-recommends -y python3 python3-devel python3-pip python3-rpm newt expect jq "${extra_packages[@]}" &>>"$LOG_FILE"
aburkert@gourdy-how:~$ 

The error made me think that you were in 32-bit as armhf is not a ARM64 architecture.

                         Breaks: python3-setuptools:armhf (< 73)

This is a package issue from Armbian repositories. The ovos-installer expects the python3-pip package to be installed via apt.

FYI, Armbian is not a supported Linux distribution by the ovos-installer as it never really has been tested with.

You can find a list of supported Linux distributions here.

@goldyfruit

Thank you. Am I correct in the assumption that in order to cleanly uninstall, I first need to resolve installation of python3-pip?

In the event that may not be an option, shall I instead try the aforementioned workaround (install pip3 via python3 get-pip.py, omit check for python3-pip from ovos-installer/utils/common.sh)?

Thank you!

Burkert