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 - overseer

Pages: [1] 2
1
Information / Re: Your server is NOT running CWP Secure Kernel !!!
« on: October 28, 2020, 03:34:25 AM »
Yes, I read that thread. It was locked, so I couldn't put in my plea to the developers there.

2
Information / Your server is NOT running CWP Secure Kernel !!!
« on: October 27, 2020, 10:19:05 PM »
I can understand a single initial notice of the release of the CWP Secure Kernel, but speaking as one who has no need of it (I am running 3 VPS with paid CWP Professional with 1:1 dedicated sites and trusted admins/clients). I don't really appreciate the daily notifications -- they are annoying and distracting. I used to count on the notification feature for security updates, but now I don't clear it and just leave the single Secure Kernel notification. This is causing me to completely ignore the notification feature, making it worthless to me. Please stop the notification spam/ham and keep it "clean" to just server-related notices, not features or services available from CWP.

I do appreciate your development efforts, use and enjoy your products, pay for CWP Professional 3x, and have paid for incident support services several times. I check this forum and your main web site weekly/monthly for news & updates (still looking forward to full CentOS 8 support!) -- so I really prefer not to have unnecessary daily notifications on each of my servers.

3
CentOS-WebPanel GUI / Re: Enable NAT button keeps on coming up
« on: July 01, 2020, 02:45:02 PM »
Actually, I spoke too soon. After the next reboot & login, the NAT nag screen has returned. I can't see any obvious reason why, since my IP setup is static. On one server, it was setup without NetworkManager with static IF configs; the other 2 servers were setup with nmtui and set as static connections.

4
Information / Re: What is mail_server_antispam.zip?
« on: July 01, 2020, 01:28:46 PM »
That and the erroneous SpamAssassin logfile, literally named
Code: [Select]
${SAHOME}spamd.loginstead of substituting a variable for the filename, it literally has the variable as the filename... all thanks to literally following the directions here:
https://wiki.centos-webpanel.com/how-to-configure-spamassassin

5
Information / What is mail_server_antispam.zip?
« on: June 30, 2020, 09:59:37 PM »
On all 3 CWP systems I am running, there is a zip file on the filesystem root:
Code: [Select]
-rw-r--r--    1 root     root    41853 Apr 26 07:30 mail_server_antispam.zip

6
This fix appears to work. Edit  /usr/local/apache/conf/sharedip.conf. Change the first line to read:
Code: [Select]
<VirtualHost *:80>Voila  no more erroneous NAT nag screen.

7
Well, it went away for a day or two, but now the NAT settings detection dialog box still keeps coming back, even with no virtual bridges. A frequent annoyance to be sure.

8
emails also cant be in an compressed form. Have to be uncompressed. In cPaenl You need to convert them to maildir but before check if You have email compression turn off in mailserver settings.
BINGO! Can't highlight that information enough. On the cPanel Server, go to Mailserver Configuration and make sure that Compress Messages is off. I had converted Mdbox to Maildir before trying to import, but afterward everything was messed up (even though message stores were the right size). So I went back and looked at the cPanel server. Turned off Compress Messages, then had to convert BACK to Mdbox and then BACK AGAIN to Maildir. Then the Migration / rsync mail messages works as expected. (Well, then some permissions clean up).

9
How to / Re: How to delete account manualy
« on: May 17, 2020, 08:26:11 PM »
I had a case where a deleted user was not in the CWP MySQL DB, but still left a trailing CentOS user and config files.
Code: [Select]
sudo userdel -f $USERto delete the user account, home directory, and mail spool.

But then I had to do a
Code: [Select]
locate $USER to find other straggler files (SSL, MySQL DB backups, Apache logs, etc.). Then I manually deleted all those orphaned files. Then I could re-migrate the user from a cPanel server.

10
I am seeing that, too on the latest CWP, attempting server migrations from cPanel. I don't know if the "0" setting means unlimited quota, or if it actual means a quota of 0MB.

11
CentOS-WebPanel GUI / Re: Answering my own question
« on: May 15, 2020, 05:43:04 PM »
I'll answer my own question out of posterity, in case it will help someone else. Turns own the CentOS VM I was dabbling with had libvrtd enabled by default, instead of being a lean mean LAMP stack. So to fix the problem, you have to get rid of the virb0 and virbr0-nic virtual bridge interfaces.
Code: [Select]
systemctl stop libvirtd.service
systemctl disable libvirtd.service
brctl show
ip link set virbr0 down
brctl delbr virbr0
brctl show
ifconfig -a
Reboot if necessary and you should be left with just your primary en and loopback interfaces.

12
I have this error too  even though I have a static IP at a datacenter, CWP is somehow "autodetecting" a NAT'd IP address. I have to dismiss the alert regularly.

13
CentOS-WebPanel GUI / Re: Dark Theme
« on: May 15, 2020, 04:30:09 PM »
I wrote to the developer of the CWP Dark Theme variant on GitHub with some suggestions, but I'll post this here, too. As others point out, the admin theme customizations are overwritten with each update, so you have to call this script via cron after the update or manually run this script to re-apply the dark theme. I took the opportunity to clean up his code a bit, but this is what I am using.

Create the file:
Code: [Select]
/scripts/dark_cwpSet it as executable:
Code: [Select]
chmod +x /scripts/dark_cwp
Here is the updated script:
Code: [Select]
#!/bin/bash

#=====================================#
# StingRay's Total Dark Theme for CWP #
#=====================================#

# Need to be a sudoer/root
sudo -p "Please authenticate to enable CWP Dark Theme (admin password): " printf "" || {
        echo "Abort: could not authenticate" >&2
        exit 1
}
echo "Applying Dark Theme to CWP..."

sudo chattr -i /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo chmod 644 /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo tee -a /usr/local/cwpsrv/htdocs/admin/design/css/custom.css <<'END' > /dev/null

/* DARK THEME */

html,.deleted
{
background:#000;
-webkit-filter:invert(1) hue-rotate(180deg)!important;
-moz-filter:invert(1) hue-rotate(180deg)!important;
filter:invert(1) hue-rotate(180deg)!important;
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0,xray=0,mirror=0,invert=1,opacity=1,rotation=2)!important;
-webkit-transition:100ms ease all;
transition:100ms ease all;
-o-transition-duration:100ms ease all
}

img,embed[flashvars],[type*=\"application/x-shockwave-flash\"],[type*=\"application/x-silverlight\"]
{
-webkit-filter:invert(1) hue-rotate(180deg)!important;
-moz-filter:invert(1) hue-rotate(180deg)!important;
filter:invert(1) hue-rotate(180deg)!important;
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0,xray=0,mirror=0,invert=1,opacity=1,rotation=2)!important;
}

tr > td > a > img,th > a > img
{
filter:url(\"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'invert\'><feColorMatrix type=\'matrix\' values=\'-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0\$filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0,xray=0,mirror=0,invert=0,opacity=1,rotation=2)!important
}

END

sudo chattr +i /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
echo "Dark Theme applied successfully!"

14
Suggestions / Re: Customize CSS in admin panel
« on: May 15, 2020, 04:23:09 PM »
You have to remove the immutable bit before making changes to the CSS files; and it is better practice to add to custom.css
Code: [Select]
sudo chattr -i /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo chmod 644 /usr/local/cwpsrv/htdocs/admin/design/css/custom.css

As mentioned, updates wipe out this file, so you have to call cron after updates to re-inject your code. Put something like this in a script:
Code: [Select]
sudo chattr -i /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo chmod 644 /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo tee -a /usr/local/cwpsrv/htdocs/admin/design/css/custom.css <<'END' > /dev/null

/* CSS CUSTOMIZATIONS */
{ blah }
END
(I am using this to inject the dark_cwp customizations into the CSS.)

15
Migration from other control panels / HH : MM : SS
« on: May 13, 2020, 10:33:02 PM »
No specific HH : MM : SS ? Just any random time?
Is it typically Croatia (GMT +2) working hours?

Pages: [1] 2