Control Web Panel

WebPanel => Information => Topic started by: Namaste on February 20, 2023, 12:23:52 AM

Title: Roundcube version
Post by: Namaste on February 20, 2023, 12:23:52 AM
What versions of roundcube are supported by cwp?  Index.php file says version 1.2.  Roundcube website lists 1.6 as the stable version.
Title: Re: Roundcube version
Post by: tomkolp on February 20, 2023, 09:40:10 AM
What versions of roundcube are supported by cwp?  Index.php file says version 1.2.  Roundcube website lists 1.6 as the stable version.
Unfortunately version 1.5.3 is the last one working.
https://forum.centos-webpanel.com/index.php?topic=12064.msg43232#msg43232 (https://forum.centos-webpanel.com/index.php?topic=12064.msg43232#msg43232)
Title: Re: Roundcube version
Post by: Namaste on February 21, 2023, 01:48:18 PM
my version is 1.4.11 according to the About tab on web based login to roundcube.  I tried to do the update as instructed on centoscwp wiki.   But it says I have the latest version already installed.
Title: Re: Roundcube version
Post by: overseer on March 04, 2023, 08:31:34 PM
Please use Sandeep's newer directions rather than the older wiki information:
https://www.uxlinux.com/upgrade-to-roundcube-version-mail-on-cwp-centos-webpanel/ (https://www.uxlinux.com/upgrade-to-roundcube-version-mail-on-cwp-centos-webpanel/)
Title: Re: Roundcube version
Post by: Namaste on March 07, 2023, 02:14:37 PM
I TRIED THAT.  BUT GOT AN ERROR WHEN TRYING TO INSTALL INTL.  I TRIED SENDING HIM AN EMAIL BUT IT KEEPS BOUNCHING BACK.
Title: Re: Roundcube version
Post by: overseer on March 07, 2023, 03:29:58 PM
His instructions worked on 2x of my CWP servers, but I did get an error on one of them. I can't recall offhand how I resolved it, but can you post the error here to jog my memory?
Title: Re: Roundcube version
Post by: joaomach on March 15, 2023, 03:23:47 PM
I am trying to update roundcube to 1.5 but I keep getting this error:

Code: [Select]
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
when I try to run the update command. Has anyone run into this?
Title: Re: Roundcube version
Post by: bullten on March 16, 2023, 04:52:35 PM
These commands are not working?

Quote
cd /usr/local/cwpsrv/var/services/
cp -R roundcube roundcube_old
wget https://github.com/roundcube/roundcubemail/releases/download/1.5.3/roundcubemail-1.5.3-complete.tar.gz
tar zxvf roundcubemail-1.5.3-complete.tar.gz
/usr/local/cwpsrv/var/services/roundcubemail-1.5.3/bin/installto.sh /usr/local/cwpsrv/var/services/roundcube
Title: Re: Roundcube version
Post by: joaomach on March 17, 2023, 03:11:04 PM
Correct, when I run the install command, I get this error:
Code: [Select]
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
Title: Re: Roundcube version
Post by: overseer on March 18, 2023, 02:45:59 AM
IonCube should work in PHP versions up to 7.4. Do you have it enabled in all your installed versions? If not, recompile with IonCube support.
Title: Re: Roundcube version
Post by: Namaste on March 19, 2023, 01:45:50 PM
These commands are not working?

Quote
cd /usr/local/cwpsrv/var/services/
cp -R roundcube roundcube_old
wget https://github.com/roundcube/roundcubemail/releases/download/1.5.3/roundcubemail-1.5.3-complete.tar.gz
tar zxvf roundcubemail-1.5.3-complete.tar.gz
/usr/local/cwpsrv/var/services/roundcubemail-1.5.3/bin/installto.sh /usr/local/cwpsrv/var/services/roundcube

omg.   bullten is back
Title: Re: Roundcube version
Post by: joaomach on March 19, 2023, 11:31:05 PM
IonCube should work in PHP versions up to 7.4. Do you have it enabled in all your installed versions? If not, recompile with IonCube support.

I just checked, I do have php-fpm enabled and versions 7.4, 8.0, 8.1, 8.2, and all with ioncube enabled. I even rebuilt them all just for good measure to no avail.

What is strange is that I can't even get a php -v command output? But the server is running perfectly, speedy even!

PHP.ini hierarchy appears to be the issue, where does root use php.ini?


Code: [Select]
[root@srv roundcubemail-1.5.3]# bin/installto.sh /usr/local/cwpsrv/var/services/roundcube
PHP Warning:  Missing arginfo for uploadprogress_get_info() in Unknown on line 0
PHP Warning:  Missing arginfo for uploadprogress_get_contents() in Unknown on line 0
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
[root@srv roundcubemail-1.5.3]# php -v
PHP Warning:  Missing arginfo for uploadprogress_get_info() in Unknown on line 0
PHP Warning:  Missing arginfo for uploadprogress_get_contents() in Unknown on line 0
PHP Fatal error:  [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0


Title: Re: Roundcube version
Post by: joaomach on March 20, 2023, 12:10:05 AM
OK, I figured it out!

Apparently if php-fpm is enabled, you have to prefix the command with
Code: [Select]
/opt/alt/php-fpm74/usr/bin/php

example:
Code: [Select]
/opt/alt/php-fpm74/usr/bin/php bin/installto.sh /usr/local/cwpsrv/var/services/roundcube
Title: Re: Roundcube version
Post by: Namaste on March 20, 2023, 01:18:52 AM
His instructions worked on 2x of my CWP servers, but I did get an error on one of them. I can't recall offhand how I resolved it, but can you post the error here to jog my memory?

curl -s -L https://www.uxlinux.com/upload/tmp/cwp_rc_fix.sh | bash

upgrade roundcube tutorial throws ajax error during the intl
Title: Re: Roundcube version
Post by: bullten on March 20, 2023, 11:46:29 AM
which version you are trying to install?
Title: Re: Roundcube version
Post by: Namaste on March 20, 2023, 12:11:42 PM
which version you are trying to install?
I was following the exact instructions from the tutorial on mysterydata site, which has now changed to uxlux or something.
Title: Re: Roundcube version
Post by: bullten on March 20, 2023, 12:44:48 PM
what does the error log in roundcube states?
Title: Re: Roundcube version
Post by: Namaste on March 20, 2023, 09:30:17 PM
what does the error log in roundcube states?

This happened a few months ago.  I doubt that I can find it.
Title: Re: Roundcube version
Post by: Namaste on March 20, 2023, 09:32:05 PM
what does the error log in roundcube states?

Where is the log location?
Title: Re: Roundcube version
Post by: Namaste on March 20, 2023, 09:36:21 PM
what does the error log in roundcube states?

The error was an ajax error that came after

curl -s -L https://www.uxlinux.com/upload/tmp/cwp_rc_fix.sh | bash
Title: Re: Roundcube version
Post by: overseer on March 25, 2023, 08:05:14 PM
Can you download Sandeep's fixed script, then customize it by adding a trace to the shebang line?
Code: [Select]
curl -O -k https://www.uxlinux.com/upload/tmp/cwp_rc_fix.sh
nano cwp_rc_fix.sh
[b]#!/bin/bash -x[/b]
Then run it and watch it execute line-by-line:
Code: [Select]
sudo bash cwp_rc_fix.sh
Title: Re: Roundcube version
Post by: Sandeep on March 26, 2023, 02:19:36 AM
made updated script tutorial upon how you can install latest 1.5.3 Roundcube
https://www.uxlinux.com/forum/viewtopic.php?t=6
Title: Re: Roundcube version
Post by: Sandeep on March 26, 2023, 02:20:27 AM
what does the error log in roundcube states?

The error was an ajax error that came after

curl -s -L https://www.uxlinux.com/upload/tmp/cwp_rc_fix.sh | bash

run in ssh terminal like putty
Title: Re: Roundcube version
Post by: overseer on March 26, 2023, 02:55:40 AM
Your instructions worked fine on 3x CWP Pro servers. 2 were running 1.5.0, one was still running 1.4.11. All updated just fine, now all 3 are running 1.5.3. Thanks!
Title: Re: Roundcube version
Post by: dp41646 on March 26, 2023, 07:38:19 AM
what does the error log in roundcube states?

The error was an ajax error that came after

curl -s -L https://www.uxlinux.com/upload/tmp/cwp_rc_fix.sh | bash

run in ssh terminal like putty

Hi Sandeep,

will Roudcube be updated through CWP automatically, or it has to be done manually?
Title: Re: Roundcube version
Post by: overseer on March 27, 2023, 09:16:56 AM
Eventually automatically.
Currently manually.