Upgrade

Technical Information on OrangeHRM

Moderator: Admin

Upgrade

Postby gaboudiwan » Fri Dec 02, 2011 2:04 pm

Dear, how can I upgrade from 1 version to a newer one?
gaboudiwan
 
Posts: 1
Joined: Fri Dec 02, 2011 1:51 pm

Re: Upgrade

Postby madhusanka » Wed Mar 28, 2012 8:19 am

For 2.7 an upgrader will be released.
madhusanka
 
Posts: 166
Joined: Mon Aug 11, 2008 1:47 pm

Re: Upgrade

Postby pickseed » Wed May 02, 2012 1:43 am

I just tried running the built in upgrader to upgrade from 2.5.6 to 2.7 and the process fails immediately with the following error:


2012-May-01 19:35:24 : MySQL Error: Error on rename of '.\ohrm_upgrade\hs_hr_emp_basicsalary' to '.\ohrm_upgrade\#sql2-e4c-47' (errno: 152).
Query: ALTER TABLE `hs_hr_emp_basicsalary`
DROP FOREIGN KEY `hs_hr_emp_basicsalary_ibfk_2`
2012-May-01 19:35:25 : MySQL Error: Error on rename of '.\ohrm_upgrade\hs_pr_salary_currency_detail' to '.\ohrm_upgrade\#sql2-e4c-47' (errno: 152).
Query: ALTER TABLE `hs_pr_salary_currency_detail`
DROP FOREIGN KEY `hs_pr_salary_currency_detail_ibfk_1`

My environment is:
Apache 2.2.6
PHP 5.2.5
MySQL 5.0.45

Any help would be much appreciated.
pickseed
 
Posts: 6
Joined: Sat Sep 05, 2009 12:18 am

Re: Upgrade

Postby Gayanath » Wed May 02, 2012 11:56 am

Hi, 2.7 built-in upgrader only support versions up to 2.6.5. In the upgrader, it's clearly mentioned that you have to select a version from the available list and else there will be an error.
Gayanath
 
Posts: 111
Joined: Fri Aug 01, 2008 11:05 am

Re: Upgrade

Postby pickseed » Wed May 02, 2012 6:20 pm

Gayanath wrote:Hi, 2.7 built-in upgrader only support versions up to 2.6.5. In the upgrader, it's clearly mentioned that you have to select a version from the available list and else there will be an error.



Sorry, that was a typo on my part. We are running 2.6.5.
pickseed
 
Posts: 6
Joined: Sat Sep 05, 2009 12:18 am

Re: Upgrade

Postby Gayanath » Sat May 05, 2012 11:18 am

At which step do you get the error? Did you provide a copy of your current database properly as mentioned in first step? Can you post the full error log?
Gayanath
 
Posts: 111
Joined: Fri Aug 01, 2008 11:05 am


Return to OrangeHRM

Who is online

Users browsing this forum: No registered users and 1 guest