Upgrade Issue 1.34 ->1.35

Forum for questions and support relating to 1.35.x development only.
Post Reply
egglestn
Posts: 8
Joined: Mon Aug 24, 2020 9:40 am

Upgrade Issue 1.34 ->1.35

Post by egglestn » Wed Apr 07, 2021 9:35 pm

Hi
I have run a 6 monitor set up on 1.34 quite happily for a while. Decided that I might like to help with testing, so added the master PPA and upgraded to 1.35.23 using the Ubuntu Software update. The upgrade apparently went smoothly, and I can see my UI as expected, but none of the cameras appear to be capturing, and when I attempt to change Modect to None (The idea to then reset them to modect ) it wont save the status & throws up a 500 error (internal server error?)
It also doesn't show any of the previous captured footage
I wonder if its a codex or decoder problem?

Im using Apache2, MariaDB and Ubuntu 20.04 LTS (Focal) and set it up according to the instructions in the wiki.
Previous to doing the update it was running perfectly
While its not the end of the world, is it something I have done, and how do I fix it or if not is there a simple way to downgrade back to the stable 1.34
If you need more info..chirp up and I will try to provide (I'm not a techie,)

egglestn
Posts: 8
Joined: Mon Aug 24, 2020 9:40 am

Re: Upgrade Issue 1.34 ->1.35

Post by egglestn » Wed Apr 07, 2021 9:52 pm

Sorry
I also tried adding a new monitor to my set up, and it wouldn't allow me to do that.

Is this a permissions problem?

Magic919
Posts: 491
Joined: Wed Sep 18, 2013 6:56 am

Re: Upgrade Issue 1.34 ->1.35

Post by Magic919 » Thu Apr 08, 2021 6:31 am

You should stay away from 1.35 if you are not that technical.

egglestn
Posts: 8
Joined: Mon Aug 24, 2020 9:40 am

Re: Upgrade Issue 1.34 ->1.35

Post by egglestn » Thu Apr 08, 2021 11:02 am

:D A bit late for that advice!

Is it simply a case of wait till it gets updated or is there a simple way of rolling back to 1.34

Magic919
Posts: 491
Joined: Wed Sep 18, 2013 6:56 am

Re: Upgrade Issue 1.34 ->1.35

Post by Magic919 » Thu Apr 08, 2021 11:42 am

Undo whatever you did to add the master PPA and then do the downgrade to 1.34.

egglestn
Posts: 8
Joined: Mon Aug 24, 2020 9:40 am

Re: Upgrade Issue 1.34 ->1.35

Post by egglestn » Thu Apr 08, 2021 3:39 pm

Thanks.I have undone adding the master-ppa but was looking for a walk through or tutorial to do the downgrade, do you have any idea where one is? Google throws up a number of hints, but nothing definitive.

As a side thought, if I just wait will things simply catch up?
Thanks

User avatar
knight-of-ni
Posts: 2375
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Upgrade Issue 1.34 ->1.35

Post by knight-of-ni » Thu Apr 08, 2021 5:21 pm

The only 100% sure way to downgrade is to restore from an old dB backup, after you have downgraded the software.

If you don't have a dB backup, in many cases, simply running sudo zmupdate.pl, after downgrading the software, will get things working for you.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

User avatar
iconnor
Posts: 1538
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Upgrade Issue 1.34 ->1.35

Post by iconnor » Thu Apr 08, 2021 7:41 pm

Your update probably failed in the middle. There are db changes that require bin logging be turned off. Put this in /etc/mysql/mysql.conf.d/binlog.cnf
and restart mysql

[mysqld]
skip-log-bin

Then do sudo zmupdate.pl

Once update is done you can either leave bin logging off, or delete that file and restart mysql

I believe 1.35 is starting to approach some semblance of stability.

egglestn
Posts: 8
Joined: Mon Aug 24, 2020 9:40 am

Re: Upgrade Issue 1.34 ->1.35

Post by egglestn » Thu Apr 08, 2021 8:23 pm

Thank you Isaac,
That appears to have solved the problem. I followed your instructions, (Add to /etc/mysql/mysql.conf.d/binlog.conf) .. I had to create that file and (not surprisingly) it didn't work first time, but when I added the line to the file
/etc/mysql/mysql.conf.d/mysqld.cnf it seems to work...

Thanks for your help, really appreciate it

I hope to contribute a bit back...even if its just being the noob who breaks things

have a great day

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests