Roundcube Community Forum

 

Settings and addressbook lost

Started by DSW, November 28, 2008, 09:00:41 AM

Previous topic - Next topic

DSW

Hi after updating to svn 2090 My addressbook is empty, my password reminder email is gone, and some personal settings.
:confused:

Please advice,

btw I updated from svn 2011.

I now only updated our own webmail client, but need to do my clients too.

Also myroundcube seems to be very slow. Rosali can you check it?
I pm you a login.

Dennis

rosali

#1
I have updated my own test environment and nothing was lost ... Also I can't imagine how this could happen. MyRoundCube does not touch the database tables ...

I logged into the test account you sent me. I did not notice any speed issues. Maybe you used a browser on "localhost" to test your setup? Login from another box within your LAN to check performance.

I PM'ed you also.
Regards,
Rosali

rosali

When testing your installation I noticed, that you still have localhost in plugin "check_identities" configuration ...


/* RoundCube URL */
$rcmail_config['roundcube_url'] = "http://localhost/webmail/trunk/roundcubemail/"; // trailing slash !!!


So, activation of identies from outside will not work and in addition it really seems you do your performance tests from a browser on localhost.
Regards,
Rosali

DSW

#3
Hi,
My addressbook is still in the database, but somehow it does not show up in my webmail.
Also I noticed my extra identity was missing.
I changed the Identity config by the way. It does work now but not totally fine. I added:

function curServerNAME() {
 $pageURL = 'http';
 if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
 $pageURL .= "://";
 if ($_SERVER["SERVER_PORT"] != "80") {
  $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
 } else {
  $pageURL .= $_SERVER["SERVER_NAME"];
 }
 return $pageURL;
}

$rcmail_config['roundcube_url'] = "http://".curServerNAME()."/";


Only the url in the email shows up in the expected way, but the email link isn't good.

Dennis

Found the problem:

$rcmail_config['roundcube_url'] = "http://".curServerNAME()."/";  needs to be: $rcmail_config['roundcube_url'] = curServerNAME()."/";

DSW

I looked at the upgrade method, probably i made a mistake by also overwriting the myplugins folder.
Can this be??
What should I change?

rosali

#5
Overwriting "myplugins" folder does not affect database at all. It seems you have lost your user database table. The only step where this could happen by mistake is here (see update notes);


-- Updates from version 0.2-beta (InnoDB only)

ALTER TABLE `cache`
    DROP `session_id`;
   
ALTER TABLE `session`
    ADD INDEX `changed_index` (`changed`);

ALTER TABLE `cache`
    ADD INDEX `created_index` (`created`);

ALTER TABLE `users`
    CHANGE `language` `language` varchar(5);
Regards,
Rosali

DSW

#6
I changed my config:

from $rcmail_config['default_host'] = 'localhost';
to $rcmail_config['default_host'] = 'mail.wissit.nl';

that caused the accounts to be remade by myroundcube and so lost the connection to the settings and the contacts. after changing this in the mysql database and deleting the newly made double accounts (identities), it all worked again.
:rolleyes::)

Thx for your help