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 ... 60 61 [62] 63 64 ... 71
916
CentOS 7 Problems / Re: "File System Lock" Bug
« on: February 08, 2023, 03:44:51 PM »
Is it needed for your use case in a shared hosting environment setting? Are you a reseller?

It's funny, because I've never needed the feature on my 3 CWP servers. But then again, I'm not a reseller -- I'm the "sole proprieter" of the servers I manage, doing almost all of the management duties myself. And likewise, I have no use for CWP's secure kernel because there's a level of trust between the clients on the one shared server and the other servers are 1:1 single domains to a single VM running CWP Pro.

917
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 07, 2023, 03:16:12 AM »
You should also backup these DB for a more comprehensive backup of all client info and settings: oauthv2, root_cwp, postfix, postfix_policyd, roundcube

918
CentOS-WebPanel Bugs / Re: Error restore full backup cwp -> cwp
« on: February 07, 2023, 01:00:02 AM »
Remove leftover cruft that the migration API doesn't take care of automatically. It leaves vestiges behind, perhaps because the transfer might get interrupted. But then you have to come behind and clean up various temp dirs, esp. in the /home directory tree. But then, moving from cPanel brings along a lot of specific cPanel baggage that is not used with CWP, so you can remove all of THAT clutter as well...

919
CentOS-WebPanel Bugs / Re: Error restore full backup cwp -> cwp
« on: February 06, 2023, 06:32:19 PM »
Have you done a previous restoration attempt? Sometimes CWP doesn't clean up after itself well and you you have to manually clean up after it. I did after a cPanel -> CWP migration. A bit to clean up, for sure.

920
How to / Re: Docker and network
« on: February 05, 2023, 04:33:56 PM »
Edit:
Code: [Select]
/etc/csf/csfpost.shRestart CSF to apply your custom rule (at the end of the chain):
Code: [Select]
csf -rhttps://tecadmin.net/add-custom-iptables-rules-with-csf/

921
CentOS 7 Problems / Re: "File System Lock" Bug
« on: February 05, 2023, 04:26:09 PM »
Can't you just chmod to lock down file permissions as an interim workaround?
Code: [Select]
chmod -R go-rwx /home/mike/directory

922
PHP / Re: PHP-FPM7.4 How can I set php.ini files per domain name
« on: February 05, 2023, 05:37:42 AM »
Look here:
/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/yourdomain.conf

The PHP documentation indicates
Quote
FPM uses php.ini syntax for its configuration file - php-fpm.conf, and pool configuration files.

Example #1 Passing environment variables and PHP settings to a pool
Code: [Select]
php_flag[display_errors] = off
php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 32M

923
CWP API / Re: CWP API always return 404
« on: February 04, 2023, 06:00:15 PM »
Posting the solution is always helpful for others! Thank you for sharing!

924
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 04, 2023, 02:56:30 PM »
Yes, that sounds right. /var/vmail is Just a Bunch of Files (JBF) -- you can do whatever you want with them. ;)

925
Updates / Re: Updates are bad
« on: February 04, 2023, 02:55:02 PM »
I think I've seen this one time before. Probably a non-clean exit on httpd. Clear the PID file manually and then try starting your http service (Apache/Nginx).

926
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 02, 2023, 09:53:40 PM »
You don't need to know any user's login info -- just run the operation and reverse it back if you have have a failure or data loss. E-mails are just atomic files owned by vmail:mail -- you don't need to authenticate as the user to read them or rsync them offsite. You can gzip/compress in transit and also at rest on the target drive if you need it be smaller. I have enough disk space on the target to not need compression.

927
Updates / Re: How can update PHP for cwpsrv
« on: February 02, 2023, 11:51:55 AM »
cwpsrv uses its own internal build of PHP 7.2 (labeled php71) so as to maintain usability no matter what you do with PHP selectors or php-fpm. Absolutely I am running php-ftp 8.1 on my servers and my sites run that version. But you can't upgrade the internal cwpsrv version yourself or you risk breaking everything.

CWP provides a script for updating to the 1.4.x branch of Roundcube:
Code: [Select]
sh /scripts/mail_roundcube_update
But you can update Roundcube yourself to 1.5.0, per Sandeep's directions:
https://www.uxlinux.com/upgrade-to-roundcube-version-mail-on-cwp-centos-webpanel/

928
Updates / Re: How can update PHP for cwpsrv
« on: February 02, 2023, 04:06:02 AM »
Although labeled 7.1, it is actually PHP 7.2. We are all waiting on an official upgrade. At this point, as of Nov 2022, PHP 7.x tree is EOL, so we need to be moving on to PHP 8.1.

929
Installation / Re: CWP Host SSL with Cockpit?
« on: February 01, 2023, 06:37:52 PM »
But really, I don't know why you don't just add an A record to your DNS and give your Cockpit host its own resolvable FQDN and have it request a LetsEncrypt SSL certificate for itself. All my bare metal host servers have a domain name of host1, host2, etc. and the VMs they host have a corresponding srv1, srv2, etc. hostname. If it's greater than 1:1 of multi-VMs per host, the secondary VM gets an alternate name, of course.

930
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 01, 2023, 06:33:29 PM »
Sure, you can do whatever you want "behind its back". The /var/vmail directory is owned by vmail:mail, so you just recursively set those permissions if you need to.

Pages: 1 ... 60 61 [62] 63 64 ... 71