Roundcube Community Forum

 

Error with update

Started by jteeuw, November 05, 2009, 06:23:36 AM

Previous topic - Next topic

jteeuw

Hello,

I'm trying to upgrade to roundcubemail-0.3.1 from 0.2 version.
I have followed the upgrade text file but i get a error when I try to start my roundcube website.

This is the error log

[05-Nov-2009 10:21:14 +0100]: DB Error: _doConnect: [Error message: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)]
[Native code: 2002]
[Native message: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)]
 ** mysql(mysql)://roundcube:xxx@localhost/roundcubemail in /share/HDA_DATA/.qpkg/XDove/roundcube/program/include/rcube_mdb2.php on line 100 (GET /roundcube/)
[05-Nov-2009 10:24:05 +0100]: PHP Error: Configured crypto key "xdove-!24ByteDESkey*Str" is not exactly 24 bytes long in /share/HDA_DATA/.qpkg/XDove/roundcube/program/include/rcube_config.php on line 0 (GET /roundcube/)

I'm runnig roundcube on a Qnap nas

Please help.

SKaero

Have you double check the database information in [RC root]/config/db.inc.php?

jteeuw

Quote from: skaero;22800Have you double check the database information in [RC root]/config/db.inc.php?

What must i check? the file is the same as in the old version

SKaero

I would recommended redoing the config information with the new config files, there have been some changes and see if that fixes the problem.

jteeuw

Quote from: skaero;22802I would recommended redoing the config information with the new config files, there have been some changes and see if that fixes the problem.

Witch config files do you mean?

SKaero

All there of the config files in [RC root]/config/
  • db.inc.php
  • main.inc.php
  • mimetypes.php

jteeuw

Quote from: skaero;22806All there of the config files in [RC root]/config/
  • db.inc.php
  • main.inc.php
  • mimetypes.php

Must i delete these files?

SKaero

Backup the old files and copy the new files to the config directory and change the settings, add your database information to db.inc.php and imap server and info to the main.inc.php

jteeuw

Quote from: skaero;22808Backup the old files and copy the new files to the config directory and change the settings, add your database information to db.inc.php and imap server and info to the main.inc.php

Thanks for the info

but i only see db.ic.php.dist / main.inc.php.dist / main.inc.php.dist / mimetypes.php in the new download file.

SKaero

Rename the db.ic.php.dist and main.inc.php.dist to db.ic.php and main.inc.php

jteeuw

The solution worked thanks!!

Problem solved

gjm

Hi guys,

I was trying to get Roundcube to work on my QNAP TS-119. I installed the QPKG XDove (1.3) that included the Roundcube software.
But,...
It doesn't run. The reason the Roundcube installer-page gives is that a lot of the PEAR commands are not available (it seems that nothing of PEAR is there).
I don't know how I can install the PEAR commands on the QNAP TS-119.
Do you know?

Thanks,

Gert-jan

SKaero

If you download the "Beta: 0.4-beta" for Downloading Roundcube webmail it has a copy of PEAR with it.