SO i have this new "release available" notice for 24.04.1 I'm presently at 22.04.5 LTS. (I'm on ZM 1.36.36).
Am I going to have to restore things and debug for a long time if I do the release upgrade or should it be fairly smooth?
I am reviewing some of the notes previously .. and it seems more scary than i want to tackle right now ... ?!
thanks!
Ubuntu 24.04.1 LTS and ZM?
Re: Ubuntu 24.04.1 LTS and ZM?
currently i am also running zm on 22.04. the two options i am looking into to get zm and the eventserver running on 24.04 are (1) zm 1.36.33 which is part of the LTS distribution and (2) zm 1.36.35 which seems to be available as a ppa for 24.04 (https://launchpad.net/~iconnor/+archive ... lter=noble). the installation guides for (1) which i found turned out to omit most of the various configuration steps required after the installation of the package. currently i am stuck with the installation of the enventserver though but this doesn't seem to be an issue related to 24.04. once resolved i will probably give (2) a try...
Re: Ubuntu 24.04.1 LTS and ZM?
I am running 22.04 and I am in no hurry to upgrade. There are no features in 24 that I need. I may not upgrade the OS until version 28. I have been doing this too long to rush into upgrades. As long as I am getting security patches I am good.
What is your driving reason to upgrade? I am curious if I missed something interesting.
What is your driving reason to upgrade? I am curious if I missed something interesting.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: Ubuntu 24.04.1 LTS and ZM?
24.04 makes event server harder to install. You have to add --break-system to the pip install commands. ZM itself should be fine. I havn't had any issues.
Re: Ubuntu 24.04.1 LTS and ZM?
ok .. thank so -- i have no over arching reason to update to 24.0x ... i just usually like to stay "current" whatever that means.
if 22 will be around long enough, then i'll keep applying security patches and await further orders.
thanks
if 22 will be around long enough, then i'll keep applying security patches and await further orders.
thanks
Re: Ubuntu 24.04.1 LTS and ZM?
may be it would anyway make sense to rethink the installation process of the eventserver. currently all python packages will be installed system-wide. hence the --break-system-packages parameter if you install the eventserver on 24.04. it would be great if future eventserver releases could be installed within a dedicated venv, i.e. without the need of changing system-wide python packages.
Re: Ubuntu 24.04.1 LTS and ZM?
They can be, I just don't know how. Someone with the knowledge could likely document it and everything would be fine.
Re: Ubuntu 24.04.1 LTS and ZM?
not sure what you are referring to with "document it". i had a very brief look into the code and think the following would need to be done to get this working on ubuntu:
install.sh
1) add creation of python venv at a dedicated location (e.g. /srv/zm/). the directory and venv has to be owned by user www-data (assuming that all zmes python scripts will be fully functional when started as user www-data)
2) activate venv
3) replace sudo pip with sudo -u www-data pip to get all required python packages installed in the venv
zm_event_start.sh
activate venv before calling zm_detect.py
any other script calling a zmes python script which requires one of the installed python packages
activate venv before calling the python script