Author Topic: Upgrade from 2.x to 3  (Read 8131 times)

igarmash

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Upgrade from 2.x to 3
« on: December 19, 2014, 06:30:40 AM »
Hi FengOffice Team!

The new FengOffce version 3 is completely awesome! But we are still using FengOffice 2.5.1.4  on site...
Is there any possibility to upgrade v 2.x to v3?

Cheers
Igor


steveg

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #1 on: December 21, 2014, 03:46:53 PM »
Yes - just follow the upgrade instructions in readme.txt.  It should work - it definitely works from 2.7 to 3.0, but you are using a pretty old version on site...  however, I do not  see why it wouldn't.

alex

  • Newbie
  • *
  • Posts: 4
    • View Profile
can't Upgrade from 2.x to 3
« Reply #2 on: December 22, 2014, 06:50:51 AM »
I tried to update from 2.7.1.6  to 3.0

# php public/upgrade/console.php 2.7 3.0
There is no upgrade path from version 2.7 to 3.0.
2014-12-22 09:43:42 - Updating plugins...
2014-12-22 09:43:43 - Finished plugins update.

via web upgrade url get:

You already have upgraded to the latest possible version: 2.7.1.6

 :(
« Last Edit: December 22, 2014, 06:56:21 AM by alex »

caseyj

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #3 on: December 22, 2014, 07:14:27 AM »
I try and got this ...



Ideas plase ....  :-[

steveg

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #4 on: December 22, 2014, 11:01:03 AM »
Strange - try via the web upgrade version - point your browser to /public/upgrade.php.

That worked for me.


caseyj

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #5 on: December 22, 2014, 11:27:40 AM »
Ok i got the trick ;) ... I run smooth on Feng 3.0 now !

alex

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #6 on: December 22, 2014, 01:35:26 PM »
I get

steveg

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #7 on: December 22, 2014, 05:01:56 PM »
alex, in your case - I think you need to try re-uploading all of the new files, as somehow they didn't get all in place.  And, then try to run the upgrade again.

Backup, backup, backup, please!  :)

alex

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #8 on: December 23, 2014, 06:39:50 AM »
I have clean installation (unzip from fengoffice_2.7.1.6.zip)
I can't upgrade it to 3 version.
Any ideas?

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Upgrade from 2.x to 3
« Reply #9 on: December 23, 2014, 02:22:18 PM »
Hi Alex,

Are you following these instructions step by step?
http://www.fengoffice.com/web/wiki/doku.php/installation:migration#upgrading_from_1x_to_1x_or_2x_to_2x

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

steveg

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #10 on: December 23, 2014, 03:22:51 PM »
I have clean installation (unzip from fengoffice_2.7.1.6.zip)
I can't upgrade it to 3 version.
Any ideas?

Alex - if I read you right, you need to do a clean install of version 3.0, not 2.7.1.6, and then run the upgrade script.  Version 2.7.1.6 cannot upgrade itself to 3.0 - you need to get the 3.0 files, and then tell it to upgrade.

alex

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #11 on: December 24, 2014, 06:11:28 AM »
Thank you a lot. I got it.

Short manual to upgrade from 2.7.1.4 to 3.0 :
1. backup your old db
mysqldump -udbuser -p dbname > feng_old_db.sql
2. install and setup clear 3.0 version (i used new virtual host and new db )
3. restore you db backup to new db
mysql -udbuser2 -p dbname2 < feng_old_db.sql
4. go to new virtual host location and run
php public/upgrade/console.php 2.7.1.4 3.0
« Last Edit: December 24, 2014, 07:11:04 AM by alex »

steveg

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #12 on: December 24, 2014, 03:25:08 PM »
Yes - those are all of the correct steps!

Official documentation here:

http://www.fengoffice.com/web/wiki/doku.php/installation:migration#upgrading_from_1x_to_1x_or_2x_to_2x

ARTolomeo

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Upgrade from 2.x to 3
« Reply #13 on: June 24, 2015, 04:23:46 AM »
Yes - those are all of the correct steps!

Official documentation here:


Steveg, is there a particular reason why the official documentation is not mentioning the suggested upgrade process from 2.x to 3.x? Even the readme files in the feng office 3.x.zip archives just say about 2.x upgrades. I have found just this topic that gave me some hints on the 2.x 3.x upgrade process (for now I have failed with upgrade, though).


steveg

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Re: Upgrade from 2.x to 3
« Reply #14 on: June 24, 2015, 02:27:04 PM »
No clue about why it's not in the documentation, but it has been established that the procedure is the same, and most people have a smooth upgrade.