Support

UNiTE, Remote CLI, eXtract Wizard

#11474 SiteDiff can't complete, directory name contains colon:

Posted in ‘UNiTE and Remote CLI’
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
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Thursday, 08 March 2012 13:09 CST

user12942
Read the related troubleshooters? Yes
Searched the tickets? Yes
Read the documentation? No manual!?
Joomla! version: 1.5.23 stable
PHP version: 5.3.10
MySQL version: (unknown)
Host: Heart
SiteDiff version: 3.1(Stable)
Akeeba BackupPro version used: 3.1
Win7 64bit Ultimate

I have two Akeeba backups I need to compare, they are in jpa format. SiteDiff fails to complete because of a bad directory name that somehow got into the system. At some unknown point I ended up with a directory named "http:" in my administrator directory. SiteDiff borks at this and unlike Akeeba eXtract Wizard, it doesn't have an option to ignore errors so it cannot complete.

I appreciate my version of Akeeba Backup Pro is old (I've just upgraded) but that doesn't help me with my old backups. Maybe you've since fixed the problem that AkeebaBackup could archive a file containing a colon but it is no help to my archives that I need to compare?

I have some other backups that were done via my host's system and they somehow managed to convert the colon in to an underscore which partially helps me but I still cannot do a compare on the two Akeeba archives.

Does Akeeba Backup now do checks for illegal characters in directory and file structures, or maybe a simple utility could be devised to do such a thing in case of issues like mine? I have no idea how that http: directory got in there but I can only assume it was some drag and drop or cut and paste error at some unknown point.

Obviously, if you can think of a way for me to compare the two backups I would be most grateful.

Thanks in advance.

nicholas
Akeeba Staff
Manager
SiteDiff has to be rewritten as a cross-platform application before I can implement that change. Unfortunately, due to lack of time it's towards the very bottomof my ever-expanding, gigantic to-do list.

However, there is a workaround. Extract the problematic archive with eXtract Wizard. Then put the remaining files in a ZIP archive (use Windows Compressed Folder feature, not PKZIP, WinZIP or any other archiver). Compare that ZIP with your new backup archive. It works perfectly.

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!

user12942
Thanks for that reply and I'm glad there's a workaround.

As to my further related question, does the current version of Akeeba Backup help prevent this kind of problem by testing for potentially problematic/illegal characters?

Or maybe there is a good utility out there that can check through a site for file or directory naming problems?

nicholas
Akeeba Staff
Manager
No, because when the backup is being taken you are running Akeeba Backup on a Linux server. Filenames with colons, dollar signs and other special characters are valid. The problem is trying to restore them on a Windows system, where such a filename is invalid. Akeeba Backup can't possibly know when you really intend to use such a filename and when this was an accident.

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!

user12942
Many thanks. My stupidity for not realising it was yet again a Windows limitation!

Am I correct in thinking that illegal character problems can't happen when exclusively working locally (e.g. via Kickstart) in things like WAMP or XAMPP?

Does anyone know a method to cross-check file and directory names from a live site are exactly the same as an unarchived copy within the Windows structure?

nicholas
Akeeba Staff
Manager
Yes, of course, working with local servers (on Windows!) means that can't possibly create such problematic filenames.

No, you can't compare a live site with a local copy. It's extremely hard to do it without custom tools.

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!