Did Old Events Get Placed Elsewhere During Upgrade?
Posted: Mon Oct 15, 2018 10:23 pm
This upgrade from 1.30.4 to 1.32.1 on Fedora 28 was an adventure! It appears I lost at least a days worth of events as I had just went through and pruned events 24 hours before this update and had lost other events it seems in some other pre-update event I’m still not certain of but now have suspicions since I see the zm.conf.rpmnew is dated about the time of the other event before I performed a much needed “dnf update” on my system hours ago.
My current issue is my events are missing after working through several other post update surprises like:
• No Web GUI getting 404 error and zoneminder services wouldn’t start
◦ Missing /etc/httpd/conf.d/zoneminder.conf
▪ Had to redo install step to symbolically link to /etc/zm/www/zoneminder.conf
• ln -s /etc/zm/www/zoneminder.conf /etc/httpd/conf.d/
• Not sure if needed or not but had to change ownership of /usr/share/zoneminder/www/
◦ chown apache:apache -R /usr/share/zoneminder/www/
• Thought I had borked up my bind mounts in “/etc/fstab” so went through commenting them out then placing them back in place as I was getting the “DiskSpace: Event does not exist ...” messages.
• Once got GUI up thought css or something else was hosed as this drastic departure from one interface to the other.
• Then with events not playing from the prior day I really thought things were bad.
• Had to go into my monitors source→storage → <choose a video writer> to get new events to play and be able to use the “event playback features” like “fast forward”, “pause” etc.. something I saw in this forum.
• I even went and played with Shinobi for a while...
This is where my real question begins after frustration of above items:
I turned on logging in the options menu in the GUI and then tried to access the events from a day prior and that’s where I saw the paths issue:
• This is what the old paths looked like in 1.30.4:
◦ ../events/6/18/10/11/11/05/26
• This is what the new paths look like now in 1.32.1:
◦ ../events/7/2018-10-15/4124
The old path structure I can still see from the events I had archived which Zoneminder saved which proves Zoneminder could have saved my non-archived events but didn’t unless I just can’t find them.
My question is looks like in 1.32.1 the path structure changed in Events and there was no mechanism to cleanly move events to the new structure or am I missing where they placed the events as the DB still thinks they exist but Zoneminder clearly can’t find them?
Second question is does the date on my zm.conf.rpmnew mean there was some pre-update activity before I did the manual update or is that just the create date of the file that was plopped on the server?
My current issue is my events are missing after working through several other post update surprises like:
• No Web GUI getting 404 error and zoneminder services wouldn’t start
◦ Missing /etc/httpd/conf.d/zoneminder.conf
▪ Had to redo install step to symbolically link to /etc/zm/www/zoneminder.conf
• ln -s /etc/zm/www/zoneminder.conf /etc/httpd/conf.d/
• Not sure if needed or not but had to change ownership of /usr/share/zoneminder/www/
◦ chown apache:apache -R /usr/share/zoneminder/www/
• Thought I had borked up my bind mounts in “/etc/fstab” so went through commenting them out then placing them back in place as I was getting the “DiskSpace: Event does not exist ...” messages.
• Once got GUI up thought css or something else was hosed as this drastic departure from one interface to the other.
• Then with events not playing from the prior day I really thought things were bad.
• Had to go into my monitors source→storage → <choose a video writer> to get new events to play and be able to use the “event playback features” like “fast forward”, “pause” etc.. something I saw in this forum.
• I even went and played with Shinobi for a while...
This is where my real question begins after frustration of above items:
I turned on logging in the options menu in the GUI and then tried to access the events from a day prior and that’s where I saw the paths issue:
• This is what the old paths looked like in 1.30.4:
◦ ../events/6/18/10/11/11/05/26
• This is what the new paths look like now in 1.32.1:
◦ ../events/7/2018-10-15/4124
The old path structure I can still see from the events I had archived which Zoneminder saved which proves Zoneminder could have saved my non-archived events but didn’t unless I just can’t find them.
My question is looks like in 1.32.1 the path structure changed in Events and there was no mechanism to cleanly move events to the new structure or am I missing where they placed the events as the DB still thinks they exist but Zoneminder clearly can’t find them?
Second question is does the date on my zm.conf.rpmnew mean there was some pre-update activity before I did the manual update or is that just the create date of the file that was plopped on the server?