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.
106
PHP / Re: Update default PHP version but keep old websites running the current version
« on: February 10, 2022, 07:55:45 PM »There are any way to do that automatically?
No.
PHP-FPM is your answer
Why?
Your first post shows that you know a bit about how these things works. That's why he gave you the short answer.
The long answer:
1. Install PHP 7.3 through PHP-FPM.
2. Go to Webserver Domain Conf and choose the domain(s) you want to stay with 7.3.
3. Select the appropriate Webserver configuration and then tell the panel to apply PHP-FPM 7.3 to those sites.
4. Double check everything is working right on those domains.
5. Now, upgrade your default PHP version to 8.x.
Now all websites will be using PHP 8.x except those domains you told the panel to keep using PHP-FPM 7.3 at point 3 above.
107
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 10, 2022, 07:46:28 PM »After a long time, PHP Info still shows PHP version is 7.2.30
How is PHP Info supposed to read 7.4? Which php info is that, where is the file of PHPinfo located?
The PHP Info isnt going to read 7.4 because it's located at a place where it has been told to stay with 7.2. Even if the "upgrade" is successful, it won't show 7.4 until you tell the panel explicitly to have 7.4 working for PHP Info...
Paste the entire log /var/log/php-selector-rebuild.log
on this site: pastebin.com
and paste here the link you get, we would like to see your entire log to see what went wrong.
108
Updates / Re: Yum manager - unable to update packages
« on: February 10, 2022, 07:41:55 PM »
what OS?
109
E-Mail / Re: Instructions for using remote SMTP server as relay are missing a detail
« on: February 09, 2022, 01:44:27 PM »rebuild will make all new config.
Meaning it will repair the server by making a new mail server config based on the server setup and selected configuration.
Rebuild wouldn't be successful if it would leave your custom changes since in most cases rebuild is used to repair mail server bad configuration so if rebuild wouldn't remove bad/old config then it wouldn't repair anything.
How about putting a warning notice in the Mail server Rebuild page and at the "WebServers Configuration Editor", since these are the two places where most complaints are about?
110
Other / Re: CWPpro Terminal - How to disable it - causing excess memory usage
« on: February 08, 2022, 03:51:14 PM »
I never liked this version of web terminal. I tried it on my test server and on the CWP demo server. It was slow and not so responsive. This was in December.
I'd like also a way to uninstall it in case I misclick it and install it by a mistake.
I'd like also a way to uninstall it in case I misclick it and install it by a mistake.
111
CentOS-WebPanel GUI / Re: Mail Box accounts list issue
« on: February 08, 2022, 03:48:03 PM »Did not work mate. I did reboot the server and cleared all browser cache, it's still the same. I hope you can help me out with this as it's causing me some real troubles.
then, I would suggest opening a ticket at
https://support.centos-webpanel.com/clientarea.php
112
CentOS-WebPanel GUI / Re: Mail Box accounts list issue
« on: February 08, 2022, 12:29:35 PM »I did that, but it's still the same. Do I have to restart CWP service after executing the command?
you can try that. Also clear browser cache. This command disables minifying of HTML and and Javascript.
113
E-Mail / Re: Instructions for using remote SMTP server as relay are missing a detail
« on: February 08, 2022, 05:08:51 AM »The above documentation should include a VERY VISIBLE note that you will have to do this every time you rebuild the Postfix configuration.
This is where I got the "every time" from.
Let me rephrase what I was trying to say.
In CWP, rebuilding means resetting to those settings that you have specified in those limited amount of fields/checkboxes that you have in the rebuild CWP panel page. This is what I meant by factory reset.
The documentation don't need to be "completed" because there is nothing to be completed in regards to this issue. I've seen some people in this forum misunderstanding the purpose of "rebuild" and they complain that CWP is ruining their configs....
This is what the rebuild in CWP is supposed to do.
Rebuilding in CWP is to be used when there is something wrong or you want to change the default settings that you have applied in the rebuild page, but you have to be aware and I repeat; It WILL remove everything else custom.
So, I would argue that if you are needing to do rebuilding, then it means that you messed up the configuration and you want to "reset" it.... This is the purpose of rebuild. You only need to do it once.
So, never rebuild your server unless there is something wrong that you can't figure out. Otherwise, keep doing modifications manually like everybody else.
I have custom setup that I had to do once and that's it. I don't need to rebuild because I did nothing wrong with my custom setup. By custom, I mean editing the main.cf, master.cf and dovecot.conf files manually.
114
CentOS-WebPanel GUI / Re: Mail Box accounts list issue
« on: February 07, 2022, 10:21:46 PM »
Run this command with SSH. See if it helps
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config
115
Updates / Re: Adding post-script to auto php updates?
« on: February 07, 2022, 03:25:11 PM »php.ini will be overwritten every time it's updated. But if you want things to stick, and they can be configured, you can create a template at this location " /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/php-fpm/ ", and set your settings there. Then set your php-fpm to use your custom template.
This is actually a good idea. Thanks. I will check out how to input it in the template.
116
CentOS 7 Problems / Re: Login loop
« on: February 07, 2022, 03:21:33 PM »I'm trying to login to CWP console but after clicking login , it returns back to the same login page without any error. even HTTP status is 200
How do I troubleshoot it?
As I replied on the other thread that you commented on:
If you don't have SSH access then you're not the administrator of the server. This means; Contact the administrator to fix it.
117
CentOS 7 Problems / Re: Can't log in to CWP
« on: February 07, 2022, 03:19:16 PM »Ok, cool but If I cannot login to cwp and don't have ssh access either, then how to check logs?
If you don't have SSH access then you're not the administrator of the server. This means; Contact the administrator to fix it.
118
E-Mail / Re: Instructions for using remote SMTP server as relay are missing a detail
« on: February 07, 2022, 03:17:14 PM »
why are you rebuilding the mail server?
"rebuilding" means "factory reset".
So, what makes you factory reset your mail server "every time"?
"rebuilding" means "factory reset".
So, what makes you factory reset your mail server "every time"?
119
Updates / Re: yum upgrade fail in my centos with centos panel
« on: February 07, 2022, 03:14:57 PM »Thanks. Finally We solved this error with this : https://administraciondesistemas.com/solucion-error-failed-to-download-metadata-for-repo-appstream-centos-8/
Not good. If you followed the guide you are mentioning then you are risking having updates that may break your system or CWP.
If you would like a stable Centos 8 STREAM production server, do this:
Code: [Select]
sh /scripts/el8_stream_convert_to_cwp_stable
then Code: [Select]
dnf clean all
then Code: [Select]
dnf update
120
CentOS 7 Problems / Re: CWP admin login to white blank page
« on: February 05, 2022, 11:15:28 AM »cd /usr/local/cwpsrv/htdocswhy not cwp-el7-0.9.8.1127.zip ?
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.1048.zip
unzip -o -q cwp-el7-0.9.8.1048.zip
rm -f cwp-el7-0.9.8.1048.zip