Can't update extensions: Failed deleting inaccessible file

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Provy
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Tue Jan 24, 2006 10:44 pm

Can't update extensions: Failed deleting inaccessible file

Post by Provy » Thu Mar 28, 2019 9:54 am

Forum Post Assistant (v1.4.8 (koine)) : 28th March 2019 wrote:
Problem Description :: wrote:Can't update extensions
Log/Error Message :: wrote:JInstaller: :Install: Can't find Joomla XML setup file. JInstaller: :Install: Can't find XML setup file. Joomla\Filesystem\File::delete: Failed deleting inaccessible file
Actions Taken To Resolve wrote:I am having problems with this site from the begining. System admin demands to use ftp user as a file owner (instead web user), result is that file ownership is mixed between both. Permission 775 should solve this as both are in same group, but is doesn't. At least not completely.
I tried turning off FTP in joomla and extensions installed then are upgrading fine, while those installed with FTP on sometimes do and sometimes don't. I'd change ownership for all files but I'm afraid that could create even more mess.
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.4-Stable (Amani) 12-March-2019
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (666) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.9
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: No (ReWrite Enabled but no .htaccess?) | GZip: true | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.4: Yes | Database Supports J! 3.9.4: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.4.0-142-generic | Technology: x86_64 | Web Server: nginx/1.15.6 | Encoding: gzip, deflate, br | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 72.29 GiB |

PHP Configuration :: Version: 7.2.13 | PHP API: fpm-fcgi | Session Path Writable: No | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 20M | Max. POST Size: 80M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.3.11-MariaDB-1:10.3.11+maria~bionic (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | Host: --protected-- (--protected--) | default Collation: utf8_general_ci (default Character Set: utf8) | Database Size: 6.77 MiB | #of Tables: 143
Detailed Environment :: wrote:PHP Extensions :: Core (7.2.13) | date (7.2.13) | libxml (7.2.13) | openssl (7.2.13) | pcre (7.2.13) | sqlite3 (7.2.13) | zlib (7.2.13) | ctype (7.2.13) | curl (7.2.13) | dom (20031129) | fileinfo (1.0.5) | filter (7.2.13) | ftp (7.2.13) | hash (1.0) | iconv (7.2.13) | json (1.6.0) | mbstring (7.2.13) | SPL (7.2.13) | PDO (7.2.13) | pdo_sqlite (7.2.13) | session (7.2.13) | posix (7.2.13) | readline (7.2.13) | Reflection (7.2.13) | standard (7.2.13) | SimpleXML (7.2.13) | Phar (2.0.2) | tokenizer (7.2.13) | xml (7.2.13) | xmlreader (7.2.13) | xmlwriter (7.2.13) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | cgi-fcgi () | bcmath (7.2.13) | exif (7.2.13) | gd (7.2.13) | intl (1.1.0) | memcached (3.1.3) | mysqli (7.2.13) | pdo_mysql (7.2.13) | sodium (7.2.13) | zip (1.15.4) | zmq (1.1.3) | Zend OPcache (7.2.13) | xdebug (2.6.1) | Zend Engine (3.2.0) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (775) | components/ (775) | modules/ (775) | plugins/ (775) | language/ (775) | templates/ (775) | cache/ (775) | logs/ (---) | tmp/ (777) | administrator/components/ (775) | administrator/modules/ (775) | administrator/language/ (775) | administrator/templates/ (775) | administrator/logs/ (775) |

Elevated Permissions (First 10) :: bin/ (775) | edocman/ (775) | edocman/glasnik/ (775) | edocman/glasnik/2019-03/ (775) | edocman/glasnik/2019-03/pdf/ (775) | edocman/glasnik/2019-03/slike/ (775) | language/ (775) | language/en-GB/ (775) | language/overrides/ (775) | language/sl-SI/ (775) |
Database Information :: wrote:Database statistics :: Uptime: 870310 | Threads: 11 | Questions: 11618395 | Slow queries: 0 | Opens: 608 | Flush tables: 1 | Open tables: 539 | Queries per second avg: 13.349 |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party:: WF_XHTMLXTRAS_TITLE (2.7.0-RC2) ? | WF_NONBREAKING_TITLE (2.7.0-RC2) ? | WF_FILEMANAGER_TITLE (2.7.0-RC2) ? | WF_STYLE_TITLE (2.7.0-RC2) ? | WF_TEXTPATTERN_TITLE (2.7.0-RC2) ? | WF_DIRECTIONALITY_TITLE (2.7.0-RC2) ? | WF_HR_TITLE (2.7.0-RC2) ? | WF_IFRAME_TITLE (2.7.0-RC2) ? | WF_MEDIAMANAGER_TITLE (2.7.0-RC2) ? | WF_AUTOSAVE_TITLE (2.7.0-RC2) ? | WF_FONTSIZESELECT_TITLE (2.7.0-RC2) ? | WF_SEARCHREPLACE_TITLE (2.7.0-RC2) ? | WF_TEXTCASE_TITLE (2.7.0-RC2) ? | WF_STYLESELECT_TITLE (2.7.0-RC2) ? | WF_IMGMANAGER_EXT_TITLE (2.7.0-RC2) ? | WF_ARTICLE_TITLE (2.7.0-RC2) ? | WF_FULLSCREEN_TITLE (2.7.0-RC2) ? | WF_ANCHOR_TITLE (2.7.0-RC2) ? | WF_TEMPLATEMANAGER_TITLE (2.7.0-RC2) ? | WF_MICRODATA_TITLE (2.7.0-RC2) ? | WF_CLEANUP_TITLE (2.7.0-RC2) ? | WF_BROWSER_TITLE (2.7.0-RC2) ? | WF_MEDIA_TITLE (2.7.0-RC2) ? | WF_PREVIEW_TITLE (2.7.0-RC2) ? | WF_IMGMANAGER_TITLE (2.7.0-RC2) ? | WF_PRINT_TITLE (2.7.0-RC2) ? | WF_VISUALCHARS_TITLE (2.7.0-RC2) ? | WF_KITCHENSINK_TITLE (2.7.0-RC2) ? | WF_FORMATSELECT_TITLE (2.7.0-RC2) ? | WF_FONTCOLOR_TITLE (2.7.0-RC2) ? | WF_LAYER_TITLE (2.7.0-RC2) ? | WF_CHARMAP_TITLE (2.7.0-RC2) ? | WF_LISTS_TITLE (2.7.0-RC2) ? | WF_SPELLCHECKER_TITLE (2.7.0-RC2) ? | WF_SOURCE_TITLE (2.7.0-RC2) ? | WF_VISUALBLOCKS_TITLE (2.7.0-RC2) ? | WF_CAPTION_TITLE (2.7.0-RC2) ? | WF_INLINEPOPUPS_TITLE (2.7.0-RC2) ? | WF_CLIPBOARD_TITLE (2.7.0-RC2) ? | WF_FONTSELECT_TITLE (2.7.0-RC2) ? | WF_LINK_TITLE (2.7.0-RC2) ? | WF_EMOTIONS_TITLE (2.7.0-RC2) ? | WF_CONTEXTMENU_TITLE (2.7.0-RC2) ? | WF_TABLE_TITLE (2.7.0-RC2) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.7.0-RC2) ? | WF_POPUPS_WINDOW_TITLE (2.7.0-RC2) ? | WF_LINKS_JOOMLALINKS_TITLE (2.7.0-RC2) ? | WF_AGGREGATOR_[youtube]_TITLE (2.7.0-RC2) ? | WF_AGGREGATOR_VIMEO_TITLE (2.7.0-RC2) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.7.0-RC2) ? | WF_LINK_SEARCH_TITLE (2.7.0-RC2) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.7.0-RC2) ? |

Components :: ADMIN ::
Core :: com_associations (3.7.0) 1 | com_login (3.0.0) 1 | com_search (3.0.0) 1 | com_messages (3.0.0) 1 | com_templates (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_cache (3.0.0) 1 | com_plugins (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_categories (3.0.0) 1 | com_menus (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_newsfeeds (3.0.0) 1 | com_ajax (3.2.0) 1 | com_content (3.0.0) 1 | com_fields (3.7.0) 1 | com_config (3.0.0) 1 | com_finder (3.0.0) 1 | com_languages (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_admin (3.0.0) 1 | com_banners (3.0.0) 1 | com_modules (3.0.0) 1 | com_redirect (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_privacy (3.9.0) 1 | com_checkin (3.0.0) 1 | com_media (3.0.0) 1 | com_installer (3.0.0) 1 | com_users (3.0.0) 1 | com_tags (3.1.0) 1 |
3rd Party:: COM_JCE (2.7.0-RC2) 1 | AcyMailing v6 JCE integration (1.0.0) 0 | AcyMailing subscription form (1.0.0) ? | Acym (6.1.1) 0 | com_gantry5 (5.4.27) 0 | edocman (1.11.2) 1 | COM_JEVENTS (3.4.49) 1 |

Modules :: SITE ::
Core :: mod_related_items (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_login (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_search (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_custom (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_footer (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_feed (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: MOD_JEV_SWITCH_VIEW_TITLE (3.4.49) 1 | Edocman title slider (2.0) 1 | EDocman Filter Categories (1.0.0) 1 | EDOCMAN_CALENDAR (1.0) 1 | MOD_JEV_FILTER_MODULE_TITLE (3.4.49) 1 | sigplus (1.5.0.272) 1 | MOD_JEV_LEGEND_TITLE (3.4.49) 1 | Edocman Documents (1.7.2) 1 | Edocman Tags (1.9.11) 1 | MOD_JEV_LATEST_EVENTS_TITLE (3.4.49) 1 | MOD_JEV_CUSTOM_MODULE_TITLE (3.4.49) 1 | Edocman Categories (1.7.1) 1 | EDocman search (1.7.5) 1 | AcyMailing subscription form (1.0.0) ? | mod_gantry5_particle (5.4.28) 0 | Simple Informer (2.6.0) 1 | Edocman Categories Tree (1.0) 1 | MOD_JEV_CALENDAR_TITLE (3.4.49) 1 |

Modules :: ADMIN ::
Core :: mod_submenu (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_login (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_stats_admin (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_title (3.0.0) 1 | mod_status (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_version (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_feed (3.0.0) 1 |
3rd Party:: EDOCMAN Stats (admin) (1.0) 1 |

Libraries :: SITE ::
Core ::
3rd Party:: Regular Labs Library (18.12.15489) 1 | Astroid Plugin (2.0.2) 1 | file_fof30 (3.4.1) ? |

Plugins :: SITE ::
Core :: plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_confirmconsent (3.9.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_loadmodule (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_cache (3.0.0) 0 | plg_system_p3p (3.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_remember (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_extension_joomla (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_webinstaller (1.1.1) 1 | plg_user_profile (3.0.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 |
3rd Party:: AcyMailing Tag : Edocman integratio (1.0) ? | plg_editors_jce (2.7.0-RC2) 1 | plg_editors_codemirror (5.40.0) 1 | plg_editors_tinymce (4.5.9) 1 | EDocman - Indexer plugin (2.0) 0 | EDocman Limit Downloads (1.10.0) 0 | Edocman - Gallery (1.9.10) 0 | EDocman - Amazon S3 (1.0) 0 | Edocman - JComments (1.0) 0 | EDocman - Dropbox (1.0) 0 | EDocman - Google Drive (1.0) 0 | EDocman Notification Plugin (1.9.12) 0 | plg_finder_edocman (1.7.2) 0 | PLG_FINDER_JEVENTS (3.4.49) 0 | sh404sef - Edocman component suppor (1.0.0) ? | plg_quickicon_jce (2.7.0-RC2) 1 | plg_quickicon_gantry5 (5.4.28) 0 | EDocman Document Link (1.6.0) 0 | plg_editors-xtd_sigplus (1.5.0.272) 0 | plg_content_jce (2.7.0-RC2) 1 | plg_content_sigplus (1.5.0.272) 0 | EDocman Category (1.5.5) 0 | Content - Edocman link (1.9.8) 0 | PLG_JEV_CORE_CONTENT_PLUGIN_TITLE (3.4.49) 0 | plg_gantry5_preset (5.4.28) 0 | System - RokCommon (3.2.7) 0 | plg_system_jce (2.7.0-RC2) 1 | plg_system_gantry5 (5.4.28) 0 | plg_system_regularlabs (18.12.15489) 1 | Astroid Plugin (2.0.2) 1 | AcyMailing v6 JCE integration (1.0.0) 0 | System - RokBooster (1.1.18) 0 | Edocman - Import (1.6.8) 0 | plg_fields_mediajce (2.7.0-RC2) 1 | Search - EDocman (1.7.2) 0 | plg_search_sigplus (1.5.0.272) 0 | PLG_JEV_SEARCH_TITLE (3.4.49) 0 | plg_extension_jce (2.7.0-RC2) 1 | Edocman Update Package (1.7.7) 0 | plg_installer_jce (2.7.0-RC2) 1 | plg_installer_jeventsinstaller (3.4.49) ? |
Templates Discovered :: wrote:Templates :: SITE :: beez3 (3.1.0) 1 | tpl_jdseattle (1.0.2) 1 | rt_koleti (1.0.0) 1 | protostar (1.0) 1 |
Templates :: ADMIN :: hathor (3.0.0) 1 | isis (1.0) 1 |

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 6096
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Can't update extensions: Failed deleting inaccessible file

Post by AMurray » Thu Mar 28, 2019 11:07 am

You have some weird file permissions - 775 instead of 755 for folders (and files should be 644), except for your configuration.php, should be 444 instead of 666. Fix those permissions would be one step closer.

You don't need the FTP layer either in Joomla.
Regards,
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!

Provy
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Tue Jan 24, 2006 10:44 pm

Re: Can't update extensions: Failed deleting inaccessible file

Post by Provy » Fri Mar 29, 2019 12:08 pm

Unfortunatelly it won't work if permissions go to 755 because some files are owned by ftp user and other by web user.

rahimme2k7
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Mar 29, 2019 12:05 pm

Re: Can't update extensions: Failed deleting inaccessible file

Post by rahimme2k7 » Fri Mar 29, 2019 12:15 pm

You should restart your pc/

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20243
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Can't update extensions: Failed deleting inaccessible file

Post by leolam » Fri Mar 29, 2019 5:32 pm

Provy wrote:
Fri Mar 29, 2019 12:08 pm
Unfortunatelly it won't work if permissions go to 755 because some files are owned by ftp user and other by web user.
Which means your server is wrong configured and gives wrong ownerships. All files and folders should be owned by the user. Run (or ask your host) to run the following commands on your account:

Code: Select all

Chown -R your_username public_html

Change the ownership of public_html folder recursively to 'your_username'
Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 39126
Joined: Sat Apr 05, 2008 9:58 pm

Re: Can't update extensions: Failed deleting inaccessible file

Post by Webdongle » Fri Mar 29, 2019 6:28 pm

Or change Host
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein.


Locked

Return to “General Questions/New to Joomla! 3.x”