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.


Topics - comokoko

Pages: [1]
1
Backup / New Backup [Beta] problems still not fixed
« on: July 30, 2020, 06:36:20 PM »
I have 5+ CWP Pro license. I'm try contact with support one more time for this subject. but Still I can't get any answer since 5-6 months.... :

Hi;
You are still NOT fix this new backup module BIG BUG!

When Runing new backup, copy accounts to home/tmp_back  directory. After this create from this files ACCOUNT_NAME.tar.gz file and Upload to remote FTP backup. But After this NOT DELETE THIS ACCOUNT FILES FROM home/tmp_back. This files owner is account owner and cause of this account owner exceeds quota. home/tmp_back directory only deleted after all accounts backup complate. You can delede per users files from home/tmp_back after users backup complate and start next user backup.
Example: account owner use 1GB. after create backup, owner use 2-3GB cause of NOT DELETE from home/tmp_back/ACCOUNT_OWNER  directory and .tar.gz file.

Why you still not fix this BIG BUG? please can you fix it? Or you can share open source new backup php files for fix? (ı can do fix if you share)

We use still old backup system cause of this bug. But old backup system realy very very bad. because only copy users directory to backup directory. and not use .tgz. We live general server exceeds quota problems cause of this. After general exceeds quota problems server crashed. because mysql and other services stop and cannot restart cause of server general exceeds quota problems

2
I running manualy old backup system with cronjob:
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

But backup freeze an account. Error log:

directory has vanished: "/home/bat89ds/public_html/var/cache/registry/block_content_451_958_products_184_11_categories"
directory has vanished: "/home/bat89ds/public_html/var/cache/registry/block_content_451_958_products_184_13_categories"
directory has vanished: "/home/bat89ds/public_html/var/cache/registry/block_content_451_958_products_184_189_categories"
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 98566176 bytes) in /usr/local/cwpsrv/htdocs/reso   urces/admin/include/functions/func_system.php on line 0

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 98566176 bytes) in /usr/local/cwpsrv/htdocs/resources   /admin/include/functions/func_system.php on line 0
rsync warning: some files vanished before they could be transferred (code 24) at main.c(1178) [sender=3.1.2]

How to fix this?

3
Functions / CWP account hooks NOT WORK!!
« on: November 11, 2019, 03:44:11 PM »
I try contact before one more times support but I can't get any answer....

From wiki:
https://wiki.centos-webpanel.com/action-hooks

Quote
Account Hooks
account_new (VALUES: username,domain)
/usr/local/cwpsrv/htdocs/resources/admin/hooks/account/account_new.php ......

I create directorys and account_new.php file with this content:

Code: [Select]
<?php
$arr 
get_defined_vars();
print_r($arr);
function 
account_new($u){
    echo 
"Hello World ....";
}
?>

when new account creation newer print "Hello World ...."  because CWP newer run "account_new" function in this PHP file.

Pages: [1]