Ubuntu 24.04 noble release

Discussions related to the 1.36.x series of ZoneMinder
smithjw1
Posts: 16
Joined: Sat Nov 20, 2021 2:53 pm

Ubuntu 24.04 noble release

Post by smithjw1 »

Ubuntu release 24.04 noble is in beta release, and will likely be released as a final release in the following weeks. I have done some beta testing from the 22.04 jammy ppa and it seems to work with zoneminder 1.36 installed into Ubuntu 24.04 beta. We will need a ppa set up for zoneminder 1.36 to handle 24.04 noble. Thanks for your help.
Jeff
smithjw1
Posts: 16
Joined: Sat Nov 20, 2021 2:53 pm

Re: Ubuntu 24.04 noble release

Post by smithjw1 »

Ubuntu 24.04 has been released. I'm still getting an error that there is no ppa for 1.36 noble. I do see there is a package built for 1.37.59 noble. Should I move from 1.36 to 1.37 or will there be a 1.36 noble eventually? Thanks.
bbunge
Posts: 2950
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ubuntu 24.04 noble release

Post by bbunge »

1.36.X should be included in the 24.04 release. However, it likely will require special setup instructions as installing Zoneminder from the Ubuntu repositories may not set up the database.
I will look into this as time permits. Am a busy retired guy after all...
cwoodhouse
Posts: 1
Joined: Mon Jun 03, 2024 1:38 am

Re: Ubuntu 24.04 noble release

Post by cwoodhouse »

I am pretty much a newbie, but I achieved "death by update" upgrading from Ubuntu Mantic to Noble. So I guess I am waiting for a ppa for noble, unless there is a workaround that someone knows about? Thanks in advance.
User avatar
iconnor
Posts: 3181
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Ubuntu 24.04 noble release

Post by iconnor »

ppa:iconnor/zoneminder-proposed
smp
Posts: 9
Joined: Wed Jun 19, 2024 7:51 pm

Re: Ubuntu 24.04 noble release

Post by smp »

Just upgraded to Ubuntu 24.04LTS
used instructions at:
https://www.youtube.com/watch?v=hUqMUhgytyc

and the PPA:
ppa:iconnor/zoneminder-proposed

I hit one snag:

Code: Select all

Creating zm user zmuser
ERROR 1819 (HY000) at line 1: Your password does not satisfy the current policy requirements
The issue is caused here:

Code: Select all

/etc/zm/zm.conf:
# ZoneMinder database password
ZM_DB_PASS=zmpass
Correct passwd described here:
https://www.google.com/search?channel=f ... quirements

So I changed it to something like:
ZM_DB_PASS=zmpassaaBB123$%

That fixed the passwd problem.

In the video he checks for:
/etc/apache2/mods-available/rewrite.load

/ etc/apache2/mods-enabled$ ls -l rewrite.load
ls: cannot access 'rewrite.load': No such file or directory
/etc/apache2/mods-enabled$ sudo ln -s ../mods-available/rewrite.load rewrite.load
/etc/apache2/mods-enabled$ ls -l rewrite.load
lrwxrwxrwx 1 root root 30 Jun 28 11:49 rewrite.load -> ../mods-available/rewrite.load

Not sure if that was necessary....

Fired the console up, looking good!
mikb
Posts: 661
Joined: Mon Mar 25, 2013 12:34 pm

Re: Ubuntu 24.04 noble release

Post by mikb »

smp wrote: Fri Jun 28, 2024 6:28 pm
I hit one snag:

The issue is caused here:

Code: Select all

/etc/zm/zm.conf:
# ZoneMinder database password
ZM_DB_PASS=zmpass
Correct passwd described here:
...
I'm not sure that's a snag as such. You are intended to put your own password in there, not leave it as "zmpass" -- editting in a REAL password is a good thing. Rejecting the dummy password as inappropriate is a good thing.

That would be like leaving the password as "default" or "1234". Or setting your name to "PutYourNameHere" :)
smp
Posts: 9
Joined: Wed Jun 19, 2024 7:51 pm

Re: Ubuntu 24.04 noble release

Post by smp »

I'm not sure that's a snag as such. You are intended to put your own password in there, not leave it as "zmpass"
The problem is that this occurs during the install, before you have had a chance to change the password. zm.conf has been installed by the time the install exits on error, so you can edit it and rerun the install, IF you know that is what needs to be done...
mikb
Posts: 661
Joined: Mon Mar 25, 2013 12:34 pm

Re: Ubuntu 24.04 noble release

Post by mikb »

smp wrote: Sat Jun 29, 2024 6:46 pm
I'm not sure that's a snag as such. You are intended to put your own password in there, not leave it as "zmpass"
The problem is that this occurs during the install, before you have had a chance to change the password. zm.conf has been installed by the time the install exits on error, so you can edit it and rerun the install, IF you know that is what needs to be done...
OK, I'll give you that one, that does sound like a snag! :D I didn't realise the timeline ...
shdashley
Posts: 5
Joined: Thu Jul 04, 2024 6:07 am

Re: Ubuntu 24.04 noble release

Post by shdashley »

Trying to install ZM on to Ubuntu 24.04, (UFEI boot etc). HW is HPE DL380 Gen9.

But I get traceback errors when adding the proposed repository. How did you guys (gals etc) fix this ?



root@zm-srv-4:/home/ashleys# add-apt-repository ppa:iconnor/zoneminder-proposed
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 452, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 435, in main
shortcut = handler(source, **shortcut_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 89, in __init__
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 133, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 111, in lp
self._lp = login_func("%s.%s" % (self.__module__, self.__class__.__name__),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 494, in login_anonymously
return cls(
^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 230, in __init__
super(Launchpad, self).__init__(
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 511, in __init__
self._wadl = self._browser.get_wadl_application(self._root_uri)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 502, in get_wadl_application
response, content = self._request(url, media_type=wadl_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 441, in _request
response, content = self._request_and_retry(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 400, in _request_and_retry
response, content = self._connection.request(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1701, in request
(response, content) = self._request(
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 144, in _request
response, content = super(LaunchpadOAuthAwareHttp, self)._request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 204, in _request
return super(RestfulHttp, self)._request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1421, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in _conn_request
conn.connect()
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1133, in connect
sock.connect((self.host, self.port))
TimeoutError: [Errno 110] Connection timed out
User avatar
iconnor
Posts: 3181
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Ubuntu 24.04 noble release

Post by iconnor »

We had one case like that. I think the issue was that it was trying to use ipv6 but without a functioning ipv6 setup. SO you might try disabling ipv6.
shdashley
Posts: 5
Joined: Thu Jul 04, 2024 6:07 am

Re: Ubuntu 24.04 noble release

Post by shdashley »

Humm OK.
I sure do have IPv6. I have dual Wan link (Starlink and VDSL) both have working IPv6.
Although I have seen issues where 'sites' get upset when a client get directed via another path.
I will direct OpenWRT (and MWAN) to steer this systems connection via one path and see if that makes a difference.
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

Re: Ubuntu 24.04 noble release

Post by alabamatoy »

I had to turn off apparmor in Noble to get the PPA to work. Check your logs, see if apparmor is doing what it seems to do best, which is prevent things from happening.....even if you WANT them to happen.
shdashley
Posts: 5
Joined: Thu Jul 04, 2024 6:07 am

Re: Ubuntu 24.04 noble release

Post by shdashley »

OK, this is not really an IPv6 issue. But it was networking. I (like many I guess). I have all my cameras (19) on a separate VLAN. And I bond all the I/f (or at least the 1 Gb ethernet ones) into channel groups for the Cisco SW. And have Vlans presents into this.

I had managed to create a dual default network path via two of the VLANs. Which upset this app repository cmd. Other Ap functions did not care. Fix this and moved on to the next issue.

Stephen.
shdashley
Posts: 5
Joined: Thu Jul 04, 2024 6:07 am

Re: Ubuntu 24.04 noble release

Post by shdashley »

next issue is I backed up up my existing 1.36 configuration and db (from a Ubuntu 20.04 system).

on the new 24.04 system after I finished off the pre-install work. I then dumped the copied *.sql dump onto the new system.
this mostly has work fine. With all my camera config and groups etc present.
I then cleaned up the NFS évents' mounts. and ran a pass of zmaudit.pl to help 'clean' up the db of events. But after I thought I was sorted out and startup zoneminder I see all my cameras had the 'RED' dot and the Syslog file has many errors meaageas (see below). I have see others report this error. But that was for the development path. (my zm is 1.36.34) I've tried to reinstall over the top of the current install. but did not solve this error. I've also tried to create a brand not monitor, but it still has this RED dot issue.
->

2024-09-01T09:02:39.119904+10:00 zm-srv-4 zmc_m13[50935]: ERR [zmc_m13] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 20.01, CaptureBandwidth=116427, AnalysisFPS = 20.01, UpdatedOn=NOW() WHERE MonitorId=13: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.247346+10:00 zm-srv-4 zmc_m1[50873]: ERR [zmc_m1] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 19.32, CaptureBandwidth=74634, AnalysisFPS = 19.32, UpdatedOn=NOW() WHERE MonitorId=1: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.255946+10:00 zm-srv-4 zmc_m4[50888]: ERR [zmc_m4] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 20.00, CaptureBandwidth=70017, AnalysisFPS = 20.00, UpdatedOn=NOW() WHERE MonitorId=4: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.301234+10:00 zm-srv-4 zmc_m10[50915]: ERR [zmc_m10] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 20.00, CaptureBandwidth=49675, AnalysisFPS = 21.00, UpdatedOn=NOW() WHERE MonitorId=10: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.346227+10:00 zm-srv-4 zmc_m11[50921]: ERR [zmc_m11] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 19.99, CaptureBandwidth=29923, AnalysisFPS = 18.99, UpdatedOn=NOW() WHERE MonitorId=11: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.347263+10:00 zm-srv-4 zmc_m2[50878]: ERR [zmc_m2] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 20.04, CaptureBandwidth=138152, AnalysisFPS = 20.04, UpdatedOn=NOW() WHERE MonitorId=2: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.431756+10:00 zm-srv-4 zmc_m16[50963]: ERR [zmc_m16] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 19.99, CaptureBandwidth=60850, AnalysisFPS = 19.99, UpdatedOn=NOW() WHERE MonitorId=16: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.510132+10:00 zm-srv-4 zmc_m15[50951]: ERR [zmc_m15] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 20.00, CaptureBandwidth=56124, AnalysisFPS = 20.00, UpdatedOn=NOW() WHERE MonitorId=15: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.578890+10:00 zm-srv-4 zmc_m5[50893]: ERR [zmc_m5] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 19.99, CaptureBandwidth=61432, AnalysisFPS = 19.99, UpdatedOn=NOW() WHERE MonitorId=5: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.604594+10:00 zm-srv-4 zmc_m9[50909]: ERR [zmc_m9] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 20.12, CaptureBandwidth=50863, AnalysisFPS = 20.12, UpdatedOn=NOW() WHERE MonitorId=9: Unknown column 'UpdatedOn' in 'field list']
2024-09-01T09:02:39.628440+10:00 zm-srv-4 zmc_m20[50995]: ERR [zmc_m20] [Can't run query UPDATE LOW_PRIORITY Monitor_Status SET CaptureFPS = 19.82, CaptureBandwidth=727265, AnalysisFPS = 20.81, UpdatedOn=NOW() WHERE MonitorId=20: Unknown column 'UpdatedOn' in 'field list']
Post Reply