]> _ Git - fluidbook_processfarm.git/commitdiff
wip #6986 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 3 Jul 2024 09:21:46 +0000 (11:21 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 3 Jul 2024 09:21:46 +0000 (11:21 +0200)
app/src/ProcessFile.php
update

index 2ead23fba3b4a41c699e4dacd9a1315581547fa5..1c72183e0a4f529bc86415a781a31848f1d3ab34 100644 (file)
@@ -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 f0d8855775f742e706507d4f2e62b2d1bbd90ffc..c8382061b5c18086cbcba3ac5953089cd3e42f4c 100755 (executable)
--- 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