Pi needs help
Posted: Tue Dec 27, 2022 9:20 am
My AD2PI is sick. The daughterboard alarm panel functionality is working just fine. But the Pi itself is exhibiting a couple of problems.
1) For one thing the alarm keypad on the webapp says "Please Wait Loading" and never appears to finish loading.
2) Also there is this error in the App tab of the Web UI:
I appear to have plenty of storage available.
I very rarely use the web UI, so this problem may have existed for awhile now. I'm running a Raspian 8 image and an older AD2 daughterboard firmware. Given the age of the OS, perhaps my best bet would be to load the newest stable OS image. But I set it up so long ago, I don't remember what changes to the basic image I made the last time, and I'd need to figure those out all over again. So I figured I'd post here first to see if anyone had any other suggestions first.
Any advice would be appreciated.
Thanks
1) For one thing the alarm keypad on the webapp says "Please Wait Loading" and never appears to finish loading.
2) Also there is this error in the App tab of the Web UI:
- Code: Select all
2022-12-27 08:25:14,716 INFO: AlarmDecoder Webapp booting up - v0.8.0-10-g0b754de [in /opt/alarmdecoder-webapp/ad2web/decoder.py:218]
2022-12-27 08:25:14,773 ERROR: Error [in /opt/alarmdecoder-webapp/ad2web/app.py:175]
Traceback (most recent call last):
File "/opt/alarmdecoder-webapp/ad2web/app.py", line 168, in init_app
app.decoder.init()
File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 238, in init
self._discovery_thread = DiscoveryServer(self)
File "/opt/alarmdecoder-webapp/ad2web/discovery.py", line 60, in __init__
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
File "<string>", line 1, in setsockopt
error: [Errno 19] No such device
I appear to have plenty of storage available.
- Code: Select all
pi@alarmdecoder:/ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2187128 1659480 396832 81% /
devtmpfs 469548 0 469548 0% /dev
tmpfs 473880 0 473880 0% /dev/shm
tmpfs 473880 6324 467556 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 473880 0 473880 0% /sys/fs/cgroup
/dev/mmcblk0p1 61384 21296 40088 35% /boot
pi@alarmdecoder:/ $
I very rarely use the web UI, so this problem may have existed for awhile now. I'm running a Raspian 8 image and an older AD2 daughterboard firmware. Given the age of the OS, perhaps my best bet would be to load the newest stable OS image. But I set it up so long ago, I don't remember what changes to the basic image I made the last time, and I'd need to figure those out all over again. So I figured I'd post here first to see if anyone had any other suggestions first.
Any advice would be appreciated.
Thanks