Control Web Panel

WebPanel => E-Mail => Topic started by: techwinch on February 05, 2019, 06:37:29 AM

Title: Roundcube CWP7 500 error FIX
Post by: techwinch on February 05, 2019, 06:37:29 AM
Not sure if this is known or not so :

Had an issue where a new installation of CWP and going to website xxxxx.com/webmail would get a 500 Error after trying to log in.

Found this fix and it worked.
It will also update roundcube to the latest stable version !  Hope it will help others.

SSH to server log in as root.

cd /usr/local/src
rm -rf roundcube*   <- just in case any files are there !
wget https://github.com/roundcube/roundcubemail/releases/download/1.3.8/roundcubemail-1.3.8-complete.tar.gz

tar xf roundcubemail-1.3.8-complete.tar.gz

cd  roundcubemail-1.3.8
bin/installto.sh /usr/local/cwpsrv/var/services/roundcube

Response should be =
Upgrading from 1.2.3. Do you want to continue? (y/N)

type : y and hit enter

You should see a screen like this once it is done =

Running update script at target...
Executing database schema update.
Updating database schema (2016081200)... [OK]
Updating database schema (2016100900)... [OK]
Updating database schema (2016112200)... [OK]
Updating database schema (2018021600)... [OK]
This instance of Roundcube is up-to-date.
Have fun!
All done.


Hope that helps.

Title: Re: Roundcube CWP7 500 error FIX
Post by: Sandeep on February 05, 2019, 07:12:07 AM
you can run this script to :
Code: [Select]
sh /scripts/mail_roundcube_update
Title: Re: Roundcube CWP7 500 error FIX
Post by: pixamin on February 05, 2019, 12:26:46 PM
Thank you soo much!!

Was going in circles past few days as to why Roundcube wasn't loading on OS 7.

Really appreciate this community.
Title: Re: Roundcube CWP7 500 error FIX
Post by: pixelpadre on May 11, 2019, 12:59:02 AM
I have new install of centos cwp.  with sqldump. 


DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

I believe it is password error.  Is there a password file in clear text?
Title: Re: Roundcube CWP7 500 error FIX
Post by: Igor S. on May 12, 2019, 08:27:58 AM
Hello.

Try checking file: /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php there is must be the password.
Title: Re: Roundcube CWP7 500 error FIX
Post by: pixelpadre on May 12, 2019, 12:31:43 PM
Hello.

Try checking file: /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php there is must be the password.

I tried but could not see mysql password.
Title: Re: Roundcube CWP7 500 error FIX
Post by: pixelpadre on May 13, 2019, 03:05:18 PM
I need help with webmail.  database connection error.  Please tell me how to uninstall and reinstall
Title: Re: Roundcube CWP7 500 error FIX
Post by: pixelpadre on May 15, 2019, 01:29:40 PM
you can run this script to :
Code: [Select]
sh /scripts/mail_roundcube_update

Roundcube has had the same release for two years
Title: Re: Roundcube CWP7 500 error FIX
Post by: Sandeep on May 17, 2019, 01:14:07 PM
you can run this script to :
Code: [Select]
sh /scripts/mail_roundcube_update

Roundcube has had the same release for two years
what version you've  ? before and after update ?
Title: Re: Roundcube CWP7 500 error FIX
Post by: pixelpadre on May 23, 2019, 11:20:32 AM
https://sourceforge.net/projects/roundcubemail/files/