RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > Release Candidate 1

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-02-2007, 05:45 PM
Registered User
 
Join Date: Feb 2007
Posts: 4
Downloads: 0
Uploads: 0
Default Error upgrading from Version 0.1-beta2 to Version 0.1-rc1

I am trying to upgrade from from Version 0.1-beta2 to Version 0.1-rc1
and am receiving the following error when running the mysql.update.sql script. Can someone please tell
me how to fix this. thanks!

SQL query:
ALTER TABLE `messages` DROP `body` ,
DROP INDEX `cache_key` ,
ADD `structure` TEXT,
ADD UNIQUE `uniqueness` ( `user_id` , `cache_key` , `uid` ) ;



MySQL said:

#1062 - Duplicate entry '4-INBOX.msg-390' for key 2

and here is the script that was supplied to upgrade:


-- RoundCube Webmail update script for MySQL databases
-- Updates from version 0.1-beta and 0.1-beta2

ALTER TABLE `messages`
DROP `body`,
DROP INDEX `cache_key`,
ADD `structure` TEXT,
ADD UNIQUE `uniqueness` (`user_id`, `cache_key`, `uid`);

ALTER TABLE `identities`
ADD `html_signature` tinyint(1) default 0 NOT NULL;

-- Uncomment these lines if you're using MySQL 4.1 or higher
ALTER TABLE `users`
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci,
CHANGE `username` `username` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_
general_ci NOT NULL,
CHANGE `alias` `alias` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_genera
l_ci NOT NULL;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-02-2007, 06:14 PM
Registered User
 
Join Date: Oct 2007
Posts: 1
Downloads: 0
Uploads: 0
Default Re: Error upgrading from Version 0.1-beta2 to Version 0.1-rc1

I got the same error, however RC1 is working great without these update.

I think the changes that should be made by that script are ment for upgrading from beta1 to beta2, not for beta2 to rc1. Theres another update-script which is needed for upgrading.
__________________
US World Domination Tour - bombing a country near you...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-03-2007, 08:24 AM
Registered User
 
Join Date: Oct 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Error upgrading from Version 0.1-beta2 to Version 0.1-rc1

I use ur thread as it is the same topic even not the same problem, ok?

I also wanted to upgrade my beta2 but after copying the index.php only, I can only see sth like this when I enter the URL in my Firefox:

‹������lQѪÛ0 }ïW¨â€*=6n ε$Þ$c…Þ¶d¹l{tb-1sÃ*`«·-ìãç¤wcŒ=X–l)™Ǽ þv*¡§³â€*ÓËÓ~—[pþ%Î9/ê¾~ªŸ÷°Å*–P;a¼"e Å“—¬'6œ_¯×èGÖu¼ ®ømµÁoî‚þBF’$Ë fÉDx;kãÓÿ”YÂ*×ëÅ¡eI B)Ò˜Uöbd~iðç³P6PVÕ±⠚÷Ë8ᏌY¢•ùuÊ<à 5ú‘Ð}À”Þˆ·Þ3à ~OÙÃ*lçÄ™O™ÑôÁC þFÚXyÏf\4¡±N¢KÙ’A⠀¹Z{1´ÊtâAHù;¾*I}ÊVËå »@…ªë)eB%ä‘ ´êLÊZ4„Ž$R½Ž“†¡Õ‡¹ sÖ-&U,+¶õöiû¹|Þ@~<ʼÞ °q»Û—Å<4üð<fÙ‹⠄¢…Öƒ-.õRiÂ㬓¬‹ áÃ8©©ëp“Ì‚q£¹ ¦Â·Ã‡Ã¸Bca“Ù/���ÿÿ�µDq¹n��

I dont know where the problem is. I turned off safe_mode, I switched off MagicQuotes, but still...
I also downloaded from another sourceforge-server but I cant get it to work.

Is there any experience with this problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-03-2007, 08:49 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: Error upgrading from Version 0.1-beta2 to Version 0.1-rc1

The errors should be fixed it do all of the steps,
  • 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 lines to /config/main.inc.php
    $rcmail_config['draft_autosave'] = 300;
    $rcmail_config['date_today'] = 'H:i';
  • If you have LDAP servers configured, change prop key 'mail_field'
    to 'email_field' for each server confgured in /config/main.inc.php
__________________
[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 10-03-2007, 03:11 PM
Registered User
 
Join Date: Feb 2007
Posts: 4
Downloads: 0
Uploads: 0
Default Re: Error upgrading from Version 0.1-beta2 to Version 0.1-rc1

I have done everything starting at step 1 including the following:
replace index.php
replace all files in folder /program/
replace all files in folder /skins/default/

it is at the next point that the problem from above begins.
run all commands in SQL/*.update.sql

since my database is in mysql. I run the mysql.update.sql included with the new build and that is when the following error occurs:
MySQL said:

#1062 - Duplicate entry '4-INBOX.msg-390' for key 2
and so I stop at this point. Luckily, I mad a copy of the whole roundcube directly before I tried the upgrade and I am able at this point to go back to my original build (Version 0.1-beta2) and it works fine. Fixes!! Please help. I really would like to get this upgraded to the newer build as we like the product.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-03-2007, 04:55 PM
Registered User
 
Join Date: Oct 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Error upgrading from Version 0.1-beta2 to Version 0.1-rc1

I did as explained in the INSTALL, as I replaced the whole folder where RC is installed. I used the mysql-initial and changed the configuration.

Its just strange that the old version works, the new doesnt.
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 09:23 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