• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue filemng: /usr/bin/zip execution failed

Ricardo_altertable

New Pleskian
Server operating system version
AlmaLinux release 8.9
Plesk version and microupdate number
Plesk Obsidian 18.0.60.0
Hello Pleskians!

I have a case that may be a timeout problem, but I don't know for sure where to increase it.

The error is a 504 Gateway Time-out:

1713341424523.png

This occurs when compressing a PrestaShop website of about 21 GB (httpdocs) from the filemanager.

The error recorded in the Plesk log is:

stderr: zip error: Interrupted (aborting) filemng: /usr/bin/zip execution failed: [2024-04-17 01:39:44.893] 1449860:661f0c40da11b ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/filemng' 'DOMAIN.TLD_tqjczy5s0uo' 'zip' '/var/www/vhosts/DOMAIN.TLD/httpdocs' 'prueba_compresion.zip' '.well-known' 'app' 'Backoffice' 'bin' 'cache' 'CATALOGO' 'cgi-bin' 'classes' 'config' 'controllers' 'designer' 'docs' 'download' 'img' 'js' 'localization' 'mails' 'modules' 'override' 'pdf' 'src' 'templates' 'themes' 'tools' 'translations' 'upload' 'var' 'vendor' 'webservice' '.htaccess' '.htaccessps' '.php-cs-fixer.dist.php' '.rnd' '.user.ini-ORG' '.userNO.ini' '01.htaccessps' '1_es_0_sitemap.xml' '1_index_sitemap.xml' '1_pt_0_sitemap.xml' 'ahrefs_3b019571c17c9753e0e1dbc2c6fae42864111ae93eafcfe1b8f886a9a0864dc3' 'ahrefs_e676fabe3c220cbba10c09f0b25a713b65b1cc53a4ac08bd7cc2f65bccc780e5' 'autoload.php' 'composer.lock' 'error403.html' 'error500.html' 'favicon.ico' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.en...shop1.product.xml' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.es.EUR.shop1.local.xml' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.es.EUR.shop1.product.xml' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.es.EUR.shop1.reviews.xml' 'google4b85a83d0cf46642.html' 'googlee2f81088ecbec871.html' 'index.php' 'infos.php' 'init.php' 'INSTALL.txt' 'LICENSES' 'Makefile' 'PHP.ini-BK' 'phpstan.neon.dist' 'robots.txt' 'sitemap-1.xml' 'sitemap-categories-1-es.xml' 'sitemap-manufacturers-1-es.xml' 'sitemap-pages-1-es.xml' 'sitemap-products-1-es.xml'] with exit code [9] [2024-04-17 01:39:44.894] 1449860:661f0c40da11b ERR [panel] '/usr/local/psa/admin/bin/filemng' 'DOMAIN.TLD_tqjczy5s0uo' 'zip' '/var/www/vhosts/DOMAIN.TLD/httpdocs' 'prueba_compresion.zip' '.well-known' 'app' 'Backoffice' 'bin' 'cache' 'CATALOGO' 'cgi-bin' 'classes' 'config' 'controllers' 'designer' 'docs' 'download' 'img' 'js' 'localization' 'mails' 'modules' 'override' 'pdf' 'src' 'templates' 'themes' 'tools' 'translations' 'upload' 'var' 'vendor' 'webservice' '.htaccess' '.htaccessps' '.php-cs-fixer.dist.php' '.rnd' '.user.ini-ORG' '.userNO.ini' '01.htaccessps' '1_es_0_sitemap.xml' '1_index_sitemap.xml' '1_pt_0_sitemap.xml' 'ahrefs_3b019571c17c9753e0e1dbc2c6fae42864111ae93eafcfe1b8f886a9a0864dc3' 'ahrefs_e676fabe3c220cbba10c09f0b25a713b65b1cc53a4ac08bd7cc2f65bccc780e5' 'autoload.php' 'composer.lock' 'error403.html' 'error500.html' 'favicon.ico' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.en...shop1.product.xml' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.es.EUR.shop1.local.xml' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.es.EUR.shop1.product.xml' 'gmerchantcenterproed9d67aa88916fdb22e0f59d821da695.es.EUR.shop1.reviews.xml' 'google4b85a83d0cf46642.html' 'googlee2f81088ecbec871.html' 'index.php' 'infos.php' 'init.php' 'INSTALL.txt' 'LICENSES' 'Makefile' 'PHP.ini-BK' 'phpstan.neon.dist' 'robots.txt' 'sitemap-1.xml' 'sitemap-categories-1-es.xml' 'sitemap-manufacturers-1-es.xml' 'sitemap-pages-1-es.xml' 'sitemap-products-1-es.xml' failed with code 9. stdout:

Thanks for your time!!
 
I suspect the file size is to large for Plesk to handle. As a workaround you can try to create the zip achieve via command line.

Code:
cd /var/www/vhosts/example.com/httpdocs/
sudo -u <system_user_of_subscription> zip -r shop.zip .
Replace the <system_user_of_subscription> with the system user of the subscription. Which is displayed at the bottom of the domain card.
Schermafbeelding 2024-04-17 135341.png
 
Last edited:
Back
Top