Support

Admin Tools

#31277 Failed deleting inaccessible file mysql.xml

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by mrit on Wednesday, 24 April 2019 04:51 CDT

mrit
Hellot here

After upgrading all of my sites from 3.9.4 to 3.9.5 i get the following error when i am trying to update admin tools

Warning

Joomla\Filesystem\File::delete: Failed deleting inaccessible file mysql.xml

Package Update: There was an error installing an extension: com_akeeba-pro.zip

It is not a permission issue 100% since before the joomla upgrade i have temporarily i have given chmod -R a=+rwx sitename_folder and the user setted to the sitename is choown -R siteuser:siteuser sitename_folder.

Before upgrading to the 3.9.5 all worked smoothly.Even uninstall of the admin tools is not finishing correctly and i have to manually delete folder and files and delete records from the database. The install process is working fine ..

My server Os are CentOS/Debian with not been updated lately ..SO nothing is changed to the os that can affect this..

I think that 3.9.5 has a change that affects Admin Tools... maybe ..?

How is this can be fixed..?

nicholas
Akeeba Staff
Manager
Nope. It has nothing to do with the update. That's a problem with your server, the file is really inaccessible (or, rather, the folder in which it is located or one of its parent folders is). Delete the folder administrator/components/com_admintools/sql and retry the upgrade. It will now work.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mrit
Yes if i delete the folder and then let Admin Tools installation to recreate it will fix it ... This proves that somehow it has to do the 3.9.5 upgrade and the Admin Tool install program .... Before the 3.9.5 everything wroked like a charm. In the meanwhile nothing was changed on the server.. Maybe somehow is related to the php version which is my case is 5.6 which os too old..

mrit
i really do not know.. and it happened in 3 joomla sites same time

nicholas
Akeeba Staff
Manager
The extension installer is part of Joomla itself, not part of Admin Tools. As far as I can tell, there was no change there which would justify this issue. You are just the second person to report that. For the previous case I did log into the site and tried deleting the file from PHP (it failed) and from FTP (it worked). So clearly the problem reported by Joomla is a filesystem issue. I can't possible tell you why is that, though.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mrit
OK then you have debugged the issue. I have command line access to my servers so i deleted the folder fromt he command and yes afterwords it worked..... i came up to the same result but i was thinking that somehow admins tolls installation part is involving..

Anyway it is weird though that came up after the upgrade..so i guess it is a bug of the 3.9.5 version.. i hope next version to reolve it ...

Please close the ticket...

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!