Upgrade instructions from 1.28.1 to 1.29.0

Forum for questions and support relating to the 1.29.x releases only.
Simpler
Posts: 76
Joined: Mon Nov 02, 2015 12:40 am

Upgrade instructions from 1.28.1 to 1.29.0

Post by Simpler »

What are the official steps to upgrade from 1.28.1 to 1.29.0?

I'm on Linux Mint 17.3 using the ppa.

I performed a

Code: Select all

sudo apt-get install zoneminder
which pulled the latest files, but now what are the commands to update the database (and anything else)?

I don't see any instructions in the help docs for upgrading.

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

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by knight-of-ni »

Looks like Linux Mint is based on Ubuntu, in which case you should always go to the Ubuntu section of the Wiki for instructions:
https://wiki.zoneminder.com/Ubuntu
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/
Simpler
Posts: 76
Joined: Mon Nov 02, 2015 12:40 am

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by Simpler »

The instructions are for a new installation. Are there upgrade instructions that I'm missing?
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by knight-of-ni »

That's not what I'm reading.
The first section, section 1.1, says it includes upgrade instructions.
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/
Simpler
Posts: 76
Joined: Mon Nov 02, 2015 12:40 am

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by Simpler »

Thanks. I'm not sure how I missed that. I went through the instructions and it's coming up now, but when I click on my monitor, I'm not getting a picture. Also when I try to view my existing events, they are blank. The log file shows the following lines:

Code: Select all

2016-02-04 21:51:37.711248	web_js		30406	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-252788s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2016-02-04 21:51:37.652153	web_php		30406	ERR	socket_sendto( /var/run/zm/zms-252788s.sock ) failed: No such file or directory	/usr/share/zoneminder/www/includes/functions.php	2371
Any suggestions on what to check?

Thanks again.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by bbunge »

The upgrade instructions will be tweaked sometime tomorrow. For now follow the install instructions, below the upgrade instructions but use the PPA not the master. I did a test install tonight successfully but discovered the release too late to do more. Old guys need to get sleep!

bb
lakedweller
Posts: 2
Joined: Fri Feb 05, 2016 6:58 am

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by lakedweller »

I am running zoneminder on CentOS 7.2 and could also _really_ use upgrade instructions. A yum update tonight automatically upgraded my server to zoneminder 1.29, and now I am getting the following error in my zoneminder log:

Feb 4 23:24:48 zoneminder web_php[4404]: FAT [SQL-ERR 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zm.Servers' doesn't exist', statement was 'SELECT * FROM Servers']

This error is also reported in my web browser after trying to log into the zoneminder WebUI.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by bbunge »

lakedweller wrote:I am running zoneminder on CentOS 7.2 and could also _really_ use upgrade instructions. A yum update tonight automatically upgraded my server to zoneminder 1.29, and now I am getting the following error in my zoneminder log:

Feb 4 23:24:48 zoneminder web_php[4404]: FAT [SQL-ERR 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zm.Servers' doesn't exist', statement was 'SELECT * FROM Servers']

This error is also reported in my web browser after trying to log into the zoneminder WebUI.
See https://zmrepo.zoneminder.com/
The instructions are in: /usr/share/doc/zoneminder-*/README.Centos7
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by knight-of-ni »

lakedweller wrote:I am running zoneminder on CentOS 7.2 and could also _really_ use upgrade instructions. A yum update tonight automatically upgraded my server to zoneminder 1.29, and now I am getting the following error in my zoneminder log:

Feb 4 23:24:48 zoneminder web_php[4404]: FAT [SQL-ERR 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zm.Servers' doesn't exist', statement was 'SELECT * FROM Servers']

This error is also reported in my web browser after trying to log into the zoneminder WebUI.
Really getting tired of people not reading the README.

When one goes through the process of getting zoneminder through zmrepo, you are told no less than four times to read the README.
You were even told where it was on your filesystem so you could go and read it.

The note even goes on to say that ZoneMinder will not work until you follow the steps in the README.

So why didn't you bother to do that?

The problem here is between the chair and the keyboard, and only you can fix that.
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/
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by bbunge »

Upgrade procedure for Ubuntu 14.04 has been updated and verified:
https://wiki.zoneminder.com/Common_Issu ... PA_version
Simpler wrote:What are the official steps to upgrade from 1.28.1 to 1.29.0?

I'm on Linux Mint 17.3 using the ppa.

I performed a

Code: Select all

sudo apt-get install zoneminder
which pulled the latest files, but now what are the commands to update the database (and anything else)?

I don't see any instructions in the help docs for upgrading.

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

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by knight-of-ni »

I'm going to troll my own post for a little comic relief.

Writing documentation for ZoneMinder feels like the following quite often:
https://youtu.be/g3YiPC91QUk?t=115
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/
jrf
Posts: 28
Joined: Sat Feb 28, 2015 2:17 pm

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by jrf »

bbunge wrote:Upgrade procedure for Ubuntu 14.04 has been updated and verified:
https://wiki.zoneminder.com/Common_Issu ... PA_version
I succeeded with this instruction today, even not being a experienced Linux user. Thanks. :D
Best regards from South Germany,
JRF
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by bbunge »

Thanks for the comment!

Twenty years ago, when Win 95 was in its first release, I was doing software development and documentation for one of our larger government agencies. We had a document imaging system that would run on an 8086 PC under DOS (remember DOS?). When us smart guys would write up an install procedure (yes, we used floppy disks, remember those?) we would visit Kim and have her run the procedure. Kim was an analyst, not a PC guru. She followed our steps to the letter and would stop if it did not work. We would then find what did not work and fix it before it went back to Kim to do it again and again till it worked!
So, if some of my stuff looks simple to you keep in mind that I still try to write so Kim could understand what to do. And, I too sometimes make mistakes. Forgive me in advance for those!

bb :D :arrow:
jrf wrote:
bbunge wrote:Upgrade procedure for Ubuntu 14.04 has been updated and verified:
https://wiki.zoneminder.com/Common_Issu ... PA_version
I succeeded with this instruction today, even not being a experienced Linux user. Thanks. :D
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by bbunge »

Upgrade instructions revised for Ubuntu 15.04:
https://wiki.zoneminder.com/Common_Issu ... PA_version
BiloxiGeek
Posts: 271
Joined: Tue Feb 11, 2014 2:04 pm

Re: Upgrade instructions from 1.28.1 to 1.29.0

Post by BiloxiGeek »

knnniggett wrote:I'm going to troll my own post for a little comic relief.

Writing documentation for ZoneMinder feels like the following quite often:
https://youtu.be/g3YiPC91QUk?t=115
So after I upgrade where can I find the instructions? They don't seem to be here. :lol:
Locked