• Resolved mubiesam

    (@mubiesam)


    Followed the instruction for Update Failed issues to install wp security plugin, but still got the same error…
    1. Update Failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.
    2. Update Failed: Could not remove the old plugin.
    3. Could not fully remove the plugin backwpup/backwpup.php. (I tried to uninstall BackWPup, seems conflict)

    This message will not go away with “Yes” clicked.
    W

    ould you like All In One WP Security & Firewall to re-insert the security rules in your .htaccess file which were cleared when you deactivated the plugin? Yes No

    what should I added to the .htaccess file? There are only #1 order deny,allow #2 deny from all in the file.

    Had used FTP to reset file permissions to get all green in the Filesystem Security.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    This message will not go away with “Yes” clicked.

    In your case you will have to click on No. Then you need to check your file permissions in your WordPress install including your .htaccess file. This can be achieved by using FTP.

    Let me know if you need more information or help.

    Thank you

    Thread Starter mubiesam

    (@mubiesam)

    what should I added to the .htaccess file? There are only #1 order deny,allow #2 deny from all in the file.
    thanks

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, if you are referring to what is added by our plugin then you need not to worry. You will need to start from scratch.

    What lines of code are added in your .htaccess file now?

    Regards

    Thread Starter mubiesam

    (@mubiesam)

    There are only 2 lines of code in my .htaccess file now under aiowps_backups

    order deny,allow
    deny from all

    But there is another .htaccess file under ai1wm-backups which the plugin All-in-One WP Migration had been removed earlier.

    <IfModule mod_mime.c>
    AddType application/octet-stream .wpress
    </IfModule>
    <IfModule mod_dir.c>
    DirectoryIndex index.php
    </IfModule>
    Options -Indexes

    Besides, what should be added to the wp-config.php file for your plugin?

    Thanks

    Thread Starter mubiesam

    (@mubiesam)

    the current .htaccess file under /htdocss

    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    But there is another .htaccess file under ai1wm-backups which the plugin All-in-One WP Migration had been removed earlier.

    Did you migrate your site from one server to another server? Or did you move your site from one folder to another folder in the same server?

    Besides, what should be added to the wp-config.php file for your plugin?

    What are you trying to do with this file? Our plugin does not write to wp-config.php file.

    the current .htaccess file under /htdocss

    I would not touch the content of that .htaccess file unless you know what you are doing.

    Are you running a multisite or not?

    Kind regards

    • This reply was modified 4 years, 10 months ago by mbrsolution.
    Thread Starter mubiesam

    (@mubiesam)

    Yes, I’m running a multisite.

    We had created a backup and restored to another folder.

    There is a backup wp-config.php file in the setting, so I thought it will be like .htaccess file

    Thanks

    Thread Starter mubiesam

    (@mubiesam)

    Had used FTP to reset file permissions to get all green in the Filesystem Security. But still got this error…
    Update Failed: Could not remove the old plugin.
    Our site is installed via bitnami, do I need to modify anything for the accessibility and read/write privileges of the files and folders?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    Our site is installed via bitnami,

    Are you talking about a local installed? Another words are you talking about a et up in your computer laptop?

    Regards

    Thread Starter mubiesam

    (@mubiesam)

    No, Bitnami is a Packaged Applications for Any Platform – Cloud, Container, Virtual Machine
    https://bitnami.com/
    Our multisite is on GCP via bitnami

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for sharing more information.

    We had created a backup and restored to another folder.

    I have restored my site a few times to a single install “no network” without any issues. I suspect that your method of restoring your backup to another folder has caused this issue. Your best option is to delete our plugin and install a fresh copy from scratch.

    Kind regards

    Thread Starter mubiesam

    (@mubiesam)

    install a fresh copy from scratch.

    You mean a fresh copy of plugin or the whole multisite?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, a fresh copy of our plugin AIOWPS.

    Thank you

    Thread Starter mubiesam

    (@mubiesam)

    Sorry for late response, I was away for a week trip.

    While tried to delete your plugin as suggested, got warning

    Could not fully remove the plugin all-in-one-wp-security-and-firewall/wp-security.php.

    But using WinSCP to check, there is nothing in the said folder.

    Meanwhile, while trying to delete another plugin BackWPup, got warning

    Could not fully remove the plugin backwpup/backwpup.php.

    and this file backwpup.php. with other files and folders of plugin BackWPup, are all still there.

    Why will be this difference? your suggestion is highly appreciated.

    Thread Starter mubiesam

    (@mubiesam)

    Found something strange in Health Check

    Plugin update hooks have been removed.

    Theme update hooks have been removed.

    Here is the debug info, anything suspicious?

    
    ### WordPress ###
    
    Version: 4.9.10 ( Latest version: 5.2 )
    Language: zh_TW
    Permalink structure: /%year%/%monthnum%/%day%/%postname%/
    Is this site using HTTPS?: Yes
    Can anyone register on this site?: Yes
    Default comment status: open
    Is this a multisite?: Yes
    User Count: 20
    Site Count: 8
    Network Count: 1
    Communication with WordPress.org: WordPress.org is reachable
    Create loopback requests: The loopback request to your site completed successfully.
    
    ### Installation size ###
    
    Uploads Directory: 29.89 MB
    Themes Directory: 25.45 MB
    Plugins Directory: 209.53 MB
    Database size: 48.41 MB
    Whole WordPress Directory: 1.84 GB
    Total installation size: 1.89 GB
    
    ### Drop-ins ###
    
    sunrise.php: Executed before Multisite is loaded.
    
    ### Active Theme ###
    
    Name: Affinity
    Version: 1.0.8
    Author: Automattic
    Author website: http://wordpress.com/themes/
    Parent theme: Not a child theme
    Supported theme features: automatic-feed-links, title-tag, custom-logo, post-thumbnails, menus, html5, custom-background, custom-header, infinite-scroll, jetpack-responsive-videos, jetpack-content-options, jetpack-social-menu, widgets
    
    ### Other themes (7) ###
    
    Affinity Child (affinity-child): Version 1.0.8.1527048869 by Automattic
    Dyad (dyad): Version 1.0.10 by Automattic
    Guten (guten): Version 1.0.9 by Kaira ( Latest version: 1.1.01 )
    Karuna (karuna): Version 1.2.6 by Automattic
    SKT Consulting (skt-consulting): Version 1.1 by SKT Themes
    Storefront (storefront): Version 2.4.6 by Automattic ( Latest version: 2.5.0 )
    Taproot (taproot): Version 1.1.2 by Sky Shabatura ( Latest version: 1.2.0 )
    
    ### Must Use Plugins (1) ###
    
    Health Check Troubleshooting Mode: Version 1.5.1
    
    ### Active Plugins (11) ###
    
    Activity Log: Version 2.5.2 by Activity Log Team
    All In One SEO Pack: Version 2.12.1 by Michael Torbert
    Elementor: Version 2.5.15 by Elementor.com
    FB Messenger Live Chat: Version 1.4.4 by Zotabox ( Latest version: 1.4.9 )
    Health Check & Troubleshooting: Version 1.2.6 by The WordPress.org community ( Latest version: 1.3.2 )
    Jetpack by WordPress.com: Version 7.1.1 by Automattic
    Mailjet for WordPress: Version 5.0.11 by Mailjet SAS ( Latest version: 5.1.0 )
    Super Progressive Web Apps: Version 2.0.2 by SuperPWA
    Super Socializer: Version 7.12.24 by Team Heateor ( Latest version: 7.12.25 )
    WordPress Importer: Version 0.6.4 by wordpressdotorg
    WordPress MU Domain Mapping: Version 0.5.5.1 by Donncha O Caoimh
    
    ### Inactive Plugins (31) ###
    
    ACF to REST API: Version 3.1.0 by Aires Gonçalves
    Advanced Custom Fields: Version 5.8.0 by Elliot Condon
    Always Show Admin Bar: Version 0.3 by Lee Willis
    BackWPup: Version 3.6.8 by Inpsyde GmbH ( Latest version: 3.6.9 )
    Booking Calendar: Version 9.Business.Large.Developer.8.2 by wpdevelop, oplugins
    Booking Manager: Version 2.0.9 by wpdevelop, oplugins
    BP Registration Options: Version 4.3.7 by Pluginize
    BuddyPress: Version 4.3.0 by The BuddyPress Community
    Categories Images: Version 2.5.4 by Muhammad Said El Zahlan
    Child Theme Configurator: Version 2.4.4 by Lilaea Media
    Float Menu Lite: Version 3.0.1 by Wow-Company
    Google Analytics for WordPress by MonsterInsights: Version 7.6.0 by MonsterInsights
    Instagram Feed: Version 1.12 by Smash Balloon
    LINE Pay Gateway for WooCommerce: Version 0.4.3 by Denny Tsai
    Multisite Language Switcher: Version 2.3.0 by Dennis Ploetner
    Octolooks Scrapes Lite: Version 1.0.0 by Octolooks
    Official Facebook Pixel: Version 1.7.25 by Facebook
    OnePaid: Version 1.0.0 by GanguTech Co., Ltd.
    PHP Compatibility Checker: Version 1.4.7 by WP Engine
    Responsive Lightbox & Gallery: Version 2.1.0 by dFactory
    Simple Tags: Version 2.5.2 by Amaury BALMER ( Latest version: 2.5.4 )
    WooCommerce: Version 3.6.2 by Automattic ( Latest version: 3.6.3 )
    WooCommerce PayPal Checkout Gateway: Version 1.6.11 by WooCommerce ( Latest version: 1.6.14 )
    WooCommerce Product Feed: Version 3.0.30 by WebAppick ( Latest version: 3.0.33 )
    WooCommerce Services: Version 1.20.0 by Automattic
    WordPress Mobile Pack: Version 3.4 by WPMobilePack.com
    WP Crontrol: Version 1.7.1 by John Blackbourn & crontributors
    WP Geo: Version 3.4 by Ben Huson
    WP Mail SMTP: Version 1.4.2 by WPForms
    WP Show Posts: Version 1.1.3 by Tom Usborne
    藍新金流: Version 1.0.1 by 藍新金流 newebpay
    
    ### Media handling ###
    
    Active editor: WP_Image_Editor_GD
    Imagick Module Version: Imagick not available
    ImageMagick Version: Imagick not available
    GD Version: bundled (2.1.0 compatible)
    Ghostscript Version: Not available
    
    ### Server ###
    
    Server architecture: Linux 4.9.0-8-amd64 x86_64
    Web Server Software: Apache
    PHP Version: 7.0.27 (Supports 64bit values)
    PHP SAPI: fpm-fcgi
    PHP max input variables: 1000
    PHP time limit: 120
    PHP memory limit: 512M
    Max input time: 300
    Upload max filesize: 100M
    PHP post max size: 100M
    cURL Version: 7.45.0 OpenSSL/1.0.2n
    SUHOSIN installed: No
    Is the Imagick library available: No
    htaccess rules: Custom rules have been added to your htaccess file
    
    ### Database ###
    
    Extension: mysqli
    Server version: 5.7.21
    Client version: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
    Database prefix: wp_14_
    
    ### WordPress Constants ###
    
    ABSPATH: /opt/bitnami/apps/wordpress/htdocs/
    WP_HOME: Undefined
    WP_SITEURL: Undefined
    WP_DEBUG: Enabled
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG_DISPLAY: Enabled
    WP_DEBUG_LOG: Disabled
    SCRIPT_DEBUG: Disabled
    WP_CACHE: Disabled
    CONCATENATE_SCRIPTS: Undefined
    COMPRESS_SCRIPTS: Undefined
    COMPRESS_CSS: Undefined
    WP_LOCAL_DEV: Undefined
    
    ### Filesystem Permissions ###
    
    The main WordPress directory: Not writable
    The wp-content directory: Not writable
    The uploads directory: Writable
    The plugins directory: Not writable
    The themes directory: Not writable
    The Must Use Plugins directory: Writable
    
    
Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Update Failed’ is closed to new replies.