I discovered that for a few months OKAPI fulldump generation started every week at OCPL has not worked.
Dump was generated, DB was updated with right metadata but the file served as fulldump archive still contains obsolete data.
I've investigated the issue and it seems that the problem is in preparation of tar-bzip archive here:
I discovered that for a few months OKAPI fulldump generation started every week at OCPL has not worked. Dump was generated, DB was updated with right metadata but the file served as fulldump archive still contains obsolete data.
I've investigated the issue and it seems that the problem is in preparation of tar-bzip archive here:
https://github.com/opencaching/okapi/blob/baa30056643125291a30b9c287573a33d1e70cb7/okapi/services/replicate/ReplicateCommon.php#L601
works great if
$command
is no longer than 128KB...Explanation could be this: https://unix.stackexchange.com/questions/622412/arguments-limit-php-exec-to-bash-script