Author Topic: Settings and addressbook lost  (Read 5224 times)

Offline DSW

  • Newbie
  • *
  • Posts: 5
Settings and addressbook lost
« on: November 28, 2008, 09:00:41 AM »
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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Settings and addressbook lost
« Reply #1 on: November 30, 2008, 12:47:12 AM »
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.
« Last Edit: November 30, 2008, 04:03:43 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Settings and addressbook lost
« Reply #2 on: November 30, 2008, 04:03:20 AM »
When testing your installation I noticed, that you still have localhost in plugin "check_identities" configuration ...

Code: [Select]

/* 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
__________________
MyRoundcube Project (commercial)

Offline DSW

  • Newbie
  • *
  • Posts: 5
Addressbook is still in the database
« Reply #3 on: December 01, 2008, 04:46:07 AM »
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()."/";
« Last Edit: December 01, 2008, 04:47:42 AM by DSW »

Offline DSW

  • Newbie
  • *
  • Posts: 5
maybe problem in plugins folder?
« Reply #4 on: December 01, 2008, 04:52:13 AM »
I looked at the upgrade method, probably i made a mistake by also overwriting the myplugins folder.
Can this be??
What should I change?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Settings and addressbook lost
« Reply #5 on: December 01, 2008, 07:09:39 AM »
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);

Code: [Select]

-- 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);
« Last Edit: December 01, 2008, 06:47:41 PM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline DSW

  • Newbie
  • *
  • Posts: 5
found the problem
« Reply #6 on: December 01, 2008, 09:27:53 AM »
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
« Last Edit: December 01, 2008, 09:29:28 AM by DSW »