Downgrade on Centos7
Downgrade on Centos7
Hi All, I made a stupid mistake upgrading to latest 1.36.31 from 1.36.28 (I believe, not sure of exact version). I'm still running it on a CentOS 7 machine which needs a replacement soon.
I still have PHP 5.4 (I know now..) and are getting errors like:
PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /usr/share/zoneminder/www/includes/session.php on line 129
Quick work around for now till I have the new server up, can I downgrade Zoneminder on CentOS? Have been searching but without effect.
Or can I uninstall without loosing the DB, and reinstall a specific version of Zoneminder?
I still have PHP 5.4 (I know now..) and are getting errors like:
PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /usr/share/zoneminder/www/includes/session.php on line 129
Quick work around for now till I have the new server up, can I downgrade Zoneminder on CentOS? Have been searching but without effect.
Or can I uninstall without loosing the DB, and reinstall a specific version of Zoneminder?
Re: Downgrade on Centos7
Why not start with a fresh Fedora 36/37 box? Could be a lot easier than a manual downgrade.
Re: Downgrade on Centos7
Hi Jogo, That indeed is the plan, problem is no time the coming weeks, so a hot fix for now would be great
Re: Downgrade on Centos7
That is the hotfix. Everything is straightforward. You may know the past, but in this case it is actually uncharted territory: hic sunt dracones.
, please try it. I'd be interested, if there are any problems.
, please try it. I'd be interested, if there are any problems.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Downgrade on Centos7
Hotfix is described here under "hacky workaround":
https://github.com/ZoneMinder/zoneminder/issues/3622
Be advised, zm 1.36.x is the last major release that will support centos 7.
When zm 1.38 is released (not eta yet), only centos 8 & 9 will be supported.
Just giving everyone plenty of time to plan accordingly.
https://github.com/ZoneMinder/zoneminder/issues/3622
Be advised, zm 1.36.x is the last major release that will support centos 7.
When zm 1.38 is released (not eta yet), only centos 8 & 9 will be supported.
Just giving everyone plenty of time to plan accordingly.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Downgrade on Centos7
Hi knight-of-ni, many thanks, I did indeed find the post on GitHub, but for some reason didn't read the text clearly (nor fully thought it through). I only edited the first occurrence in session.php, now did them all, and zoneminder is back up and running!
Many thanks for all help, although a bit hacky, but server is up and running! Hope to get some time soon to build a new one.
I will divert from CentOS, any suggestions?
Many thanks for all help, although a bit hacky, but server is up and running! Hope to get some time soon to build a new one.
I will divert from CentOS, any suggestions?
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Downgrade on Centos7
I use Rocky Linux 9 for production systems, including zoneminder.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Downgrade on Centos7
Sorry, I've read the whole thread, but I still don't get it.knight-of-ni wrote: ↑Thu Nov 10, 2022 1:26 pm Hotfix is described here under "hacky workaround":
https://github.com/ZoneMinder/zoneminder/issues/3622
Be advised, zm 1.36.x is the last major release that will support centos 7.
When zm 1.38 is released (not eta yet), only centos 8 & 9 will be supported.
Just giving everyone plenty of time to plan accordingly.
Should we wait for the next version 1.36 ?
Or do I need to update the php in CentOS 7x ?
Re: Downgrade on Centos7
Sergmx, maybe you can update php, guess it would work. I tried this but broke an old php script also running on this server so had to downgrade back to php 5.4 for that script.
Re: Downgrade on Centos7
I expect to release 1.36.32 tomorrow (Friday). Centos 7 packages should build sometime after that.
-
- Posts: 1
- Joined: Sat Jan 21, 2023 9:23 am
Re: Downgrade on Centos7
Downgrading Zoneminder on CentOS is possible, but it can be a bit tricky. The easiest way to do this would be to uninstall the current version of Zoneminder, and then reinstall the specific version you want to use. This process can be risky as you might lose your DB.
If you're concerned about losing your DB, you can try to backup your DB before uninstalling Zoneminder. Then you can restore the backup after installing the specific version you want.
If you don't feel comfortable doing this process on your own, I recommend reaching out to a professional to help you. tuxcare.com is one such professional who can help you with this.
If you're concerned about losing your DB, you can try to backup your DB before uninstalling Zoneminder. Then you can restore the backup after installing the specific version you want.
If you don't feel comfortable doing this process on your own, I recommend reaching out to a professional to help you. tuxcare.com is one such professional who can help you with this.