Control Web Panel

WebPanel => E-Mail => Topic started by: Sandeep on October 19, 2021, 07:18:01 AM

Title: Roundcube1.5.x Internal Server Error - FIX
Post by: Sandeep on October 19, 2021, 07:18:01 AM
Run this command below to install the fix for Roundcube 1.5.x Internal server error

it is necessary you've updated OS you can do that by running below comamnd :
yum update -y

or to update ca cert :
yum update ca-certificates -y

Centos 7 :

To install the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix.sh | bash

To remove the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix_remove.sh | bash

Centos 8 :

To install the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/el8/cwp_rc_fix_el8.sh | bash

To remove the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix_remove.sh | bash



***mysterydata.com is my personal blog
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Radical Redemption on October 19, 2021, 07:31:32 AM
Thanks a lot, it worked for me!
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: jijib on October 19, 2021, 07:41:01 AM
Yes, it works, ty
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Freespirits_GR_Host on October 19, 2021, 07:44:32 AM
Thank you guys.

That was really fast. It is great to be a part of this community.
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Marijn on October 19, 2021, 07:53:45 AM
CentOs Stream fix works!
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: crmgddn63 on October 19, 2021, 09:03:45 AM
hi.
script gives certificate error.
but mannually work .

You have to download the files and copy them to the appropriate places.

mkdir -p /usr/local/cwp/php71/php.d
yum -y install libicu libicu-devel
rm -rf /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
wget -P /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718 https://www.mysterydata.com/upload/tmp/intl.so
chmod 755 /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
rm -rf /usr/local/cwp/php71/php.d/intl.ini
touch /usr/local/cwp/php71/php.d/intl.ini
echo "extension=intl" > /usr/local/cwp/php71/php.d/intl.ini
systemctl restart cwpsrv.service
systemctl restart cwpsrv-phpfpm.service
systemctl restart cwp-phpfpm.service

thank you i fix this.


Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Sandeep on October 19, 2021, 09:18:09 AM
if script indicates expired certificate you need to update your OS

yum update -y
or
yum update ca-certificates -y
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: studio4host on October 19, 2021, 09:33:25 AM
cwp fix
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: jijib on October 19, 2021, 09:59:48 AM
For the new update do we need to remove the fix ?
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Sandeep on October 19, 2021, 10:15:36 AM
For the new update do we need to remove the fix ?

only use the fix if you want to use latest rc 1.5.xx or  you can run the below command to downgrade rc to 1.4.
/scripts/update_cwp
/scripts/mail_roundcube_update
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: rustylh on October 19, 2021, 12:30:19 PM
Attemping to run "/scripts/update_cwp" and getting this:
** (pkttyagent:112068): WARNING **: 07:23:47.645: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject

Just sitting here. However in CWP Admin it is now showing CWP Up to date. I need to run the roundcube update to fix the error.

What do I need to do? interrupt the putty session?
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: mickydoo50 on October 19, 2021, 12:49:02 PM
For the new update do we need to remove the fix ?

only use the fix if you want to use latest rc 1.5.xx or  you can run the below command to downgrade rc to 1.4.
/scripts/update_cwp
/scripts/mail_roundcube_update

actually this solution worked well for me
this morning
too bad I just read your post
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: rocha on October 20, 2021, 07:11:02 AM
Hi guys,

This error is caused by Spoofchecker PHP exception.

To temporary bypass this error do the folowing:

For CWP7
   edit file /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php

Line 50 have the folowing:

Code: [Select]
// Spoofchecker is part of ext-intl (requires ICU >= 4.2)
$checker = new Spoofchecker();

Insert this before 50
Code: [Select]
  return false;

After edit/save, will looks this the folowing

Code: [Select]
return false;
// Spoofchecker is part of ext-intl (requires ICU >= 4.2)
$checker = new Spoofchecker();

DONE! your mail is working again! BUT NOTE: No Spoofing will be checked!

Hope Roundcube team solve that soom.

for records, i have tryed the folowing version f PHP: 7.2.34 and PHP 7.3.27, both same error! 7.3.x and up wont works for me, because i need  --with-interbase
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: sella on October 20, 2021, 09:22:00 PM
Run this command below to install the fix for Roundcube 1.5.x Internal server error

Work fine !!!
Many thanks !!!
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: orbitalhost on October 21, 2021, 01:35:00 PM
Run this command below to install the fix for Roundcube 1.5.x Internal server error

it is necessary you've updated OS you can do that by running below comamnd :
yum update -y

or to update ca cert :
yum update ca-certificates -y

Centos 7 :

To install the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix.sh | bash

To remove the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix_remove.sh | bash

Centos 8 :

To install the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/el8/cwp_rc_fix_el8.sh | bash

To remove the fix :
Code: [Select]
curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix_remove.sh | bash



***mysterydata.com is my personal blog

I'm totally new to this. What do I need to do to run that command?
Thanks
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: comput86 on October 21, 2021, 04:30:34 PM
I'm totally new to this. What do I need to do to run that command?
Thanks

Connect via SSH to your server as a root. Then run these commands.
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: JohnG on October 22, 2021, 04:38:46 PM
Simple fix is this
Code: [Select]
sh /scripts/mail_roundcube_update
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: vivekmoyal on October 25, 2021, 12:44:54 PM
Thank You for the fix .Do we have to remove it or not...?
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: paciero11 on October 27, 2021, 10:06:25 PM
When the error occurred I went down to 1.4.11 with the command

Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

now how can I go up to 1.5 again?
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Namaste on June 14, 2022, 01:49:58 PM
Roundcube seems to have lots of bugs.  Is there a better alternative to web based email.   A while back, I think CWP also offered squirrelMail.

Right now when I access roundcube, it says I have 500 messages in inbox, but I can't see any of them.  My other boxes list messages. 
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: Namaste on June 15, 2022, 10:37:12 PM
I had serious email problems with inbox folders missing on some accounts.   I upgraded mariadb to 10.2 and now everything is good.   Also,,,,,,,I unchecked keep mail on my computer on my imap settings.   Not sure which one fixed the problem but all is good now.
Title: Re: Roundcube1.5.x Internal Server Error - FIX
Post by: diogorocha18 on June 27, 2023, 04:42:09 PM
links down, help my?