RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Release Discussion

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 08-16-2007, 07:53 AM
Registered User
 
Join Date: Aug 2006
Posts: 27
Downloads: 0
Uploads: 0
Default Identify RC Version for upgrade

I am running a way old Alpha version of RC I think..

How do I identify exactly what version I am running so I know the procedure to upgrade?

I installed the new version RC1 in a different directory and it works great, I now want to replace my old version with the new one by doing an upgrade. I want to upgrade so all user settings and address books will be intact.

Any advice would be appreciated.
__________________
Live Answering Services<br />From $14.95/mo<br />http://www.PrestigeMessaging.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-16-2007, 08:10 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Identify RC Version for upgrade

Do you remember when you instated it? If not can you post the /program/include/main.inc file?
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-16-2007, 04:53 PM
Registered User
 
Join Date: Aug 2006
Posts: 27
Downloads: 0
Uploads: 0
Default Re: Identify RC Version for upgrade

I don't know when I installed it but here is the main.inc you requested.
Attached Files
File Type: inc main.inc (42.3 KB, 9 views)
__________________
Live Answering Services<br />From $14.95/mo<br />http://www.PrestigeMessaging.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 08-16-2007, 08:56 PM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Identify RC Version for upgrade

You have version: 1.40 2006/02/05. Its between 0.1-20051021 and 0.1-beta your 2 versions before 0.1-beta.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 08-16-2007, 09:23 PM
Registered User
 
Join Date: Aug 2006
Posts: 27
Downloads: 0
Uploads: 0
Default Re: Identify RC Version for upgrade

OK, thanks!

The instructions in the UPGRADING file are for specific versions, since mine isn't listed, which one should I follow?

Here is what the UPRADING file says:

######################
form version 0.1-beta
----------------------------------------
* replace index.php
* replace all files in folder /program/
* replace all files in folder /skins/default/
* run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
* add these line to /config/db.inc.php
$rcmail_config['db_persistent'] = TRUE;
* add these lines to /config/main.inc.php
$rcmail_config['drafts_mbox'] = 'Drafts';
$rcmail_config['junk_mbox'] = 'Junk';
$rcmail_config['product_name'] = 'RoundCube Webmail';
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
$rcmail_config['protect_default_folders'] = TRUE;
$rcmail_config['draft_autosave'] = 300;
$rcmail_config['date_today'] = 'H:i';
* replace the following line from /config/main.inc.php
@include($_SERVER['HTTP_HOST'].'.inc.php');
with
$rcmail_config['include_host_config'] = TRUE;


from version 0.1-20051021
----------------------------------------
* replace index.php
* replace all files in folder /program/
* replace all files in folder /skins/default/
* run all commands in SQL/*.update-0.1a.sql or re-initalize database with *.initial.sql
* add these lines to /config/main.inc.php
$rcmail_config['skip_deleted'] = FALSE;
$rcmail_config['message_sort_col'] = 'date';
$rcmail_config['message_sort_order'] = 'DESC';
$rcmail_config['log_dir'] = 'logs/';
$rcmail_config['temp_dir'] = 'temp/';
$rcmail_config['message_cache_lifetime'] = '10d';
$rcmail_config['drafts_mbox'] = 'Drafts';
$rcmail_config['product_name'] = 'RoundCube Webmail';
$rcmail_config['read_when_deleted'] = TRUE;
$rcmail_config['enable_spellcheck'] = TRUE;
* add these lines to /config/db.inc.php
$rcmail_config['db_max_length'] = 512000;
$rcmail_config['db_sequence_user_ids'] = 'user_ids';
$rcmail_config['db_sequence_identity_ids'] = 'identity_ids';
$rcmail_config['db_sequence_contact_ids'] = 'contact_ids';
$rcmail_config['db_sequence_cache_ids'] = 'cache_ids';
$rcmail_config['db_sequence_message_ids'] = 'message_ids';
$rcmail_config['db_persistent'] = TRUE;
__________________
Live Answering Services<br />From $14.95/mo<br />http://www.PrestigeMessaging.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 08-17-2007, 02:04 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Identify RC Version for upgrade

Try and Follow the instruction from from version 0.1-beta, if something doesn't work then we will try to figure out what else needs to be changed. Remember to make a back up before updating.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 08-21-2007, 08:02 AM
Registered User
 
Join Date: Aug 2006
Posts: 27
Downloads: 0
Uploads: 0
Default Re: Identify RC Version for upgrade

Didn't work so well, the SQL commands didn't work.. I worked through them but when I was done, there were tons of errors trying to us RC.

I just did a full install, then replaced the address book which appeared to have the same structure.

So, for the most part it's clean and they have not lost their address books.

I guess users may need to reset their time zone but other than that, all should be fine I think.
__________________
Live Answering Services<br />From $14.95/mo<br />http://www.PrestigeMessaging.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 08-21-2007, 10:36 AM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Identify RC Version for upgrade

Do you have the error log it'd be great to try any see what when wrong, with the upgrade.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 08-21-2007, 04:23 PM
Registered User
 
Join Date: Aug 2006
Posts: 27
Downloads: 0
Uploads: 0
Default Re: Identify RC Version for upgrade

Sorry, I guess I should have kept it all. I don't have anything from that attempt, I renamed the entire directory to _broke but deleted it later.

I can tell you that the SQL script for MySQL update didn't work, I kept getting index or unique errors with my data. I resolved the SQL issues by emptying my messages table which was not ideal of course. I just figured it was cached and would hurt anything.

I will try to keep better track next time.
__________________
Live Answering Services<br />From $14.95/mo<br />http://www.PrestigeMessaging.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 10-26-2007, 03:25 PM
Registered User
 
Join Date: Oct 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Identify RC Version for upgrade

Hi there,

I'm also one of the very early user thinking of upgrading, but don't think it is even beta version that I have, here is the line from main.irc :
$Id: main.inc,v 1.16 2005/10/21 14:01:14 sparc Exp $

can this be upgraded?

Thanks!

Hardwired
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 10:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community