Support

Akeeba Backup for Joomla!

#23164 Kickstart can NOT list my archive file (.jps)

Posted in ‘Akeeba Backup 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
Akeeba Backup version
n/a

Latest post by nicholas on Friday, 28 August 2015 10:20 CDT

baijianpeng
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

On my live website, I am running Akeeba Backup 4.3.1. And I backed up my whole website yestoday with JPS format.

Today I tried to restore this backup on my localhost testing server built with XAMPP v1.8.2, but my Kickstart v4.1.1 can NOT list my backup archive file.

the path of my localhost Joomla installation folder is:

D:/xampp/htdocs/gate

But Kickstart at the first screen list a folder named "admin". I don't have such a folder inside htdocs directory of my XAMPP.

Could you please check if this is a bug?

Thank you.

tampe125
Akeeba Staff
Hello,

can you please attach a screenshot of kickstart and your directory listing?

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

baijianpeng
Ok, following are my screenshots. Since Kickstart v4.1.1 will not run until I rename its filename, so you will see the filename was renamed as k.php in scrrenshots.

Image 01: Joomla install (restore) folder in my file explorer ( FreeCommander )

Image 02: Joomla restore folder in my browser ( http://localhost/gate )

Image 03: when I click on k.php in browser ( http://localhost/gate/k.php ) ,there shows the Kickstart welcome message (overlay).

Image 04: I click the link to close overlay. Then I can see Kickstart had deteced my JPS format backup file, but in a wrong folder . I do NOT have any folder named "admin" at all.

Image 05: So I deleted/cleared the "directory" field, because my JPS file is in the SAME folder as k.php . But, after clearing that field, Kickstart can NOT detect any backup file now.

You can reproduce this issue if you follow above steps on XAMPP v1.8.2 .

Thank you.

baijianpeng
BTW, there is no "insert attached image to message" , so I can not make those attached images display there. It seems that you have to download them first.

Hope you will improve the editor for tickets system.

Thank you.

tampe125
Akeeba Staff
The problem is caused by your browser autofill.
Once you open the page, your browser scans the page to see if it could autofill the form with saved info.
Since it finds a text field followed by a password one, it thinks this is a login form, and fills the saved info.
Of course the admin folder does not exist, leading to all the errors you just experienced.
Sadly there is no bullet-proof solution, we will try to implement some workarounds and mitigations; in the meanwhile the only thing you can do is to manually fill the directory AND the password fields manually, replacing their values.
Please note that you have to write the directory path using forward slashes instead of the backslash ones, in your case the path will be
D:/xampp/htdocs/gate
Please let me know if this works for you

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

baijianpeng
Yes, you are rigth, the "admin" is the username of Administrator for my localhost testing Joomla. That must be "autofill" result.

But, after I clear that "directory" field, why Kickstart did not just scan the folder where itself was in? I think if the "directory" field is empty, it should means "the same folder" or "the default folder". What is the default folder should be ? I think it should be the same folder where we upload Kickstart.php to.

Well, though after I manually input "D:/xampp/htdocs/gate" as the path, it can correctly detect my JPS file, I think this feature needs to be improved.

At first, I think you can use a button named "browse" to replace the current "reload" button. When clicked, this "browse" button will pop-up a folder list, like the one for file uploading in Media Manager, then the user can directly choose the JPA/JPS/ZIP file. Yes, choose the file directly!

Second, if you think such a button and file browsing feature is too difficult, then, let us make it simple: Ask the user to upload his backup file to the folder where kickstart.php is in. Yes, ONLY one location allowed for auto-detection. No more "reload" or "browse" button, just all in one same folder then auto-detect. Simple? Good.

Thank you.

nicholas
Akeeba Staff
Manager
The feature cannot be "improved". The problem is NOT in our software, it's in badly written password managers. This feature on ALL of my machines works just fine. Where my machines include:
* Android Lollipop phone (Sony Xperia Z3) with Google Chrome
* Android Lollipop tablet (Sony Xperia Z4) with Google Chrome and Firefox
* iPad Air 2 with Safari
* Mac OS X Yosemite with Safari; Google Chrome; Opera; Firefox
* Windows 7 with Chrome; IE 10; Firefox; Opera
* Windows 8.1 with Chrome; IE 10; Firefox; Opera
* Ubuntu Linux with Chrome; Chromium; Firefox; Opera
If you're wondering, yes, I have used Kickstart through ALL of these devices and browsers. The problem you report does not happen. However please note that I do NOT have many browser extensions installed. Notably, the only password manager I use is 1Password which only fills the fields I tell it to fill, when I tell it to fill them. The brief time I used LastPass I almost gave up on life because the damn thing would fill in any random field on any random page, driving me insane. If you're using LastPass please file a bug report with them, NOT us. We can't fix crappy password managers.

Adding a browse button is an overkill and will NOT fix this issue for the same reason that you have this issue right now: the browser autofill would still screw you.

Removing this feature is not an option. You must have surely observed that this feature was added a few months ago. There is a VERY good reason for this. You will see why in an upcoming version of Akeeba Backup. You can also already restore backups stored anywhere on your server WITHOUT having to download and upload them to a different directory. You may thing that's silly but it does save a few hours when you don't have access to your backend and the cPanel File Manager.

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!

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!