Page 1 of 2
Upgrade instructions from 1.28.1 to 1.29.0
Posted: Thu Feb 04, 2016 11:26 pm
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
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.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 1:43 am
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
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 2:15 am
by Simpler
The instructions are for a new installation. Are there upgrade instructions that I'm missing?
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 2:23 am
by knight-of-ni
That's not what I'm reading.
The first section, section 1.1, says it includes upgrade instructions.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 2:55 am
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.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 3:27 am
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
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 7:02 am
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.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 12:47 pm
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
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 12:51 pm
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.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 1:16 pm
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
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.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 1:26 pm
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
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 4:23 pm
by jrf
I succeeded with this instruction today, even not being a experienced Linux user. Thanks.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 6:10 pm
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
jrf wrote:
I succeeded with this instruction today, even not being a experienced Linux user. Thanks.
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 6:12 pm
by bbunge
Re: Upgrade instructions from 1.28.1 to 1.29.0
Posted: Fri Feb 05, 2016 6:18 pm
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.