From: Vincent Vanwaelscappel Date: Wed, 3 Jul 2024 09:21:46 +0000 (+0200) Subject: wip #6986 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a4899095a5b4d44aa619f7d28908dbd9a82f0f9a;p=fluidbook_processfarm.git wip #6986 @1 --- diff --git a/app/src/ProcessFile.php b/app/src/ProcessFile.php index 2ead23f..1c72183 100644 --- a/app/src/ProcessFile.php +++ b/app/src/ProcessFile.php @@ -31,7 +31,7 @@ class ProcessFile extends \Fluidbook\Tools\Jobs\ProcessFile public function __construct($out, $page, $resolutionRatio, $mobileRatio, $format = 'jpg', $resolution = 150, $quality = 85, $withGraphics = true, $withTexts = true, $version = 'html', $force = false) { - error_log('Begin process file : [' . $out . ',' . $page . ']'); + error_log('Begin process file : [' . $out . ',' . $page . ',' . $format . ',' . $resolution . ',' . $quality . ',' . ($withGraphics ? 'graphics' : 'no graphics') . ',' . ($withTexts ? 'texts' : 'no texts') . ',' . $resolutionRatio . '|' . $mobileRatio . ']'); if (stristr($out, 'usstorage')) { $this->setRegion('US'); diff --git a/update b/update index f0d8855..c838206 100755 --- a/update +++ b/update @@ -10,7 +10,8 @@ chmod 755 ./app/bin/* chmod 755 ./ssh chmod 600 ./ssh/id_rsa DOCKER_BUILDKIT=1 docker compose build -docker compose down +docker compose down -v +rm -rf ./app/vendor docker compose up -d #docker exec fluidbook-processfarm apt update #docker exec fluidbook-processfarm apt upgrade -y