• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Wp Tool Kit Hopelessly Broke

Ladylinux

Basic Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.68 #2
Hi,

Maddening this is.

I can't figure out why this is happening as I can download the archive no problem. But I get this constantly no matter what domain I try this on.

[2025-04-03 09:07:08.400] 673620:67ee87fb09d23 ERR [extension/wp-toolkit] Unable to extract package '/opt/psa/var/modules/wp-toolkit/packages/wordpress-6.7.2.zip'
[2025-04-03 09:07:08.476] 673620:67ee87fb09d23 ERR [panel] Task failed: id=26966, pid=673620, type=ext-wp-toolkit-task_install, error=Exception: Failed to extract archive /var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761/wordpress-6.7.2.zip to /var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761
file: /opt/psa/admin/plib/modules/wp-toolkit/library/Helper/PleskLinuxUnzipHelper.php

line: 25
code: 0
trace: #0 /opt/psa/admin/plib/modules/wp-toolkit/library/Capability/FileManager/LocalPleskFileManagerLinux.php(71): PleskExt\WpToolkit\Helper\PleskLinuxUnzipHelper::unzipAbsolute(string 'hifimods', string '/var/www/vhosts/domain.tld/httpdocs', string '/var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761/wordpress-6.7.2.zip', string '/var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761', boolean true)
#1 /opt/psa/admin/plib/modules/wp-toolkit/library/Capability/FileManager/LocalPleskFileManager.php(171): PleskExt\WpToolkit\Capability\FileManager\LocalPleskFileManagerLinux->unzipAbsolute(string '/var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761/wordpress-6.7.2.zip', string '/var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761')
#2 /opt/psa/admin/plib/modules/wp-toolkit/library/Capability/Command/Package.php(176): PleskExt\WpToolkit\Capability\FileManager\LocalPleskFileManager->unzip(array, array)
#3 /opt/psa/admin/plib/modules/wp-toolkit/library/Capability/Command/Package.php(64): PleskExt\WpToolkit\Capability\Command\Package->extractPackageToInstanceDirectory(string '/opt/psa/var/modules/wp-toolkit/packages/wordpress-6.7.2.zip')
#4 /opt/psa/admin/plib/modules/wp-toolkit/library/Capability/Command/Package.php(31): PleskExt\WpToolkit\Capability\Command\Package->download(string '6.7.2', boolean false)
#5 /opt/psa/admin/plib/modules/wp-toolkit/library/BackgroundTasksImplementation/Install/Step/DownloadPackageStep.php(44): PleskExt\WpToolkit\Capability\Command\Package->extractFiles(string '6.7.2')
#6 /opt/psa/admin/plib/modules/wp-toolkit/vendor/plesk/background-tasks/src/Adapter/PleskComplexTaskAdapter.php(52): PleskExt\WpToolkit\BackgroundTasksImplementation\Install\Step\DownloadPackageStep->run(object of type BackgroundTasks\Adapter\PleskStepProgressAdapter, object of type BackgroundTasks\Adapter\PleskTaskProgressAdapter, object of type BackgroundTasks\DataStorage\PleskTaskDataStorage)
#7 /opt/psa/admin/plib/Task/Control/Sdk.php(49): BackgroundTasks\Adapter\PleskComplexTaskAdapter->run()
#8 /opt/psa/admin/plib/Db/Table/Broker/LongTasks.php(178): Plesk\Task\Control\Sdk->run()
#9 /opt/psa/admin/plib/Db/Table/Broker/LongTasks.php(113): Db_Table_Broker_LongTasks->_syncStart(object of type Db_Table_Row_LongTask)
#10 /opt/psa/admin/plib/Task/Async/Executor.php(54): Db_Table_Broker_LongTasks->runTaskWithinExecutor(object of type Db_Table_Row_LongTask)
#11 /opt/psa/admin/plib/scripts/task-async-executor.php(6): Task_Async_Executor->execute()

[2025-04-03 09:07:08.476] 673620:67ee87fb09d23 ERR [panel] Failed to extract archive /var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761/wordpress-6.7.2.zip to /var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761
[2025-04-03 09:07:08.531] 673620:67ee87fb09d23 ERR [extension/wp-toolkit] An error occurred while executing WP-CLI command for instance: WordPress installation #1 ('/httpdocs'). Terminated

[2025-04-03 09:07:08.838] 673620:67ee87fb09d23 ERR [panel] Long task executor: id=26966 completed with error: Failed to extract archive /var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761/wordpress-6.7.2.zip to /var/www/vhosts/domain.tld/httpdocs/wp67ee87fc3eb700.58716761:
0: /opt/psa/admin/plib/Task/Async/Executor.php:56
Task_Async_Executor->execute()
1: /opt/psa/admin/plib/scripts/task-async-executor.php:6
This only happens on one machine and its been a problem for quite some time.

Uninstalling and reinstalling the package does not help. Running repair does not help. Space is not an issue. The extension was working and at some update in the last year it broke.

Thanks!!

LadyLinux
 
Could you please attempt to manually extract the archive in the /var/www/vhosts/domain.tld/httpdocs folder using unzip -o? If there's no issue and you have run the Plesk utility for file system, I would suggest raising a ticket with our support ticket for further investigation.
 
Could you please attempt to manually extract the archive in the /var/www/vhosts/domain.tld/httpdocs folder using unzip -o? If there's no issue and you have run the Plesk utility for file system, I would suggest raising a ticket with our support ticket for further investigation.
Sure

What user does this run as ?? Would be a better test to do this as that user right ??

Thanks!!

LadyLinux
 
Please try with the system user owner of the corresponding domain name. You can double check it using:

plesk db "select name, login from domains join hosting on domains.id=hosting.dom_id join sys_users on hosting.sys_user_id=sys_users.id"
 
Back
Top