V1.30.4 Remastered

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

V1.30.4 Remastered

Post by Mopar93 »

ZoneMinder V1.30.4 is coming back. The new release will be known as ZoneMinder130. This will bring back the original user interface. A lot of enhancements and bug fixes have been applied while making massive changes to bring it up to date so that it works with the latest Debian and Ubuntu systems.

It is currently in the final phase of beta testing and will be released to the public sometime in November 2024. I've been personally using V1.30.4 since 2017 with 13 cameras. I've had to stick with Debian 9 and decided it was time to upgrade. But, it would not be possible because I much prefer the original user interface. Not saying there is anything wrong with the latest ZoneMinder, just stating my preference. So, over the past few months, I have taken it upon myself to do this big upgrade and I must say it has turned out quite nice.

ZoneMinder130 will be available in a publicly accessible respository so will be easy to install using apt or aptitude. There is no complicated configuring, just install with apt and it will be ready to run once the installation has finished. Just set up your cameras and motion detection zones and you're ready to go.

It will be available for Debian 11 bullseye, Debian 12 bookworm, Debian 13 trixie, Ubuntu 22.04 jammy, and Ubuntu 24.04 noble.

The full source code will also be available for those who like to tinker. It includes clear instructions on how to get set up and build your own deb package.

I will post a link to my website real soon...

-Maurice
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

I've decided to bite the bullet and release ZoneMinder130 to the public. I've been the only one testing it and it has been working very well for me. I have it running on my own production server now with 13 cameras and have not had any issues whatsoever. I chose to install the not yet officially released Debian 13 trixie on my own server so that I won't have to worry about upgrading the OS for a few years.

So, if there are any adventurous people out there who would like to try it out and hopefully provide some feedback, it would be greatly appreciated.

There are a number of aspects I haven't actually tested. For instance, I've only used IP cameras. I quit using my last analog camera about a year ago. But, I can't imagine them not working.

It still has Libvlc and cURL available for the source type for those who can make it work, but I will likely be removing both of those since there really is no need to use them since Ffmpeg works so well.

From the main ZoneMinder130 page on my website, you'll find a link to the installation page where you can learn how to install it. But, first be sure to read the release notes and the tips page. There are links for those there as well.

To get started, go to the ZoneMinder130 main page.

Post here with any questions you have or issues you may encounter. Thanks...

-Maurice
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

I also like ZM 1.30.4 and once assembled a Puppy Linux dedicated to running Zoneminder 1.30.4 in 32 and 64 bit variants and produced a one-click installation via package for Puppy Linux (PET)

I will love to test out Zoneminder130 and introduce it to the Puppy Linux - Kennel Linux community.

I will post my experiences once I have secured a copy and have it installed!
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

If you have any issues getting ZoneMinder130 to work on Puppy Linux, post something here, maybe I will have a clue on what to look for. I spent a lot of time making it work on the newer systems, so I got fairly familiar with it.

Looking forward to your results...

-Maurice
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

Mopar93 wrote: Wed Nov 20, 2024 2:54 am Looking forward to your results...

-Maurice
I will update this post with a result. I do have ZM130 running on a fresh install of Puppy Linux the NoblePup64 variant.
ZM starts after some juggling to adjust some of the web server infra structure.

It was installed with a combination of Method 1 and Method 2. I feel ZM130 will work well once I hammer out the kinks.
*
Screenshot(1).jpg
Screenshot(1).jpg (17.21 KiB) Viewed 155336 times
Stay tuned.

A problem has occurred, Setting up a local webcam after configuration attempting to save a Monitor-1 throws the following error:

Code: Select all

FAT	SQL-ERR 'SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column `zm`.`Monitors`.`V4LMultiBuffer` at row 1', statement was 'insert into Monitors set LinkedMonitors = '', Name = 'Monitor-1', ServerId = '', Type = 'Local', Function = 'Monitor', Enabled = '1', RefBlendPerc = '6', AlarmRefBlendPerc = '6', AnalysisFPS = '', MaxFPS = '', AlarmMaxFPS = '', Protocol = '', Host = '', Port = '80', Options = '', Path = '', User = '', Pass = '', RTSPDescribe = '0', LabelFormat = '%N - %m/%d/%y %H:%M:%S', LabelX = '0', LabelY = '0', LabelSize = '2', ImageBufferCount = '150', WarmupCount = '10', PreEventCount = '60', PostEventCount = '50', StreamReplayBuffer = '300', AlarmFrameCount = '1', Controllable = '0', ControlId = '0', ControlDevice = '', ControlAddress = '', AutoStopTimeout = '0.00', TrackMotion = '0', TrackDelay = '0', ReturnLocation = '-1', ReturnDelay = '0', EventPrefix = 'Event-', SectionLength = '600', FrameSkip = '0', MotionFrameSkip = '0', AnalysisUpdateDelay = '0', FPSReportInterval = '1000', DefaultView = 'Events', DefaultRate = '100', DefaultScale = '100', WebColour = 'red', Exif = '0', SignalCheckColour = '#0000c0', Device = '/dev/video0', Method = 'v4l2', Channel = '0', Format = '255', Palette = '0', V4LMultiBuffer = '', V4LCapturesPerFrame = '1', Colours = '3', Width = '640', Height = '360', Orientation = '0', Deinterlacing = '0', Sequence = 1'

Upon examination of the monitor configuration window notice the collapsed Linked Monitors field. It seems like a empty value is being sent and is causing the error...maybe?
Screenshot(2).jpg
Screenshot(2).jpg (19.88 KiB) Viewed 155332 times
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

I've been fixing each of those issues as they pop up, but apparently I missed that one, maybe because it didn't happen for me. I will fix this real soon. In the meantime, there is an easy workaround to make mariadb ignore the empty field...

Edit the following file:

/etc/mysql/mariadb.conf.d/50-server.cnf

Find the following line:

[mariadbd]

Add the following line just below this line:

sql-mode=""

And then restart mariadb with "systemctl restart mariadb"

Sorry about that and thanks for letting me know. On my test machine, I had the sql-mode line entered and forgot to delete it which is why I overlooked this error. I will fix it and do an update.

Edit: I made a slight typo above. The [mariadbd] line would be in the file if using Debian trixie. All others will have a line that has [mysqld].

-Maurice
Last edited by Mopar93 on Tue Nov 26, 2024 11:47 pm, edited 1 time in total.
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

I am getting closer!
the webcam LED is turning on for a few seconds and then zmc is crashing.

This is in a terminal shows no messages. I have the /dev/video0 owned by www-data (Apache and ZM)

Code: Select all

zmc -d /dev/video0
Before I did the work around you've shared, I was trying again and filled out the config slightly different and BOOM! it worked.
I selected this differently by selecting Yes instead of Use Config Value->
Multi Buffering Yes No Use Config Value

But I am getting only a camera up for a few seconds......so much closer...it's almost working!
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

I changed the res to 640x480 which the webcam is set too and it's up and running!!!

I had almost forgotten that ZM 1.30.4 is very picky that the camera resolution must be exact or the stream will fail

***
Screenshot(4).jpg
Screenshot(4).jpg (32.91 KiB) Viewed 155208 times
One more thing is I can not start ZM130 using /etc/init.d/zoneminder130. So far to start ZM130 it works using the web console.

Will start to look at why this is.......might be a Puppy Linux difference.....

One other thing is that the camera settings for the webcam work in ZM130 and not ZM 1.37.65
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

ZM130 is supposed to start automatically upon reboot of the server. /etc/init.d isn't really used, but rather it redirects to systemctl. So, maybe systemctl didn't get enabled during the installation. Maybe something is different there with Puppy. I'll have to install one and try it myself.

Try "systemctl enable zoneminder130.service"

Try a reboot and see if it starts automatically.

On another note, I haven't tried a webcam myself, only IP cameras.

-Maurice
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

That's a part of it....no systemd in Puppy Linux. I usually can get a /etc/init.d/zoneminder launch script to work from the command line. I have tried one from an earlier version that works on other Puppy Linux systems but so far is not working. Probably something simple.

I found /etc/init.d/zoneminder130 while checking after the initial installation

I'll reboot and test if Zoneminder130 auto-starts.

Is there a Force Alarm button or trigger some where? For testing I now have a net camera going along with the webcam and working well.
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

Also no status or FPS are displaying any values:
Screenshot(5).jpg
Screenshot(5).jpg (38.21 KiB) Viewed 155160 times
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

It looks like the Monitor window hasn't finished setting up which is why the stats and the alarm links aren't showing up. There is an error that is keeping it from finishing the setup of the window. I'm gone for the weekend, but when I get back, I'll set up a Puppy Linux virtual machine and figure out what is needed to make it work 100% on that system.

Also, since it doesn't use systemd, it will require a different init.d script.

Thanks for what you have done so far.

-Maurice
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: V1.30.4 Remastered

Post by rockedge »

Well I've been working with ZM130 alongside ZM137.65 and despite the quirks of getting ZM130 working smoothly in Puppy Linux Noblepup64, it is overall working pretty good.

I am right now this Tuesday morning using a fresh Noblepup64 (super easy to do repeated tries) and following the steps for Ubuntu 24.04.

I will install the LAMP prior to running apt install zoneminder130
So far so good.

What needs to be looked at is why I can start ZM130 from the web console but zmpkg.pl start doesn't work or does zoneminder130 or any of the other launch scripts. The fact that this Puppy Linux has a pseudo systemd might be an issue but this has not stopped ZM components from working.

The error logs are not specific but looks like there is some system bus not activating when zmpkg.pl is used from the command line.

Just now as I begin the steps to install this error appeared during the apt update

Code: Select all

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://pkg.clickheresoftware.com/ubuntu noble InRelease' doesn't support architecture 'i386'

Hope this helps in someway.

Really excited to get Zoneminder130 working on Puppy Linux and share it with the community around Puppy Linux, DebianDog and Kennel Linux variants. I'll help in anyway I can and I will continue fiddling around seeing what I can do from here!
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

You can ignore that "Skipping acquire" message. I think it is just telling you that there are no i386 packages available from my repository.

All the errors you mentioned in your message are currently being fixed. I believe I have all of them fixed, actually. I've been encountering those and a few others as I go along here. They appeared only due to how Puppy Linux works as opposed to a regular Ubuntu or Debian installation.

I have it now working with or without systemd. That means that the same deb file will work on a regular Debian or Ubuntu system or on a system such as Puppy Linux with no systemd.

I will be doing some more testing along with some more tweaking and will release an update soon.

Rockedge, as soon as I'm happy with the results and before updating my repository, it would be great if you could test the update on your system. If so, I'll let you know when I'm satisfied with it and will make it available for you to download and install.

-Maurice
Mopar93
Posts: 30
Joined: Thu Feb 12, 2009 9:36 pm

Re: V1.30.4 Remastered

Post by Mopar93 »

By the way, I forgot to mention that so far, I've been working with BookwormPup64. Where did you download the NoblePup64 from?

-Maurice
Post Reply