Page 1 of 1
Problem after dist-upgrade / reinstall problem
Posted: Tue Mar 29, 2016 2:01 am
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?
Re: Problem after dist-upgrade / reinstall problem
Posted: Tue Mar 29, 2016 8:19 am
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:
Re: Problem after dist-upgrade / reinstall problem
Posted: Tue Mar 29, 2016 12:00 pm
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
Re: Problem after dist-upgrade / reinstall problem
Posted: Tue Mar 29, 2016 12:34 pm
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 ...
Re: Problem after dist-upgrade / reinstall problem
Posted: Wed Mar 30, 2016 1:50 am
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.
Re: Problem after dist-upgrade / reinstall problem
Posted: Wed Mar 30, 2016 11:07 am
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)
Re: Problem after dist-upgrade / reinstall problem
Posted: Wed Mar 30, 2016 11:30 am
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 ../../../....
Re: Problem after dist-upgrade / reinstall problem
Posted: Wed Mar 30, 2016 11:33 am
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.