Installation failed, error extracting release: 'NoneType' object has no attribute 'group'

I am on 0.19, trying to get updates installed. I’ve tried 0.2, 0.21, and the 0.3 releases, and all error the same way:

Update Log

* **09:05:53**: installation failed, error extracting release: 'NoneType' object has no attribute 'group'
* **09:05:53**: Extracting software to temp directory /tmp/tmp0r3t82me
* **09:05:53**: starting installation
* **09:05:53**: dowloaded "0.2.0" release
* **09:05:53**: updates typically take 10-15 minutes, please be patient

I’ve rebooted a few times, and I’ve ensured the service is running based on the only other post I found:

pi@amplipi:~/amplipi-dev/bin/arm $ systemctl status --user amplipi
● amplipi.service - Amplipi Home Audio System
   Loaded: loaded (/home/pi/.config/systemd/user/amplipi.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2023-12-16 09:48:20 EST; 21min ago
 Main PID: 832 (python)
   CGroup: /user.slice/user-1000.slice/user@1000.service/amplipi.service
           ├─ 832 /home/pi/amplipi-dev/venv/bin/python -m uvicorn --host 0.0.0.0 --port 80 amplipi.asgi:application
           ├─1104 /home/pi/amplipi-dev/venv/bin/python -m uvicorn --host 0.0.0.0 --port 80 amplipi.asgi:application
           ├─1188 python3 /home/pi/amplipi-dev/streams/spot_meta.py 5030 /home/pi/amplipi-dev/config/srcs/0
           └─1189 /home/pi/amplipi-dev/streams/vollibrespot

Dec 16 10:02:52 amplipi authbind[832]: INFO:     192.168.13.137:58782 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:02:56 amplipi authbind[832]: INFO:     192.168.13.137:58782 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:02:57 amplipi authbind[832]: INFO:     192.168.13.137:58782 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:02:59 amplipi authbind[832]: INFO:     192.168.13.137:58782 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:03:01 amplipi authbind[832]: INFO:     192.168.13.137:58782 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:04:34 amplipi authbind[832]: INFO:     192.168.13.137:59139 - "GET / HTTP/1.1" 200 OK
Dec 16 10:04:37 amplipi authbind[832]: INFO:     192.168.13.137:59139 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:04:38 amplipi authbind[832]: INFO:     192.168.13.137:59139 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:04:39 amplipi authbind[832]: INFO:     192.168.13.137:59139 - "GET /api HTTP/1.1" 200 OK
Dec 16 10:04:41 amplipi authbind[832]: INFO:     192.168.13.137:59139 - "GET /api HTTP/1.1" 200 OK
pi@amplipi:~/amplipi-dev/bin/arm $

Sorry you are having trouble with this. It looks like the updater’s file download is failing. I’ve seen this fail before when the storage on an AmpliPi gets full.

The simplest way to get to a newer release is to re-image your AmpliPi with 0.2.1 and upgrade to 0.3.0 from there.

Follow the steps to re-image here: Re-imaging the Raspberry Pi - #3 by Lohrer

If you wait a day or so there will be a 0.3.0 image available to make this process a bit simpler.

I hope this helps,

Lincoln

Thanks! I’ll wait for the 3.0 image; I did login to my Pi, and Storage doesn’t look to be an issue:

@linknum23 I was able to resolve this error: my Amplipi system had a bad DNS server, so the actual error was it wasn’t able to download the update/source code and extract it. The folders under /tmp were completely empty.

Oh good to hear. It’s odd that it could check for updates but failed to download them.