1.26.5 upgrade fails when events and images are links. Why?
Posted: Wed Jan 15, 2014 1:55 pm
So I just upgraded my (perfectly stable and working great) 1.25 zoneminder to 1.26.5.
It went relatively smoothly, except I had to do some gymnastics in order to get it to install.
(using the iconnor PPA, in case it matters)
I had /usr/share/zoneminder/events and /usr/share/zoneminder/images symlinked to a convenient place before I started the upgrade. This then brought up a large warning and the installer refused to proceed when I tried to upgrade.
So I renamed the symlinks, made new symlinks where zoneminder "expected" them to point to (i.e. to empty directories since they never had events in them), then had to force runlevel=1 when upgrading so that zoneminder wasn't re-started upon upgrading. Then I put the original symlinks back, and started the new zoneminder.
...it worked flawlessly. 1.26.5 running happy as a clam, all old archived events present (and not being deleted by zmfilter, either). No problems!
So I guess the question is why is zoneminder checking (and balking!) at custom symlinks on install? It's obvious somebody went to a great deal of trouble to write that code (and I had to do work to get around it), to no effect. I'm thinking I have to be missing something; somebody clue me in here! Thanks!
It went relatively smoothly, except I had to do some gymnastics in order to get it to install.
(using the iconnor PPA, in case it matters)
I had /usr/share/zoneminder/events and /usr/share/zoneminder/images symlinked to a convenient place before I started the upgrade. This then brought up a large warning and the installer refused to proceed when I tried to upgrade.
So I renamed the symlinks, made new symlinks where zoneminder "expected" them to point to (i.e. to empty directories since they never had events in them), then had to force runlevel=1 when upgrading so that zoneminder wasn't re-started upon upgrading. Then I put the original symlinks back, and started the new zoneminder.
...it worked flawlessly. 1.26.5 running happy as a clam, all old archived events present (and not being deleted by zmfilter, either). No problems!
So I guess the question is why is zoneminder checking (and balking!) at custom symlinks on install? It's obvious somebody went to a great deal of trouble to write that code (and I had to do work to get around it), to no effect. I'm thinking I have to be missing something; somebody clue me in here! Thanks!