New PPA for Ubuntu 22.04 jammy jellyfish?
New PPA for Ubuntu 22.04 jammy jellyfish?
Will there be a PPA for Ubuntu 22.04 jammy jellyfish? I'm currently on the Beta with zoneminder 1.36.12 and it is having some difficulties with PHP 8.1.
Last edited by smithjw1 on Wed Apr 13, 2022 3:10 pm, edited 1 time in total.
Re: New PPA for Ubuntu jammy jellyfish?
It will happen when it happens!
I am glad you have the time to experiment with beta versions. In my opinion Ubuntu has become a pain and I seem to get better performance with Debian.
I am glad you have the time to experiment with beta versions. In my opinion Ubuntu has become a pain and I seem to get better performance with Debian.
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Ubuntu 22.04 has now officially been released on 4/21. This is a long term release that replaces 20.04. Do we have a zoneminder release that will support 22.04? I'm currently on 1.36 but it has some problems on 22.04. What should I be running? 1.37 maybe?
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
I would stay on 1.36 unless you like the bleeding edge and things not working.
If you look on Slack you can see Isaac is looking at this. I’ll be holding on 20.04 for a while yet.
If you look on Slack you can see Isaac is looking at this. I’ll be holding on 20.04 for a while yet.
-
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
I'm currently on 1.36.12, but it will not update past this level because of PHP8.1. Even on 1.36.12 I get errors about functions that have been deprecated. If I try to manually update to 1.36.14, I get The following packages have unmet dependencies:
zoneminder : Depends: php-apc but it is not installable or
php-apcu-bc but it is not installable
That is why I was looking for a repository for the new Ubuntu release.
zoneminder : Depends: php-apc but it is not installable or
php-apcu-bc but it is not installable
That is why I was looking for a repository for the new Ubuntu release.
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
PPA for ubuntu 22.04 jammy is now working. Thank you.
-
- Posts: 1
- Joined: Sat May 15, 2021 12:12 pm
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Having stupidly just done an "upgrade" without checking everything was going to be OK I found that 1.36.x no longer worked in Ubuntu 22.04 .
I now find that all's well again now the jellyfish PPA has been updated. Massive thanks to @iconnor for the work, It's much appreciated.
I know this isn't necessarily the right place to mention this, but if you're using zmeventserver you may need to re-install the perl dependencies
with
to have the event server working again. Happened to me, so mentioned here for anyone left scratching their heads!
Tim
I now find that all's well again now the jellyfish PPA has been updated. Massive thanks to @iconnor for the work, It's much appreciated.
I know this isn't necessarily the right place to mention this, but if you're using zmeventserver you may need to re-install the perl dependencies
with
Code: Select all
sudo perl -MCPAN -e "install Crypt::MySQL"
sudo perl -MCPAN -e "install Config::IniFiles"
sudo perl -MCPAN -e "install Crypt::Eksblowfish::Bcrypt"
Tim
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Crap! I decided to perform an in-place upgrade (do-release-upgrade) to upgrade from Ubuntu 21.10 to 22.04, and after re-enabling the repositories, I can no longer access my web interface. It appears to have started but I can't access it. I checked the status of the zoneminder.service.
How can I get my web interface back?
Code: Select all
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-05-18 17:53:52 PDT; 1min 56s ago
Process: 15727 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 15742 (zmdc.pl)
Tasks: 134 (limit: 38251)
Memory: 12.8G
CPU: 5min 18.417s
CGroup: /system.slice/zoneminder.service
├─15742 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─15771 /usr/bin/zmc -m 1
├─15776 /usr/bin/zmc -m 2
├─15781 /usr/bin/zmc -m 3
├─15786 /usr/bin/zmc -m 4
├─15791 /usr/bin/zmc -m 5
├─15796 /usr/bin/zmc -m 6
├─15801 /usr/bin/zmc -m 7
├─15807 /usr/bin/zmc -m 8
├─15812 /usr/bin/zmc -m 9
├─15817 /usr/bin/zmc -m 10
├─15822 /usr/bin/zmc -m 11
├─15827 /usr/bin/zmc -m 12
├─15832 /usr/bin/zmc -m 13
├─15837 /usr/bin/zmc -m 14
├─15842 /usr/bin/zmc -m 15
├─15847 /usr/bin/zmc -m 16
├─15852 /usr/bin/zmc -m 17
├─15857 /usr/bin/zmc -m 18
├─15862 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
├─15867 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
├─15873 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=7 --daemon
├─15878 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
├─15883 /usr/bin/perl -wT /usr/bin/zmwatch.pl
├─15888 /usr/bin/perl -wT /usr/bin/zmupdate.pl -c
└─15892 /usr/bin/perl -wT /usr/bin/zmstats.pl
May 18 17:53:52 zm sudo[15879]: root : PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmwatch.pl
May 18 17:53:52 zm sudo[15879]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
May 18 17:53:52 zm sudo[15879]: pam_unix(sudo:session): session closed for user www-data
May 18 17:53:52 zm sudo[15884]: root : PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmupdate.pl -c
May 18 17:53:52 zm sudo[15884]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
May 18 17:53:52 zm sudo[15884]: pam_unix(sudo:session): session closed for user www-data
May 18 17:53:52 zm sudo[15889]: root : PWD=/usr/share/zoneminder/www ; USER=www-data ; COMMAND=/usr/bin/zmdc.pl start zmstats.pl
May 18 17:53:52 zm sudo[15889]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
May 18 17:53:52 zm sudo[15889]: pam_unix(sudo:session): session closed for user www-data
May 18 17:53:52 zm systemd[1]: Started ZoneMinder CCTV recording and surveillance system.
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Verify database and apache are running.
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
I'm not seeing anything that looks to be an error to me...
I'm currently stumped. So far, everything I've thought to check appears normal, yet I can't see anything when I go to the web interface.
Code: Select all
● mariadb.service - MariaDB 10.6.7 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-05-18 21:21:12 PDT; 37s ago
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Process: 202892 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 202893 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 202896 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 203035 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 203037 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
Main PID: 202988 (mariadbd)
Status: "Taking your SQL requests now..."
Tasks: 69 (limit: 38251)
Memory: 429.7M
CPU: 1.073s
CGroup: /system.slice/mariadb.service
└─202988 /usr/sbin/mariadbd
May 18 21:21:12 zm systemd[1]: Starting MariaDB 10.6.7 database server...
May 18 21:21:12 zm mariadbd[202988]: 2022-05-18 21:21:12 0 [Note] /usr/sbin/mariadbd (server 10.6.7-MariaDB-2ubuntu1) starting as process 202988 ...
May 18 21:21:12 zm systemd[1]: Started MariaDB 10.6.7 database server.
Code: Select all
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-05-18 21:23:13 PDT; 17s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 203380 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 203384 (apache2)
Tasks: 7 (limit: 38251)
Memory: 7.1M
CPU: 29ms
CGroup: /system.slice/apache2.service
├─203384 /usr/sbin/apache2 -k start
├─203385 /usr/sbin/apache2 -k start
├─203386 /usr/sbin/apache2 -k start
├─203387 /usr/sbin/apache2 -k start
├─203388 /usr/sbin/apache2 -k start
├─203389 /usr/sbin/apache2 -k start
└─203390 /usr/sbin/apache2 -k start
May 18 21:23:13 zm systemd[1]: Starting The Apache HTTP Server...
May 18 21:23:13 zm systemd[1]: Started The Apache HTTP Server.
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Just focus on Apache, as you don’t need ZM to see the web interface. What do you get when you visit the page?
-
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
I have a feeling that the problem is somehow in the Apache2 setup but can't quite put my finger on it. I was looking through my /var/log/apache2/error.log and it is full of errors. I have done a little "sanitizing" to the log and just showing a snippet, but here is some of the log file that I hope someone could explain why I'm seeing.
NOTES: While the timestamp is likely irrelevant, I trimmed away the day of the week, month, date, and hour to reduce the line width a bit.... I could have probably trimmed the entire thing. I was seeing my router's LAN address and changed it to just say <router-ip>.
Code: Select all
[:26:27.614692 2022] [cgi:error] [pid 800831] [client <router-ip>:65493] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/nph-zms
[:26:27.614838 2022] [cgi:error] [pid 800832] [client <router-ip>:65492] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/nph-zms
[:26:27.615274 2022] [cgi:error] [pid 800833] [client <router-ip>:65499] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/nph-zms
[:26:27.615416 2022] [cgi:error] [pid 800834] [client <router-ip>:65500] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/nph-zms
[:26:27.615790 2022] [cgi:error] [pid 800836] [client <router-ip>:65503] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/nph-zms
[:26:32.597999 2022] [proxy:error] [pid 800981] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.0-fpm.sock (*) failed
[:26:32.598021 2022] [proxy_fcgi:error] [pid 800981] [client <router-ip>:1105] AH01079: failed to make connection to backend: httpd-UDS
[:26:32.690192 2022] [cgi:error] [pid 800983] [client <router-ip>:1109] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/nph-zms
NOTES: While the timestamp is likely irrelevant, I trimmed away the day of the week, month, date, and hour to reduce the line width a bit.... I could have probably trimmed the entire thing. I was seeing my router's LAN address and changed it to just say <router-ip>.
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Is nph-zms at /usr/lib/cgi-bin/nph-zms?
Or is it at /usr/lib/zoneminder/cgi-bin/nph-zms?
------------------ -> ^
Or is it at /usr/lib/zoneminder/cgi-bin/nph-zms?
------------------ -> ^
Re: New PPA for Ubuntu 22.04 jammy jellyfish?
Thanks for bearing with me as I traveled down the wormhole trying to figure out what went wrong.dougmccrary wrote: ↑Fri May 20, 2022 9:03 am Is nph-zms at /usr/lib/cgi-bin/nph-zms?
Or is it at /usr/lib/zoneminder/cgi-bin/nph-zms?
------------------ -> ^
As to the question of "nph-zms", I saw that the file did not exist in /usr/lib/cgi-bin/ but it did existed as a symbolic link in /usr/lib/zoneminder/cgi-bin/, linking to a file in the same folder called "zms". Not knowing if it was supposed to be in /usr/lib/cgi-bin, I created another symbolic link in that folder, again pointing to "zms" in /usr/lib/zoneminder/cgi-bin/.
This didn't immediately fix anything, so I knew the main problem lay elsewhere. I again looked through the /var/log/apache2/error.log and noticed the following:
Code: Select all
[proxy:error] [pid 1454265] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.0-fpm.sock (*)
Code: Select all
sudo a2disconf php8.0-fpm.conf
sudo a2enconf php8.1-fpm.conf
sudo systemctl reload apache2