Roundcube defect after updating

napok

Verified User
Joined
Feb 23, 2010
Messages
13
This evening I decided to do an update using custombuild.

After the update completed, I found out Roundcube stopped working (while everything else works fine):
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

So I searched around and found a thread with a similair problem. I ran the command shown in that thread with as output:
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
/usr/local/directadmin/scripts/roundcube.sh: line 100: mysql: command not found
/usr/local/directadmin/scripts/roundcube.sh: line 102: mysql: command not found
Editing roundcube configuration...
Roundcube has been installed successfully.
Adding roundcube alias to /etc/httpd/conf/httpd.conf
You need to restart the httpd service if you want alias to work.

Then I checked back at Roundcube which is now showing a blank page. I didn't want to make it worse.

Thanks in advance.
 
Last edited:
Thank you. I hope there will be a fix soon. My users and I prefer Roundcube as webmail client.
 
If Roundcube is broken for you after the upgrade, I would try to upgrade it again using ./build roundcube – if it still is broken, I would contact DirectAdmin support and ask for help.
 
If Roundcube is broken for you after the upgrade, I would try to upgrade it again using ./build roundcube – if it still is broken, I would contact DirectAdmin support and ask for help.



That command returns:
./build: line 2263: mysql: command not found
./build: line 2264: mysql: command not found
Updating mysql database ...
./build: line 2273: mysql: command not found
Editing roundcube configuration...
Roundcube 0.4 has been installed successfully.
./build: line 2337: ./bin/update.sh: No such file or directory
Guess I have to contact DA support then. :(
 
Hello,

The mysql client is required for the update. The output is indicating that it cannot be found in the current $PATH.

If this is FreeBSD, we create a symbolic link:
Code:
/usr/local/bin/mysql -> /usr/local/mysql/bin/mysql
assuming that /usr/local/bin is in the $PATH.. but if you've only got /bin (for example) in your $PATH, type:
Code:
ln -s /usr/local/mysql/bin/mysql /bin/mysql
so the script can find it.

John
 
Sorry for the late response.

I'm using CentOS 5, does above still apply?
 
Hello,

As a follow-up, I logged into this system and MySQL-client was not installed, which explains why "mysql" could not be found. Installing MySQL-client and running ./build roundcube resolved the issue.

John
 
Back
Top