[wp-trac] [WordPress Trac] #55307: After upgrading Debian, WordPress sites no longer update through FTP

WordPress Trac noreply at wordpress.org
Thu Mar 3 21:40:43 UTC 2022


#55307: After upgrading Debian, WordPress sites no longer update through FTP
-----------------------------+------------------------------
 Reporter:  zippy1970        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  5.9
 Severity:  major            |  Resolution:
 Keywords:  needs-testing    |     Focuses:
-----------------------------+------------------------------

Comment (by zippy1970):

 Replying to [comment:2 afragen]:
 > Is there some reason you must use the FTP option to upgrade?

 If I use the direct method, I first get this:

 {{{
 Downloading update from
 https://downloads.wordpress.org/release/wordpress-5.9.1-no-content.zip…

 The authenticity of wordpress-5.9.1-no-content.zip could not be verified
 as no signature was found.

 Unpacking the update…

 Could not create directory.

 Installation failed.
 }}}

 So next I do {{{chmod 0777 wp-content/upgrade}}} and then I get this:

 {{{
 Downloading update from
 https://downloads.wordpress.org/release/wordpress-5.9.1-no-content.zip…

 The authenticity of wordpress-5.9.1-no-content.zip could not be verified
 as no signature was found.

 Unpacking the update…

 Verifying the unpacked files…

 Preparing to install the latest version…

 The update cannot be installed because we will be unable to copy some
 files. This is usually due to inconsistent file permissions.: wp-includes
 /block-supports/elements.php, wp-includes/block-supports/duotone.php, wp-
 includes/block-supports/layout.php, wp-includes/default-filters.php, wp-
 includes/block-template.php, wp-includes/css/dist/edit-site/style-
 rtl.min.css, wp-includes/css/dist/edit-site/style.min.css, wp-
 includes/css/dist/edit-site/style-rtl.css, wp-includes/css/dist/edit-
 site/style.css, wp-includes/css/dist/block-library/editor.min.css, wp-
 includes/css/dist/block-library/style-rtl.min.css, wp-includes/css/dist
 /block-library/common-rtl.min.css, wp-includes/css/dist/block-
 library/editor.css, wp-includes/css/dist/block-library/common.css, wp-
 includes/css/dist/block-library/style.min.css, wp-includes/css/dist/block-
 library/editor-rtl.css, wp-includes/css/dist/block-library/editor-
 rtl.min.css, wp-includes/css/dist/block-library/style-rtl.css, wp-
 includes/css/dist/block-library/common.min.css, wp-includes/css/dist
 /block-library/common-rtl.css, wp-includes/css/dist/block-
 library/style.css, wp-includes/css/dist/components/style-rtl.min.css, wp-
 includes/css/dist/components/style.min.css, wp-
 includes/css/dist/components/style-rtl.css, wp-
 includes/css/dist/components/style.css, wp-includes/css/dist/block-editor
 /style-rtl.min.css, wp-includes/css/dist/block-editor/style.min.css, wp-
 includes/css/dist/block-editor/style-rtl.css, wp-includes/css/dist/block-
 editor/style.css, wp-includes/class-wp-theme-json.php, wp-includes/script-
 loader.php, wp-includes/assets/script-loader-packages.php, wp-
 includes/blocks/gallery/style-rtl.min.css, wp-
 includes/blocks/gallery/style.min.css, wp-includes/blocks/gallery/style-
 rtl.css, wp-includes/blocks/gallery/style.css, wp-includes/blocks/site-
 title.php, wp-includes/blocks/page-list/editor.min.css, wp-includes/blocks
 /page-list/editor.css, wp-includes/blocks/page-list/editor-rtl.css, wp-
 includes/blocks/page-list/editor-rtl.min.css, wp-includes/blocks/page-
 list.php, wp-includes/blocks/search.php, wp-includes/blocks/post-template
 /style-rtl.min.css, wp-includes/blocks/post-template/style.min.css, wp-
 includes/blocks/post-template/style-rtl.css, wp-includes/blocks/post-
 template/style.css, wp-includes/blocks/post-featured-image/editor.min.css,
 wp-includes/blocks/post-featured-image/editor.css, wp-includes/blocks
 /post-featured-image/editor-rtl.css, wp-includes/blocks/post-featured-
 image/editor-rtl.min.css, wp-includes/blocks/index.php, wp-
 includes/blocks/image/style-rtl.min.css, wp-
 includes/blocks/image/style.min.css, wp-includes/blocks/image/style-
 rtl.css, wp-includes/blocks/image/style.css, wp-includes/blocks/cover
 /style-rtl.min.css, wp-includes/blocks/cover/style.min.css, wp-
 includes/blocks/cover/style-rtl.css, wp-includes/blocks/cover/style.css,
 wp-includes/blocks/site-logo.php, wp-
 includes/blocks/spacer/editor.min.css, wp-
 includes/blocks/spacer/block.json, wp-includes/blocks/spacer/editor.css,
 wp-includes/blocks/spacer/editor-rtl.css, wp-includes/blocks/spacer
 /editor-rtl.min.css, wp-includes/deprecated.php, wp-includes/version.php,
 wp-includes/class-wp-theme-json-resolver.php, wp-includes/rest-
 api/endpoints/class-wp-rest-global-styles-controller.php, wp-includes
 /block-editor.php, wp-includes/post.php, wp-includes/global-styles-and-
 settings.php, wp-includes/js/dist/core-data.js, wp-
 includes/js/dist/components.js, wp-includes/js/dist/edit-site.min.js, wp-
 includes/js/dist/block-library.min.js, wp-includes/js/dist/edit-
 post.min.js, wp-includes/js/dist/block-editor.min.js, wp-includes/js/dist
 /core-data.min.js, wp-includes/js/dist/components.min.js, wp-
 includes/js/dist/editor.min.js, wp-includes/js/dist/edit-site.js, wp-
 includes/js/dist/block-editor.js, wp-includes/js/dist/block-library.js,
 wp-includes/js/dist/editor.js, wp-includes/js/dist/edit-post.js, wp-
 includes/js/wp-ajax-response.min.js, wp-includes/js/jquery/ui/effect-
 fade.js, wp-includes/js/jquery/ui/controlgroup.min.js, wp-
 includes/js/jquery/ui/effect-highlight.min.js, wp-includes/js/jquery/ui
 /effect-clip.js, wp-includes/js/jquery/ui/effect-highlight.js, wp-
 includes/js/jquery/ui/button.js, wp-includes/js/jquery/ui/tabs.min.js, wp-
 includes/js/jquery/ui/selectable.min.js, wp-
 includes/js/jquery/ui/draggable.js, wp-
 includes/js/jquery/ui/droppable.min.js, wp-
 includes/js/jquery/ui/effect.js, wp-includes/js/jquery/ui/spinner.js, wp-
 includes/js/jquery/ui/effect-explode.min.js, wp-
 includes/js/jquery/ui/accordion.js, wp-includes/js/jquery/ui/core.min.js,
 wp-includes/js/jquery/ui/effect-pulsate.min.js, wp-
 includes/js/jquery/ui/mouse.min.js, wp-includes/js/jquery/ui/effect-
 puff.min.js, wp-includes/js/jquery/ui/effect-shake.js, wp-
 includes/js/jquery/ui/menu.js, wp-includes/js/jquery/ui/draggable.min.js,
 wp-includes/js/jquery/ui/selectmenu.js, wp-
 includes/js/jquery/ui/sortable.js, wp-includes/js/jquery/ui/core.js, wp-
 includes/js/jquery/ui/effect-slide.min.js, wp-includes/js/jquery/ui
 /effect-drop.js, wp-includes/js/jquery/ui/effect-size.js, wp-
 includes/js/jquery/ui/autocomplete.js, wp-
 includes/js/jquery/ui/menu.min.js, wp-includes/js/jquery/ui/tabs.js, wp-
 includes/js/jquery/ui/effect-bounce.min.js, wp-includes/js/jquery/ui
 /effect-drop.min.js, wp-includes/js/jquery/ui/selectable.js, wp-
 includes/js/jquery/ui/dialog.js, wp-includes/js/jquery/ui/effect-
 fold.min.js, wp-includes/js/jquery/ui/checkboxradio.min.js, wp-
 includes/js/jquery/ui/effect-puff.js, wp-
 includes/js/jquery/ui/autocomplete.min.js, wp-
 includes/js/jquery/ui/slider.js, wp-includes/js/jquery/ui/tooltip.min.js,
 wp-includes/js/jquery/ui/sortable.min.js, wp-
 includes/js/jquery/ui/droppable.js, wp-includes/js/jquery/ui/effect-
 blind.min.js, wp-includes/js/jquery/ui/effect-pulsate.js, wp-
 includes/js/jquery/ui/resizable.min.js, wp-
 includes/js/jquery/ui/datepicker.js, wp-includes/js/jquery/ui/effect-
 scale.js, wp-includes/js/jquery/ui/checkboxradio.js, wp-
 includes/js/jquery/ui/spinner.min.js, wp-
 includes/js/jquery/ui/button.min.js, wp-
 includes/js/jquery/ui/progressbar.min.js, wp-
 includes/js/jquery/ui/tooltip.js, wp-includes/js/jquery/ui/effect.min.js,
 wp-includes/js/jquery/ui/effect-transfer.js, wp-
 includes/js/jquery/ui/accordion.min.js, wp-includes/js/jquery/ui/effect-
 fade.min.js, wp-includes/js/jquery/ui/effect-fold.js, wp-
 includes/js/jquery/ui/effect-transfer.min.js, wp-
 includes/js/jquery/ui/mouse.js, wp-includes/js/jquery/ui/controlgroup.js,
 wp-includes/js/jquery/ui/progressbar.js, wp-includes/js/jquery/ui/effect-
 clip.min.js, wp-includes/js/jquery/ui/effect-scale.min.js, wp-
 includes/js/jquery/ui/selectmenu.min.js, wp-includes/js/jquery/ui/effect-
 blind.js, wp-includes/js/jquery/ui/effect-explode.js, wp-
 includes/js/jquery/ui/resizable.js, wp-
 includes/js/jquery/ui/dialog.min.js, wp-includes/js/jquery/ui/effect-
 slide.js, wp-includes/js/jquery/ui/slider.min.js, wp-includes/js/jquery/ui
 /effect-bounce.js, wp-includes/js/jquery/ui/effect-size.min.js, wp-
 includes/js/jquery/ui/datepicker.min.js, wp-includes/js/jquery/ui/effect-
 shake.min.js, wp-includes/js/wp-ajax-response.js, wp-includes/option.php,
 wp-admin/css/dashboard-rtl.css, wp-admin/css/dashboard-rtl.min.css, wp-
 admin/css/dashboard.min.css, wp-admin/css/dashboard.css, wp-
 admin/about.php, wp-admin/update-core.php, wp-admin/includes/upgrade.php,
 wp-admin/includes/update-core.php, wp-admin/includes/class-core-
 upgrader.php, wp-admin/includes/file.php, wp-admin/edit-form-blocks.php

 Installation failed.
 }}}

 I'm sure I can get this to work by setting the proper file permissions,
 but I remember now why I chose FTP: security. Can't remember exactly what
 the security concern was, but this is a webserver with multiple virtual
 hosts all running WordPress.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55307#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list