Booked Scheduler Community Support
April 21, 2019, 08:22:29 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked 2.7 beta has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: How to upgrade Booked Scheduler from 2.7.4 to 2.7.5  (Read 348 times)
skynet
Newbie
*

Karma: 0
Posts: 1


« on: March 01, 2019, 05:38:11 PM »

Hi, I have the version of Booked Scheduler 2.7.4 in production and it's all working properly.

I saw that there the new version 2.7.5 and I would like to update it, I wanted to know how to do it, and how not to lose the data, reservations etc. that I currently have in the system.

Does anyone have a procedure?

Thank you so much.
Logged
colas
Newbie
*

Karma: 0
Posts: 1


« Reply #1 on: March 05, 2019, 02:29:28 PM »

Here is my method, for a linux server:

Prepare beforehand on any machine by checking for files that have been removed: go into a copy of the currently installed distrib, and compare with the new one.
For instance, to migrate from 2.7.4 to 2.7.5:
Code:
unzip -q booked-2.7.4.zip; mv booked booked-2.7.4; unzip -q booked-2.7.5.zip; mv booked booked-2.7.5 cd booked-2.7.4
for i in $(find . -type f); do [ -e ../booked-2.7.5/$i ] || echo $i; done
Then note to remove the list [L] of printed files from the install after the upgrade. There is none for 2.7.4 -> 2.7.5.
Note to maintainers: this list should be part of the release notes for a new release.

On the production server, copy the distrib in /tmp (e.g. as /tmp/booked-2.7.5.zip), go to the directory above the booked dir (e.g. "/www" if your installation is in "/www/booked/") and run
Code:
unzip -qo /tmp/booked-2.7.5.zip
sudo rm -rf booked/tpl_c

If there were files listed as [L] above, remove them.

If you have a set of local modifications or patches to the code, re-apply them if they are still needed. E.g. I re-applied my patch to 2.7.4 https://sourceforge.net/p/phpscheduleit/bugs/363/ as it was not yet included in 2.7.5



« Last Edit: March 05, 2019, 02:38:56 PM by colas » Logged
rmorgenstern
Newbie
*

Karma: 0
Posts: 21


« Reply #2 on: March 07, 2019, 06:27:22 AM »

If there are no changes in the files of the 2 versions, what are the new features of Booked 2.7.5?
Renate
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!