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 ... 89 90 [91]
1351
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.

1352
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).

1353
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.

1354
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.

1355
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.

1356
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.

1357
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!"

1358
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.)

1359
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?

1360
CentOS-WebPanel Bugs / Apache vhosts contain typo
« on: May 13, 2020, 10:19:27 PM »
Every Apache vhost in /usr/local/apache/conf.d/vhosts/ contains a typo:
Code: [Select]
ProxyPassReverse /roundcube https://127.0.0.1:2031/roudcube/should be
Code: [Select]
ProxyPassReverse /roundcube https://127.0.0.1:2031/roundcube/(missing the n in roundcube )

1361
Migration from other control panels / new version?
« on: May 13, 2020, 10:15:24 PM »
I've been running a CWP server for a year now, but haven't really gotten into the forum or really had many issues until now. Now I am attempting to move several cPanel VPS servers into CWP-driven VMs and running into migration issues.

So when is the nightly update release schedule?

1362
That would seem to be key info -- make sure you convert MDBOX format e-mail to Maildir before attempting a cPanel backup for account move or the cPanel Server Migration to CWP routine.

After my failed migration attempt, I do not have working e-mail accounts showing, but I do have 30GB of e-mail files. It does look as though the permissions are screwy, so I ran this in a vain attempt to get the mail to show in the CWP User side:
Code: [Select]
chown -R vmail.mail /var/vmail
find /var/vmail -type f -exec chmod 644 {} \;
find /var/vmail -type f -exec chmod 644 {} \;

1363
Likewise, I attempted a cPanel Server Migration yesterday. Everything generally came across -- packages, accounts, site files, DB, certs, etc. Actual mail shows up in /var/vmail and even e-mail Aliases were created. However, e-mail accounts DO NOT show up in the CWP User Panel, so this is a deal-breaker for me. I am really hoping to be able to move off of several cPanel/WHM VPSes I maintain and over to CWP VMs instead!

Support ticket is in.

Pages: 1 ... 89 90 [91]