Control Web Panel
WebPanel => E-Mail => Topic started by: dzseti on June 01, 2022, 08:42:48 PM
-
Have been following this to check and update roundcube: https://www.awsmonster.com/2018/11/cwp-how-to-check-roundcube-all.html
When running the webmail installer I get this error message relating to the php used by roundcube:
Checking PHP version
Version: NOT OK(PHP Version 7.3.0 or greater is required 7.2.30 detected)
7.2.30 is indeed the version used by cwpsrv and roundcube, which checks out with the bash:
/usr/local/cwp/php71/bin/php -v
which confirms:
PHP 7.2.30 (cli) (built: Apr 29 2020 02:29:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
I can't work out how to get cwpsrv to use a later version of php (I am using FPM selector for my domains that are using php versions 7.3 to 8.1)
Help please!
-
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
-
I wanted to update roundcube to 1.6 but roundcube requires a minimum php 7.3 version. Unfortunately version 1.5.3 is the last one working.
-
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
Do you know when the new version of Roundcube will be available? How to completely disable Roundcube in CWP when CVE vulnerabilities appear in outdated version 1.5.3
-
The CWP team should get to this, but their timeline is always opaque. Meanwhile, I myself am not too worried about it as a break-in vector, as my config is generally hardened, as is Postfix so I shouldn't become a UCE relay. Not being an open relay and rate-limiting your outbound mail flow will really make you NOT a juicy target for spammers.
-
HOW DO WE CHECK WHICH VERSION IS INSTALLED?
-
HOW DO WE CHECK WHICH VERSION IS INSTALLED?
Open roundcube and click about in the bottom left corner.
I installed stable roundcube version 1.6.1 as the last version and after receiving the warning that it cannot be used because there is no php 7.3 in the system, I had to revert to the old version 1.4.11.
-
Sandeep has a guide on upgrading to the 1.5.x code branch of RoundCube. I wouldn't run the 1.4.x RoundCube branch...
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/)
-
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
any update on this?
-
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
any update on this?
/usr/local/cwpsrv/var/services/roundcube
It was already installed here. It had version 1.4. I updated to version 1.5. But now when I want to install 1.6.1, PHP 7.2.3 sees it and does not install it.
-
I imagine you would have to install it under a virtual host, not system-wide, so it meets the PHP requirements.
-
I imagine you would have to install it under a virtual host, not system-wide, so it meets the PHP requirements.
What setting do I need to move /usr/local/cwpsrv/var/services/roundcube from here and make it work in home/user/public_html?
-
You should download the complete source from roundcube.net into your virtual host and follow the installation instructions. (It will entail creating a MySQL or comparable database.) Hopefully your PHP 7.4 version is compiled with all the required modules and options! But the installer will check that for you as well.
-
Any news? Update to the new version and still get the error: "Unsupported PHP version. Required PHP >= 7.3."
-
Run it in var/www/html/. Then it will support php version
-
Run it in var/www/html/. Then it will support php version
Hi. How to change working directory for roundcube to run in in var/www/html/ ? Have same problem after update RC to newest version....
Another question is why roundcube is using quite different version of PHP than CPW?
-
See this guide to upgrade to 1.5.4.
https://www.alphagnu.com/topic/33-update-cwp-roundcube-mail-version-154-%E2%80%93-control-web-panel/#comment-35
Unfortunately, as mention in that threads comments at the bottom, CWP can't support RoundCube 1.6.5 because it uses PHP 7.3, and CWP's core is only using 7.2 for some reason still.
-
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
Do you know when the new version of Roundcube will be available? How to completely disable Roundcube in CWP when CVE vulnerabilities appear in outdated version 1.5.3
you can update to 1.5.6 this is the latest one that works acutally
-
Saw some had problem with 1.5.5 on that thread I posted above.
Just saw 1.5.6 last night.
-
Installer for CentOS 9/stream, Alma Linux 9, and Rocky Linux 9 (beta)
CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported.
Does this mean that the latest version of roundcube will already work in the CWP beta version?
-
Do not know, haven't gotten around to working with the beta yet.
-
My radar is up... keen to know what version of PHP is used internally for cwpsrv in EL9, and what version of Roundcube is included by default!
-
Gonna work on that today.
Will post when I know.
-
OK.
@overseer
So, we all know this is a beta version so far...
It's a work in progress by the CWP team.
This is the bottom status bar after a clean install on AlmaLinux 9.3:
(Use scroll bar at bottom of message to see right side)
(https://starburstservices.com/image-links/CWP/AL9beta/Bottom-Status.jpg)
This is the Mail Services Tab:
(https://starburstservices.com/image-links/CWP/AL9beta/Mail-Services-Install.jpg)
This is the Mail Services Tab, AFTER manually installing AMaVis, ClamAV (* See Below), SpamAssassin
(https://starburstservices.com/image-links/CWP/AL9beta/Mail-Services-Manual.jpg)
The default version of RoundCube installed:
(https://starburstservices.com/image-links/CWP/AL9beta/RoundCube.jpg)
* I installed ClamAV & ClamD from the EPEL repo, got it to enable, but keeps giving an error when trying to start.
I might or might not work on this.
Default PHP is 7.4.33 Without ionCube.
Tried to build 8.3.4, said it worked, but still on 7.4.33. So it failed.
It also installed an Old, Non-LTS version of MariaDB, 10.5.22.
10.6 & 10.11 are LTS Versions.
-
OK.
@overseer
So, we all know this is a beta version so far...
It's a work in progress by the CWP team.
This is the bottom status bar after a clean install on AlmaLinux 9.3:
(Use scroll bar at bottom of message to see right side)
(https://starburstservices.com/image-links/CWP/AL9beta/Bottom-Status.jpg)
This is the Mail Services Tab:
(https://starburstservices.com/image-links/CWP/AL9beta/Mail-Services-Install.jpg)
This is the Mail Services Tab, AFTER manually installing AMaVis, ClamAV (* See Below), SpamAssassin
(https://starburstservices.com/image-links/CWP/AL9beta/Mail-Services-Manual.jpg)
The default version of RoundCube installed:
(https://starburstservices.com/image-links/CWP/AL9beta/RoundCube.jpg)
* I installed ClamAV & ClamD from the EPEL repo, got it to enable, but keeps giving an error when trying to start.
I might or might not work on this.
Default PHP is 7.4.33 Without ionCube.
Tried to build 8.3.4, said it worked, but still on 7.4.33. So it failed.
It also installed an Old, Non-LTS version of MariaDB, 10.5.22.
10.6 & 10.11 are LTS Versions.
You need to check what php version roundcube is running on:
/usr/local/cwp/php71/bin/php -v
-
cwp-srv is running 7.4.33