Bulk Download not working
Piler Version: piler 1.4.3, build 1001
performed upgrade months ago via piler_1.4.3-jammy-38d8b519_amd64.deb deb package.
After selecting all e-mails trying to bulk-download results in empty page / HTTP 500.
mail.log says:
Oct 17 09:02:18 piler piler-webui[766172]: sql=SELECT id FROM `metadata` WHERE `id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?), arr=1490661;1490655;1490630;1490612;1490610;1490592;1490589;1490588;1490585;1490408;1490385;1490374;1490117;1490090;1490052;1489947;1489944;1489942;1489940;1489938;1489770;1489715;1489619;1489617;1489616;1489578;1489538;1489481;1489456;1489443;1489434;1489428;1489418;1489333;1489302;1489284;1489239;1489142;1488810;1488799;1488742;1488684;1488600;1488522;1488521;1488520;1488519;1488513;1488511;1488472
Comments (4)
-
reporter -
reporter Solved!
just had to do a “
apt install php-zip
" -
reporter - marked as trivial
-
repo owner - changed status to invalid
- Log in to comment
this is what nginx error.log says:
thrown in /var/piler/www/model/message/restore.php on line 11" while reading response header from upstream, client: 10.0.1.52, server: piler.ourdomain.com, request: "POST /bulkrestore.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "piler.ourdomain.com", referrer: "https://piler.ourdomain.com/search.php"
2023/10/17 09:22:14 [error] 1423412#1423412: *31878 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "ZipArchive" not found in /var/piler/www/model/message/restore.php:11
Stack trace:
#0 /var/piler/www/controller/message/bulkrestore.php(39): ModelMessageRestore->download_files_as_zip()
#1 /var/piler/www/system/front.php(36): ControllerMessageBulkrestore->index()
#2 /var/piler/www/system/front.php(14): Front->execute()
#3 /var/piler/www/index.php(114): Front->dispatch()
#4 {main}
thrown in /var/piler/www/model/message/restore.php on line 11" while reading response header from upstream, client: 10.0.1.52, server: piler.ourdomain.com, request: "POST /bulkrestore.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "piler.ourdomain.com", referrer: "https://piler.ourdomain.com/search.php"