Author Topic: How to upgrade from 1beta2?  (Read 6694 times)

Offline ReWinD

  • Newbie
  • *
  • Posts: 6
How to upgrade from 1beta2?
« on: December 28, 2006, 12:13:18 PM »
Hello,
i ve just downloaded the last release but i dont find upgrading instruction after extraction of the tar file...? The file included seems to be the old...? What about the instructions ? thx

Offline seansan

  • Jr. Member
  • **
  • Posts: 84
Re: How to upgrade from 1beta2?
« Reply #1 on: December 31, 2006, 04:55:22 AM »

Hi there ... doesnt the INSTALL or UPGRADE file explain what to do?

What I always do is create a new temp directory. extract the new program. Copy-paste config. and test if it works. If it does then I remove the old dir (or tar first) and overwrite with new.

In your instance I think you need to add three lines to the main config -

Code: [Select]

// Added for update SVN391

 $rcmail_config['draft_autosave'] = 300;
 $rcmail_config['htmleditor'] = TRUE;
 $rcmail_config['preview_pane'] = TRUE;


Offline ReWinD

  • Newbie
  • *
  • Posts: 6
Re: How to upgrade from 1beta2?
« Reply #2 on: January 05, 2007, 08:06:39 AM »
Hello, thx for your answer and sry i was in hollyday, just one thing, thats not for the last release but for the last security update, and in the INSTALL or UPGRADE files there are no informations, because the files are old (modified @ 06-08-06)

Thx a lot

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: How to upgrade from 1beta2?
« Reply #3 on: January 05, 2007, 08:56:44 AM »
If you are moving from the beta to the svn you will have to modify your database as the svn has a html_signature row in the identities table that the beta doesn't.

This is how I would do it, providing you are using mysql, and have shell access.

-Checkout the latest svn  
       svn checkout https://svn.roundcube.net/trunk
-Update your database using the update script
       mysql -u [username] -p [password] [database_to_restore] < [path_to_new_rc/SQL/mysql.update.sql
-Copy /config directory over to the new installation
      cp -r [path_to_old_rc/config] [path_to_new_rc/]

Offline UPN1541

  • Jr. Member
  • **
  • Posts: 12
Re: How to upgrade from 1beta2?
« Reply #4 on: January 06, 2007, 06:07:03 PM »
I posted a similar question without an answer:

http://roundcubeforum.net/forum/index.php?topic=1112.msg4775#msg4775

I believe the confusion here is that a "security patch" was applied to "1beta2", but the developer decided to keep the same version.

0.1-Beta2 was released on 2006/08/06

And on 2006/12/22 a "Security Update for 0.1-beta2" was posted.

If you download that new file the only documentation file that was updated was the change log, saying that it was updated for a security update.

NONE of the instructions reflect how a 2006/08/06 0.1-Beta2 user should upgrade to the exact same version but with a date of 2006/12/22.

This is confusing for those not following the SVN version, but instead are following the versions posted on the RoundCube site.

So??? What are the official steps to upgrading a 2006/08/06 beta2 to a 2006/12/22 beta2?

Not changing the version number (in some way) to at least reflect a upgrade change, and not updating any of the documentation on how to update from the previous beta2 to the new patched beta2, does nothing for those trying to make sure their setups are updated.

Confusing yes.

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: How to upgrade from 1beta2?
« Reply #5 on: January 06, 2007, 06:46:13 PM »
I believe the 1beta2.1 contains the latest security patch.

http://sourceforge.net/forum/forum.php?forum_id=647424

If you just want to apply the patch you may be able to find it on the devlist.

http://lists.roundcube.net/dev/

To upgrade you can just install the 1beta2.1 and copy /config directory over.