![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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; |
|
#2
|
|||
|
|||
|
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... |
|
#3
|
|||
|
|||
|
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? |
|
#4
|
|||
|
|||
|
The errors should be fixed it do all of the steps,
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |