Support

Site Restoration

#40475 File corrupted created when restore password is wrong

Posted in ‘Site restoration’
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

PHP version
8.3
CMS Type
WordPress
CMS Version
6.4.3
Backup Tool Version
akeebabackupwp-8.2.1-pro
Kickstart version
kickstart-core-8.0.4

Latest post by nicholas on Sunday, 24 March 2024 16:47 CDT

kdoussaint

Hi, 

 

I use Akeeba since 10 years, this the first time I encounter the following error : 

During Backup : my files are encrypted and JPA Format

During Restoration : a password is asked for extract, a password is asked for restore

If I try to restore on a WHM/Cpanel server (like hunderded tiimes) AND I miss the password, it create a corrupted folder/file (each time, I tested 6 times, from a Mac, a Windows and several navigators).

If I try the same on a local computer I do not create this corrupted folder (tried on a Mac AND on a Windows).

You can see the type of folder created, this folder when created is NOT manageable and cannot be renamed/delete etc... we had to delete the all Cpanel and recreate it each time we tested.

 

Thanks for your help.

Kevin

nicholas
Akeeba Staff
Manager

I believe that you have a JPS file, not a JPA. JPS is encrypted, JPA is not.

After decrypting the filename, Kickstart tries to see if it can create this file, then proceed with its extraction. Until we start extracting data we can't know if your password is right or not. Since folders don't have any data, we can't know if their name is right or not. That's why this folder with weird characters in the name is created and not removed afterwards.

I believe that the folder, despite its corrupt name, should be possible to be removed using cPanel's file manager. You may have to change its permissions to 0755 first.

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!

kdoussaint

Hi,

No sorry but it is not possible to delete or rename, I tried with Cpanel, but you are right it is a JPS file, and moreover this file is NOT created on a local server.

I will try with another test and make a movie or keep this cpanel to test

nicholas
Akeeba Staff
Manager

Windows and macOS are pickier on allowed filename (and folder name) characters. Since there was a lower-than sign which is invalid under both Windows and macOS, creating the folder failed. That's why you perceive a difference. The software does the same thing on every platform, it's the Operating System filesystem drivers which work differently.

For what it's worth, I have yet to see a file or folder I cannot remove using the command line, i.e. SSH. The trick is that the name has to be escaped, by enclosing it in single quotes:

rm '^x>Æ"∙|ñÏ∓Ã>>ï0"'

(Note that the command above is not accurate, as I am transcribing the filename by sight, and I am missing some of the special characters on the keyboard map. If I could copy and paste the folder name, like you can, things would be much easier).

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!

kdoussaint

Hi Nicolas,

Thanks I will try it, so if I understand this is not bad that this file is created and I just coold delete this folder with a unix/linux command ?

If it is only this I will do and it's ok, thank's a lot for explanation it is what I though but now I am sure and glad to understand :)

but at the end I am not able to delete it, it is really weird, please see the joined pieces with example as I do not know even what name is real :) I tried a RM and it do not work.

Best regards

Kevin

 

nicholas
Akeeba Staff
Manager

 this is not bad that this file is created and I just coold delete this folder with a unix/linux command ?

Correct.

I do not know even what name is real

They are both the same. What you need to use with rmdir (not rm, it's a directory hence rmdir is the proper command, sorry) is the one shown by ls.

Hint: in the SSH terminal type rmdir, space, Zp and press TAB. It will autocomplete the rest. Don't try to do the work the computer will gladly handle for you ;)

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!

kdoussaint

Hi Nicolas,

I should know for RM :D :D

Thanks a lot for all your explanations and solution, you are always so good and Akeeba is so excellent over the times !

 

Have a nice day

Kevin

nicholas
Akeeba Staff
Manager

You're welcome!

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!