• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved WP-Toolkit: unable to copy WP files to current directory

UnS3eN

Basic Pleskian
Server operating system version
Almalinux 9.7
Plesk version and microupdate number
18.0.74 #3
Running into the following on every WP site when trying to re-install core:
Code:
Reinstallation of WordPress core files failed due to the following issue: Warning: Unable to copy 'wp-includes/blocks/navigation/view.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/navigation/view.min.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/query/view.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/query/view.min.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/search/view.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/search/view.min.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/file/view.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/file/view.min.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/image/view.js' to current directory. Warning: Unable to copy 'wp-includes/blocks/image/view.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/utils.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-preview.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-preview-nav-menus.js' to current directory. Warning: Unable to copy 'wp-includes/js/autosave.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-selective-refresh.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-preview-widgets.js' to current directory. Warning: Unable to copy 'wp-includes/js/hoverIntent.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/media-grid.js' to current directory. Warning: Unable to copy 'wp-includes/js/comment-reply.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-loader.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-sanitize.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-emoji.js' to current directory. Warning: Unable to copy 'wp-includes/js/swfobject.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-sanitize.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-emoji-loader.js' to current directory. Warning: Unable to copy 'wp-includes/js/media-audiovideo.js' to current directory. Warning: Unable to copy 'wp-includes/js/zxcvbn-async.js' to current directory. Warning: Unable to copy 'wp-includes/js/colorpicker.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/hoverintent-js.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/backbone.js' to current directory. Warning: Unable to copy 'wp-includes/js/json2.js' to current directory. Warning: Unable to copy 'wp-includes/js/media-editor.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-preview-widgets.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/media-grid.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/wplink.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-views.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/underscore.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-embed-template.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-backbone.js' to current directory. Warning: Unable to copy 'wp-includes/js/utils.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/customize-preview-nav-menus.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/media-models.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-embed.js' to current directory. Warning: Unable to copy 'wp-includes/js/comment-reply.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/wp-util.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/tw-sack.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/heartbeat.js' to current directory. Warning: Unable to copy 'wp-includes/js/media-views.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/annotations.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/core-data.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/list-reusable-blocks.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/dom.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/block-directory.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/views.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/edit-widgets.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/core-commands.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/script-modules/interactivity-router/index.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/script-modules/interactivity-router/index.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/script-modules/block-library/navigation/view.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/script-modules/block-library/navigation/view.min.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/script-modules/block-library/form/view.js' to current directory. Warning: Unable to copy 'wp-includes/js/dist/script-modules/block-library/ ...

Root directory ownership is correct. So are the file/dir permissions. Tried enabling debig mode - no additional information in the logs.~
I can create new dirs/files via the panel's file browser just fine and they get created with correct owner/permissions.

Any idea what to loot at next?
 
Try renaming the wp-includes folder to something like wp-includes-backup and try reinstalling WordPress.
 
Figured it out. Something set 'chattr +i' to the entire '/var/www/vhosts' directory.

Resolved.
 
Back
Top