Backup Process For Files Not Working

Hi All!

We are using the CS_Cart Multivendor 4.11.2

I am facing the problem that the backup process in the admin is not working for me.

In the beginning I planed to use the php command to add it into the cron_jobs, but now it is not even the terminal command working.

Admin Backend

The Backup in admin.php works for me only when I disselect the Files! (Only Database)

As soon as Files are added the zip process will not end (The POST Request is shown as finished without errors [200])

Terminal

I used exactly the command which is shown in the Datakeeper as example; Here is the entire Output with the debug & development flag setted active:

server_name$ php7.1 /path/to/admin.php -p --dispatch=datakeeper.backup --backup_database=Y --backup_files=Y --dbdump_schema=Y --dbdump_data=Y --dbdump_tables=all --extra_folders[0]=var/files --extra_folders[1]=var/attachments --extra_folders[2]=var/langs --extra_folders[3]=images 
X-Powered-By: PHP/7.1.33
Content-Type: text/html; charset=utf-8
Set-Cookie: sid_admin_ad53f=30ab8feff9e27d469a0e78bbf80495d7-A; expires=Wed, 12-Feb-2020 09:34:35 GMT; Max-Age=1209600; path=/; domain=.my_domain.com; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache

PHP Notice

Message

Undefined index: REQUEST_METHOD

Error at

app/Tygh/Registry.php, line: 544

Backtrace

File: app/Tygh/Registry.php
Line: 544
Function: {closure}
File: app/Tygh/Languages/Values.php
Line: 111
Function: cacheLevel
File: app/functions/fn.common.php
Line: 5719
Function: getLangVar
File: app/functions/fn.init.php
Line: 271
Function: __
File: app/functions/fn.init.php
Line: 1081
Function: fn_init_company_data
File: init.php
Line: 169
Function: fn_init
File: admin.php
Line: 25
Function: require

PHP Notice

Message

Undefined index: REMOTE_ADDR

Error at

app/functions/fn.common.php, line: 1981

Backtrace

File: app/functions/fn.common.php
Line: 1981
Function: {closure}
File: app/functions/fn.users.php
Line: 993
Function: fn_get_ip
File: app/functions/fn.users.php
Line: 2867
Function: fn_fill_auth
File: app/functions/fn.init.php
Line: 639
Function: fn_login_user
File: app/functions/fn.init.php
Line: 1081
Function: fn_init_user
File: init.php
Line: 169
Function: fn_init
File: admin.php
Line: 25
Function: require

PHP Notice

Message

Undefined index: REQUEST_METHOD

Error at

app/functions/fn.common.php, line: 7107

Backtrace

File: app/functions/fn.common.php
Line: 7107
Function: {closure}
File: app/functions/fn.control.php
Line: 249
Function: fn_csrf_validate_request
File: admin.php
Line: 27
Function: fn_dispatch

PHP Notice

Message

Undefined index: REQUEST_METHOD

Error at

app/functions/fn.control.php, line: 258

Backtrace

File: app/functions/fn.control.php
Line: 258
Function: {closure}
File: admin.php
Line: 27
Function: fn_dispatch

PHP Notice

Message

Undefined index: REQUEST_METHOD

Error at

app/functions/fn.common.php, line: 2360

Backtrace

File: app/functions/fn.common.php
Line: 2360
Function: {closure}
File: app/functions/fn.control.php
Line: 317
Function: fn_check_permissions
File: admin.php
Line: 27
Function: fn_dispatch

PHP Notice

Message

Undefined index: REQUEST_METHOD

Error at

app/functions/fn.control.php, line: 329

Backtrace

File: app/functions/fn.control.php
Line: 329
Function: {closure}
File: admin.php
Line: 27
Function: fn_dispatch
Weiter

Maybe it results from a error in the configuration, I do not really know, but I messed around with the php ini and thats my values now, but I couldn't see any effect:

max_input_vars = 10000
post_max_size = 64M
memory_limit = 512M
default_socket_timeout = 300
max_execution_time = 3600

I would really appreciate a hint for a solution

best regards

Antares