Advertisement:

Author Topic: Updating  (Read 1886 times)

hirokamitai

  • Newbie
  • *
  • Posts: 14
Updating
« on: November 30, 2010, 10:06:56 pm »
Hi guys,

   There have been a lot of improvements and changes in the last couple of weeks and the project seems to be moving along well. I currently am running 1.0RC with no issues or problems. I am considering going live with my website, but I am curious about how to update osclass. Should I upgrade to every version that is released each week or stay with the most stable? If I do update should I install each new version as it is released with a new install or just replace the files that have been changed?

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Updating
« Reply #1 on: December 01, 2010, 01:18:53 am »
Upgrading is as easy as it could!

You have several ways to upgrade your installation:

1.- Install the new version as a new installation: This option is the "best" except one BIG problem, your data will not be available in a easy way.
I will NOT recommend this.

2.- Manually upgrading: Download a new version, copy all the files from the package with the ones in you installation. An upgrade.sql file could be provided if there's any change at database level. (Note: some files could be added, which didn't exist in your previous installation, also, some files could be no more needed).

3.- Use the auto-upgrade system (already included in OSClass, I think we included it in 1.0). The auto-upgrade feature will download a new version, copy new files, erase files, upgrade your database,...

The auto-upgrade feature will inform you if a new version is released, and should upgrade your system to 1.1 release (we have to prepare the auto-upgrade pack yet). It will only upgrade to stable releases (1.0, 1.1, 1.2, ...)


Versions name as alpha/beta/gamma/delta/release candidate are "development" versions. We fix errors, we include new features and they "should" be stable, but we don't recommend them as a production site (ie. if your site is already public). After the release candidate, we stop adding new features and we focus on fixing the errors, to make it as stable as posible. Auto-upgrade will also inform you if a "hot-fix" version is release (ie. some security error or a serious bug is found, a patch version will be released as soon as posible).



Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Updating
« Reply #2 on: December 01, 2010, 01:23:39 pm »
_CONEJO has explained very well the upgrading process.

However, I recommend you to install and try 1.1 or 1.0 (the version we released last monday) because if you have to upgrade it in the future it'll be done from a stable versión (like 1.0). In addition, if it's a production site I recommend you to update only to stable versions.

hirokamitai

  • Newbie
  • *
  • Posts: 14
Re: Updating
« Reply #3 on: December 01, 2010, 07:48:22 pm »
Thanks for the good information. I have upgraded to version 1.1 and almost everything is working fine.

I tried updating manually, but this caused some errors to occur. I think for the time being, a completely fresh installation is necessary....This makes me quite nervous to go public with the site...but i may give it a chance.
« Last Edit: December 01, 2010, 08:21:48 pm by hirokamitai »

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Updating
« Reply #4 on: December 01, 2010, 08:42:22 pm »
We've just noticed that we didn't packed update.sql in the last OSClass package... so It's normal that manually update didn't work because there've been database changes. If 1.1 works fine to you, go public with these version and update when other release version goes live.