Problem after dist-upgrade / reinstall problem

Forum for questions and support relating to the 1.29.x releases only.
Locked
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Problem after dist-upgrade / reinstall problem

Post by Tiggy »

Hi,

I used to run zoneminder 1.28 without any problem and after doing some maintenance on my system and installing upgrades/updates my ubuntu 14.4 server upgraded zoneminder to the lastest one 1.29; this update had as result that my zm install wasn't showing me any images at all anymore.

So I decided to remove zoneminder (apt-get remove; autoremove ... and manually remove the /etc/zm directory) to try a clean install of zoneminder; the problem I have now is that reinstalling the package doesn't recreate the /etc/zm/ files (zm.conf ... 3 files if I remember correctly).

Any ideas why this happens?
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Re: Problem after dist-upgrade / reinstall problem

Post by Tiggy »

I just fixed it myself; just gonna tell what I did in case someone runs into the same problem:

First i did:

Code: Select all

sudo apt-get --purge remove zoneminder
I just had to remove the /var/log/zm dir myself because apt-get gave an error.

Followed by:

Code: Select all

sudo apt-get install zoneminder
bbunge
Posts: 2944
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Problem after dist-upgrade / reinstall problem

Post by bbunge »

There are upgrade instructions here for Ubuntu 14.04:

https://wiki.zoneminder.com/Common_Issu ... PA_version

Am also working on instructions to upgrade Ubuntu to 16.04
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Re: Problem after dist-upgrade / reinstall problem

Post by Tiggy »

I got it working as before with the install manual on zoneminder.com; I just need to take some time ro make the log part of the site work; for some reason nothing shows up there, but I didn't really find time to check my logs ...
rc0utinh0
Posts: 1
Joined: Wed Mar 30, 2016 1:39 am

Re: Problem after dist-upgrade / reinstall problem

Post by rc0utinh0 »

I had the same problem after the last updated , the images do not appear ... physical and IP cameras do not appear. hardware ( tw68 ) works in other app ( cheese )
Tiggy, I tried to remove and reinstall put the error persists.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Problem after dist-upgrade / reinstall problem

Post by asker »

One of the most commonly missed steps while upgrading from 1.28 to 1.29 is not updating PATH_ZMS.
Please make sure you follow the instructions and change your PATH_ZMS settings. More often than not, that fixes missing images (there are other reasons, but this by far is the most common)
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Re: Problem after dist-upgrade / reinstall problem

Post by Tiggy »

rc0utinh0 wrote:I had the same problem after the last updated , the images do not appear ... physical and IP cameras do not appear. hardware ( tw68 ) works in other app ( cheese )
Tiggy, I tried to remove and reinstall put the error persists.
Starting from scratch worked for me. I am now moving my files to another hdd so that I have more space to use. Maybe a manual on that might be usefull too ;)

After moving the files I got error saying mootools js couldn't be found; maybe the install should symlink the java files to the full path instead of using ../../../....
Last edited by Tiggy on Wed Mar 30, 2016 11:37 am, edited 1 time in total.
Tiggy
Posts: 62
Joined: Tue Mar 11, 2008 7:47 pm
Location: Belgium

Re: Problem after dist-upgrade / reinstall problem

Post by Tiggy »

asker wrote:One of the most commonly missed steps while upgrading from 1.28 to 1.29 is not updating PATH_ZMS.
Please make sure you follow the instructions and change your PATH_ZMS settings. More often than not, that fixes missing images (there are other reasons, but this by far is the most common)
That /zm in front of the PATH_ZMS is indeed needed, but that didn't fix the missing image error after upgrading. Something must have gone wrong during the update; but I moved my files to another hdd on the 1.28 install too; that's maybe why I ran into problems.
Locked