Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - David

Pages: [1]
1
CentOS-WebPanel Bugs / Re: Roundcube Internal server error
« on: May 23, 2022, 03:33:26 AM »
The problem of the inbox not working is fast solved with the cwp and cwp roundcube update fix as suggested by CWP.

I have two servers with CWP, the older one had all of these problems with roundcube, the newer one not, comparing the two, for what is concerning the big contact photo and the absence of the HTML rich editor when composing emails I could find out what was fixed in the newer and replicate a similar environment in the older.

Very simply in the elastic skin folder the files that are listed here below do conflict(?) with others and the result is a botched GUI.

I have no idea of why and which file does what wrong, however renaming or deleting those files do the trick.

The files are:

dark.less
embed.min.css
print.min.css
styles.min.css

So far now seems all ok.
Ty




2
CentOS-WebPanel Bugs / Re: Roundcube Internal server error
« on: May 22, 2022, 11:36:12 PM »
I have the same problem with elastic skin of the big pic occupying all the space available in the email panel, I tried to change the css files and nothing good happened, finally I simply changed the svg image size to 50x50px and that did the trick, for the moment at least

Uploading an image for the contact will show the image just as big as originally imported.

Many months passed by since people begun to notice these roundcube errors, seems that it is still the same, 1.4, big image, and probably other errors.

One that s not minor that I found out on my server is that using elastic skin when I reply or wrtie a new email, despite having settled the configuration to always use HTML, the editor's tools to format the text do not appear nowhere, also the emoticons do not appear (I enable the emoticons plugin).

I have no idea about how to solve this one...

3
E-Mail / Re: Roundcube profile image too big
« on: May 22, 2022, 10:08:07 PM »
Hello

I have the same problem of the stretched profile image occupying the whole panel where the email is shown.

I checked on more browsers and the result is the same

I checked the css style in /usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.css, the "img.contactphoto" is complete with border, height and the rest as follows: img.contactphoto{margin:0 1rem 0 0;border-radius:50%;width:4rem;height:4rem;object-fit:cover}

I tried to change it, but I see no effects at all whatever I do.

I also got another thing I do not understand how to solve.

When replying or writing a new message, despite I settled the configuration to always use html I get no editor tools to format the text, no emoticons (I already enabled the emoticons plugin)....

4
Updates / Re: Problems with update 0.9.8.1136
« on: May 20, 2022, 06:33:44 PM »
Hello
I also confirm that on CentOS Linux release 7.9.2009 and CWPpro version: 0.9.8.1138 using the dashboard there is extra load on my two servers, spikes up at 20% to 40%

E.G. CPU@28%
USER %CPU %MEM  TIME+   COMMAND
root    43.8  0.0     7:37.21   systemd
root    12.5  0.0     0:12.64   php-fpm
root    12.5  0.0     0:11.86   php-fpm
root    12.5  0.0     0:12.15   php-fpm
root      6.2  0.0     0:47.04  migration/0

5
Hello

Thank you for the hint

I am sorry to be so ignorant about, I have a doubt, before trying anything I would like to foresee what I am going to get and what eventually I will have to do without too many try-outs...

As I did follow the Sandeep tutorial to have Apache and Nginx to use TLS 1.2 and 1.3 and get a higher rating for SSL (which worked well apparently, I also added sever headers and got a quite high security score) I do not want to loose that configuration.

I am afraid that rebuilding the webservers from cwp is going to revert everything to the default, will rebuilding the webservers cancel the things I did following Sandeep's tutorial?

Thank you

6
Hello

I received a notice to update packages, as usual I did run the yum manager updater in cwp, the only package I was prompted to update is cwp-httpd.x86_64    version 2.4.48-2

The updater ran smoothly and gave no errors whatsoever.
however, when the update was complete all websites were not visible due to "Nginx bad gateway" error

This problem was seen only on the websites, the cwp panel did work normally, so I tried to reboot the server, when restarted all was the same, websites not working, CWP working.

I reversed everything using a snapshot done just prior the update.

What should I check and do to solve this problem and let the server update cwp-httpd.x86_64    2.4.48-2 then fix the problem and have it ready to go?

Apache version: Apache/2.4.46
PHP version: 7.4.13 PHP-FPM is forced
Web Servers: nginx-apache
CWPpro version: 0.9.8.1086
Distro Name: CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.42.2.el7.x86_64

Hint: previously I followed Sandeep's tutorial to get the A grade with SSL https://www.mysterydata.com/get-a-score-rating-with-ssllabs-qualys-in-cwp-control-web-panel/

Thank you

7
CentOS-WebPanel Bugs / Phpmyadmin does not export databases
« on: September 09, 2021, 08:32:58 PM »
Hello

When I try to export a database using PhpMydmin I do get 2 odd errors:

The first is a warning telling this:

"Warning: a form on this page has more than 1000 fields. On submission, some of the fields might be ignored, due to PHP's max_input_vars configuration."

This warning message is shown after clicking the export button on a database, I tried to change the max_input_vars configuration in all php.ini files I found in the server, I settled it to a very high amount, 24000, and nothing changed (while in general I never see this warning when looking at tables or using PHP scripts querying the databases)

The second problem is a severe error as it prevents me to complete the export of the database.
When I end settling the export parameter and click the go button I get this warning error stopping the procedure:

Notice in ./libraries/classes/Controllers/ExportController.php#263
Undefined index: output_format

Backtrace

Routing.php#187: PhpMyAdmin\Controllers\ExportController->index(array)
index.php#18: PhpMyAdmin\Routing::callControllerForRoute(
string '/export',
,
,
)

It is bugging me from months, over half a year, I tried more times to search some solution about and still I cannot find any useful information to fix this.

I know I can export the databases with mysqldump and/or other tools, however I want to have it fixed so PhpMyadmin can be conveniently used also for backups.

Does anybody know what to check and how to fix this?

Any help is welcome
Thank you

Thank you

8
CentOS-WebPanel Bugs / Re: export database error in phpmyadmin
« on: April 10, 2021, 06:48:34 PM »
Hello

I checked as suggested if the dump can happen via command line, it does, however I want to fix this phpmyadmin problem
When in phpMyadmin I do click export for a db or a table to start with gives me a warning, it tells that has to show more than 1000 records, that some will be omitted, and that this is due to max_input_var settings.

I checked php.ini and saw that max_input-Var was commented, I uncommented it and settled to 14000, a high number, this did not change the problem, I have done it in all the php.ini files I found

Then clicking on export I get these errors as already stated above in this thread, and does not let export from within phpMyadmin:

Notice in ./export.php#252
Undefined index: output_format

Backtrace

Notice in ./export.php#266
Undefined index: compression

Backtrace

Notice in ./export.php#387
Undefined variable: filename_template

Backtrace

What should I check/do to fix this?

Thank you

9
CentOS 7 Problems / Re: I struggle to understand your goals...
« on: April 04, 2021, 11:05:29 AM »
I tested CWP PRO for over a year and never had such problems.

Maybe is not the "perfect ultimate top best bleeding edge frontier server control panel ever"....

But surely for 12$ a year it is indeed the best ever seen around, and also the free version is pretty good and definitely better than other free ones

That's my opinion after over a year and not one week

I had the occasion to also ask about to a professional running hosting services and did agree with my own evaluation...

So maybe not "the best around", but good, robust and definitely the best for the price asked.

10
Hello Sandeep

I do have
CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.21.1.el7.x86_64
CWPpro version: 0.9.8.1055
Apache version: Apache/2.4.39
Nginx version: nginx/1.18.0
CWP webservers configuration Web Servers: nginx-apache
PHP version: 7.4.13 PHP-FPM is forced

I tried to follow your tutorials to upgrade apache and Nginx and have tlsV1.3

To start with I did not understand well if I have to follow both tutorials or, since I do use Nginx, if I do I need to follow only the Nginx tutorial

Being not expert I imagined I needed to follow both
So I started with the apache tutorial, https://www.mysterydata.com/how-to-enable-tls-1-3-in-apache-on-cwp-control-web-panel-centos-7-centos-8-el7-el8/

it all seemed to go well up to last step when I got this error warning:

** (pkttyagent:24849): WARNING **: 11:12:40.375: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
Apache Rebuild Completed

I decided to ignore this warning for the moment and proceeded to follow the second tutorial for Nginx:
https://www.mysterydata.com/how-to-enable-tls-1-3-in-nginx-cwp-centos-7-centos-8-el7-el8/

Again all went fine until I got these two error warnings:

** (pkttyagent:11719): WARNING **: 11:28:52.528: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)


** (pkttyagent:11865): WARNING **: 11:29:47.478: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /usr/lib/systemd/system/nginx.service.

Again decided to ignore for the moment the two erroes and concluded the tutorial up to the step 6.

As I read on Step 7 the following "Step 7 : ONLY FOR CWP : Ensure you create proper template for nginx in CWP else on every webserver build or ssl renew TLS 1.3 will be disabled" I understood that at this point I could test the setup as this is needed to avoid to loose this setup in case of changes

So I run the test as indicated in the first tutorial at https://www.cdn77.com/tls-test

The result was good except that tls 1 and tls 1.1 was still enabled

Than I tried to check my website and found the 502 Bad Gateway nginx/1.18.0 error

So checked the dashboard and saw that apache was not running, I tried to restart it, it failed to restart, so I clicked on status and got this error message:

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2021-04-04 11:53:23 CEST; 1min 11s ago
  Process: 3815 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Apr 04 11:53:23 srv.example.com systemd[1]: Starting Web server Apache...
Apr 04 11:53:23 srv.example.com apachectl[3815]: httpd: Syntax error on line 511 of /usr/local/apache/conf/httpd.conf: Syntax error on line 9 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: apr_crypto_block_cleanup
Apr 04 11:53:23 srv.example.com systemd[1]: httpd.service: control process exited, code=exited status=1
Apr 04 11:53:23 srv.example.com systemd[1]: Failed to start Web server Apache.
Apr 04 11:53:23 srv.example.com systemd[1]: Unit httpd.service entered failed state.
Apr 04 11:53:23 srv.example.com systemd[1]: httpd.service failed.

I tried to find some hints about to solve this error but found none, however I rolled back the server and decided to get more info in order to try repeat the procedure avoiding this errors.

BTW, in your first tutorial in the last line there is a typographic error: the line sh aapache-rebuild-new.sh should be sh apache-rebuild-new.sh

apache is written with 2 a, very simple, if anoyne did not notice it yet, just remove the extra a

Here my questions:

1) Please, are the errors shown at the end of the two procedures to be ignored or there is something wrong?

In case these errors are a matter of concern or critical, what must be done to fix it?

2) Who do use apache + Nginx + php-fpm, must do both the two tutorials OR must do follow only the second tutorial for Nginx?

3) When the tutorial is successfully ended, how tls v1 and tls v1.1 can be disabled?

When following step 7 of the tutorial I imagine that tls v1 and v1.1 must also be removed from the templates otherwise rebuilding vhosts or renewing SSL certificates will be re-enabled...

Is this correct?

4) How exactly can be definitely disabled and removed?

Thank you

11
CentOS-WebPanel Bugs / Re: export database error in phpmyadmin
« on: April 04, 2021, 05:04:23 AM »
Hi
I did it, it works, dumped the DB and gave no errors

12
CentOS-WebPanel Bugs / Re: export database error in phpmyadmin
« on: April 04, 2021, 04:29:50 AM »
Hi
Yes, also from root user
Also, when calling the export page give me this message "warning, a form on this page has more than 1000 fileds,,, On submission some of the fileds might be omitted...." but on that page there is nothing like that

13
CentOS-WebPanel Bugs / Re: export database error in phpmyadmin
« on: April 03, 2021, 11:33:40 AM »
Hello

I got the same errors

Also I found difficulties when creating the user for new databases and grant privileges.

What should be checked and corrected?

Thank you.

14
SSL / Re: CWP support for TLSv1.3
« on: January 14, 2021, 11:23:22 PM »
Hello

I tried almost all of the tutorials to not have TLSv1, have TLSv1.2 or v1.3, have A+ mark and solve the errors and warnings I see in the https://www.ssllabs.com test, but had no success at all, I always get same errors, I do not understand what I should do...

 Here below are the main mangles sotted by the test

1) Server sent invalid HSTS policy. See below for further information.

2) This server supports TLS 1.0 and TLS 1.1. Grade capped to B. MORE INFO »

3) This site works only in browsers with SNI support.

I am mostly concerned about the point 1 and 2

Why is the server sending an invalid HSTS policy? How can be fixed?
 I could not find info about this issue

For the second issue I tried to follow the tutorial in this same post, after launching the make -j4 command it fails to compile nginx 1.18.0

I also tried this tutorial: https://www.mysterydata.com/get-a-score-rating-with-ssllabs-qualys-in-cwp-control-web-panel/
did not work either for me

For what is concerning the SNI I think to have understood that cannot be avoided as ols OS browsers, eg XP and such cannot coop with it, so it is not taken in account in the evaluation

Does anyone have hints about how to fix it?

Thank you

15
Hello

At present date 05/04/2020, having CentOS Linux release 7.7.1908 (Core) and CWPpro version: 0.9.8.954, both updated at latest version, this tutorial does not work anymore.

The -t option for the command  /usr/local/cwpsrv/bin/cwpsrv –t is not recognized

After following the whole procedure anyway there are syntax errors in the configuration files, stapling is not possible to be used and a few other things go wrong, the result is that the service apache cannot be started, I stopped there as not being expert I have no clue about what should be done.

Anyone knows how to change this tutorial to updated cwp and centos or anyway how do is possible to get a A+ grade letsencrypt certificate and have it automatically renewed for every Vhost?

Thank you


Pages: [1]