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 ... 90 91 [92] 93 94 ... 101
1366
Depending on your configuration, you may need to call PHP by its full path. Are you using PHP-FPM?
Code: [Select]
/opt/alt/php-fpm81/usr/bin/php

1367
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: February 09, 2023, 03:53:36 AM »
Depends on if you trust the machine -- or your own manual backups more. I'm telling you what I do! Those DB don't change very often (roundcube the most), so if you just dump them (or dump all DB) to a backup every 6 mo or so, you're fairly safe.

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

1369
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

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

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

1372
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/

1373
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

1374
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

1375
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!

1376
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. ;)

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

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

1379
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/

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

Pages: 1 ... 90 91 [92] 93 94 ... 101