Solutions
-
Sandeep B.'s post in CWP to CWP account transfer not working anymore was marked as the answerhi install the dev version it is fixed :
Admin
chattr -i -R /usr/local/cwpsrv/htdocs/admin cd /usr/local/cwpsrv/htdocs rm -f cwp-el7-DEV.zip wget http://dl1.centos-webpanel.com/files/cwp/el7-dev/cwp-el7-DEV.zip unzip -o cwp-el7-DEV.zip User
cd /usr/local/cwpsrv/var/services/ rm -f cwp-services-DEV.zip wget http://dl1.centos-webpanel.com/files/cwp/el7-dev/cwp-services-DEV.zip unzip -o cwp-services-DEV.zip
-
Sandeep B.'s post in roundcube time problem was marked as the answerhi the roundcube usage cwp php timezone if you change the time zone in cwp panel it will et changed too
-
Sandeep B.'s post in CWP unsuspend function problem was marked as the answerHi try to set as disk quota 0 in packages and try without any hooks
-
Sandeep B.'s post in How to enable pgAdmin? was marked as the answertry this :
cd /usr/local/cwpsrv/var/services yum install cwpPgphp -y yum reinstall cwpPgphp -y mv phpPgAdmin phpPgAdmin.bak wget https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.zip unzip phpPgAdmin-7.13.0.zip mv phpPgAdmin-7.13.0 phpPgAdmin rm -rf phpPgAdmin-7.13.0.zip
-
Sandeep B.'s post in AutoSSL stopped working was marked as the answerrenewal cron is listed below :
/root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs > /dev/null
-
Sandeep B.'s post in Backup Remote Sync ith Hetzner Storage box was marked as the answerto use rsync both source and destination servers should have the rsync package installed.
-
Sandeep B.'s post in PHP Defender using Snuffleupagus was marked as the answerhi will be soon added to cwp seems they added the support for php 8.2
-
Sandeep B.'s post in Upgrade openssl was marked as the answeron enterprise linux don't upgrade openssl as this will break the system dependecies
-
Sandeep B.'s post in Wrong IP is sending the email. It is not using the default IP was marked as the answeryou need to configure the postfix like the below :
in /etc/postfix/master.cf
smtp unix - - n - - smtp -o smtp_bind_address=100.100.100.100 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o smtp_bind_address=100.100.100.100 -o fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
-
Sandeep B.'s post in Clamav fails to install was marked as the answerThen you need to install base version of curl from centos 7 seems latest curl is not supported by old clamav.
Remove this lines "exclude=curl* libcurl*" from /etc/yum.conf
And install curl
yum install curl libcurl libcurl-devel
-
Sandeep B.'s post in CWP Dashboard behind a Cloudflare proxy. How to was marked as the answerHow you're accessing user panel any link demo ? it is recommended to access via hostname : https://hostname:2083
-
Sandeep B.'s post in Logrotate for CWP own logs was marked as the answerYou can use this tutorial to clear the logs via cron job :
or you can use below configs for logrotate :
yum install logrotate -y create the cwp logrotate config file :
nano /etc/logrotate.d/cwplog add this lines to it and save :
/usr/local/cwp/php71/var/log/*.log /var/log/cwp/*.log { daily rotate 3 size 15M compress dateext dateformat -%d-%m-%Y delaycompress } you can debug/dry-run the log rotate config via this command :
logrotate -d /etc/logrotate.d/cwplog disable system protect for logrotate :
sed -i '/ProtectSystem=full/s/^/#/g' /usr/lib/systemd/system/logrotate.service systemctl daemon-reload and restart logrotate.timer and logrotate via systemctl :
systemctl restart logrotate.timer logrotate check logrotate.timer and logrotate are running via this command :
** logrotate will show inactive other than that ensure the service doesn't have any error
systemctl status logrotate.timer logrotate -
Sandeep B.'s post in Can't add ssl certificate on domain with internal ip was marked as the answerFree ssl needs public IP for verify and to issue the certs, if you're using private ip then you need to buy a paid ssl
-
Sandeep B.'s post in What do you think with Hetzner was marked as the answerAlphagnu.com is hosted on hetzner vps cloud server and i didn't see any downtime in last 3-4 months and they provide genuine servers also there servers are not overselled.
Regarding billing related they don't fraud it you'll get the bill what they mention in there plans
-
Sandeep B.'s post in Install PHP 8.1 from source in CWP? was marked as the answerfor php switcher you can build it form source :
follow Step 1 from here
Step 2 :
mkdir -p /usr/local/php-81 cd /usr/local/php-81 wget http://php.net/distributions/php-8.1.25.tar.gz tar zxvf php-8.1.25.tar.gz cd php-8.1.25 ./configure --with-config-file-path=/usr/local/php --enable-cgi --with-config-file-scan-dir=/usr/local/php/php.d --with-zlib=/usr --enable-mbstring --with-zip --enable-bcmath --enable-pcntl --enable-ftp --enable-exif --enable-calendar --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --with-curl --with-iconv --with-gmp --with-pspell --enable-gd --with-avif --with-jpeg --with-freetype --enable-gd-jis-conv --with-webp --with-zlib-dir=/usr --with-xpm --with-openssl --with-pdo-mysql=mysqlnd --with-gettext=/usr --with-bz2=/usr --with-mysqli --enable-soap --enable-phar --with-xsl --with-kerberos --enable-posix --enable-sockets --with-external-pcre --with-libdir=lib64 --with-mysql-sock=/var/lib/mysql/mysql.sock --enable-intl --with-password-argon2 --enable-litespeed --with-ldap=/usr --with-ldap-sasl=/usr make make install
-
Sandeep B.'s post in Can not login to CWP user anymore only root works was marked as the answerdid you tried this steps :
-
Sandeep B.'s post in Firewall Auto Stop after certain time was marked as the answerit seems your server is going out of memory (OOM) to fix this situation you need to add 2GB SWAP memory instructions are in this link :
-
Sandeep B.'s post in CWP and PageSpeed Module? was marked as the answeryou should use it with Apache only as latest nginx is not compatible with pagespeed
better to use script side js, css optimizer/plugin/module it will give you best performance
-
Sandeep B.'s post in Problem in install SSL Wildcard CWP was marked as the answerSeems correct
-
Sandeep B.'s post in Update CWP RoundCube Mail Version 1.5.8 – Control Web Panel was marked as the answerI've fixed it please rerun the commands
before running the above script run this command :
curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix_remove.sh | bash