Page 1 of 1

Raspberry Pi bullseye

PostPosted: Sat Sep 10, 2022 10:25 am
by captain118
I recently upgraded my Alarm Decoder that is running on my Raspberry Pi to Bullseye. Now the services wont start.

it looks like some of the python2 dependant libraries arent available in apt.

Is there a plan to support the latest version of the OS? Or is it supported and I just need to keep troubleshooting?

Thanks

Re: Raspberry Pi bullseye

PostPosted: Sat Sep 10, 2022 11:48 am
by captain118
After further investigation it looks like one of the services is tied to the pi user account. I realized this after I rebuilt the system. I'll reinstall the upgrade an see if it still works.

Re: Raspberry Pi bullseye

PostPosted: Sat Sep 10, 2022 12:21 pm
by captain118
It looks like the upgrade breaks gunicorn as well.
Sep 10 13:19:42 AlarmDecoder systemd[1]: Started gunicorn daemon.
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: Error: class uri 'socketio.sgunicorn.GeventSocketIOWorker' invalid or not found:
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: [Traceback (most recent call last):
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "/usr/lib/python3/dist-packages/gunicorn/util.py", line 99, in load_class
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: mod = importlib.import_module('.'.join(components))
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: return _bootstrap._gcd_import(name[level:], package, level)
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: ModuleNotFoundError: No module named 'socketio'
Sep 10 13:19:43 AlarmDecoder gunicorn[1129]: ]
Sep 10 13:19:43 AlarmDecoder systemd[1]: gunicorn.service: Main process exited, code=exited, status=1/FAILURE
Sep 10 13:19:43 AlarmDecoder systemd[1]: gunicorn.service: Failed with result 'exit-code'.
Sep 10 13:19:43 AlarmDecoder systemd[1]: gunicorn.service: Consumed 1.023s CPU time.

Re: Raspberry Pi bullseye

PostPosted: Fri Oct 07, 2022 7:17 am
by jon.thomp
I too have updated my Pi to Bullseye and am running into problems. As such, I haven't had AlarmDecoder working for many months now.