Support

Akeeba Backup for Joomla!

#25502 zip creation issue

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, 01 July 2016 02:54 CDT

akeebafan
I noticed this zip file issue on a zip file created by v5.04. I don't have this problem in files created by 5.1.1.

I checked the changelogs but couldn't find any mention/fix for this kind of problem so I want to make sure that this does not fall through the cracks. Please ignore if fixed already (even though not mentioned in the changelogs - or in case I was blind).

The issue is basically that the zip archive contains duplicate "file paths" and hence unzipping throws "file exists" errors.

Here is the relevant listing of the zip file


2016-06-30 02:01:36 ....A        14524         3926  installation/platform/models/wordpressconfiguration.php
2016-06-30 02:01:36 ....A         4569         1739  installation/platform/models/wordpressfinalise.php
2016-06-30 02:01:36 ....A         6277         1408  installation/platform/models/wordpressmain.php
2016-06-30 02:01:36 ....A        23312         5757  installation/platform/models/wordpressreplacedata.php
2016-06-30 02:01:36 ....A         8454         2562  installation/platform/models/wordpresssetup.php
2016-06-30 02:01:36 ....A          584          354  installation/platform/steps.php
2016-06-30 02:01:36 ....A         3355         1233  installation/platform/views/finalise/tmpl/default.php
2016-06-30 02:01:36 ....A          916          488  installation/platform/views/finalise/view.html.php
2016-06-30 02:01:36 ....A         5092         1348  installation/platform/views/main/tmpl/init.php
2016-06-30 02:01:36 ....A         3269         1058  installation/platform/views/replacedata/tmpl/default.php
2016-06-30 02:01:36 ....A          659          402  installation/platform/views/replacedata/view.html.php
2016-06-30 02:01:36 ....A         8518         1731  installation/platform/views/setup/tmpl/default.php
2016-06-30 02:01:36 ....A          439          300  installation/platform/views/setup/view.html.php
2016-06-30 02:01:36 ....A           54           36  installation/sql/index.html
2016-06-30 02:01:36 ....A        16842         3975  installation/template/angie/css/bootstrap-responsive.min.css
2016-06-30 02:01:36 ....A       105901        17044  installation/template/angie/css/bootstrap.min.css
2016-06-30 02:01:36 ....A          722          389  installation/template/angie/css/footer.css
2016-06-30 02:01:36 ....A         1960          801  installation/template/angie/error.php
2016-06-30 02:01:36 ....A         8777         8514  installation/template/angie/img/glyphicons-halflings-white.png
2016-06-30 02:01:36 ....A        12799        12607  installation/template/angie/img/glyphicons-halflings.png
2016-06-30 02:01:36 ....A         8238         7489  installation/template/angie/img/loading_big.gif
2016-06-30 02:01:36 ....A         4176         3846  installation/template/angie/img/loading_small.gif
2016-06-30 02:01:36 ....A         2162          921  installation/template/angie/index.php
2016-06-30 02:01:36 ....A        28418         7450  installation/template/angie/js/bootstrap.min.js
2016-06-30 02:01:36 ....A        92629        32757  installation/template/angie/js/jquery.js
2016-06-30 02:01:36 ....A         8757         2696  installation/template/angie/js/jquery.simulate.js
2016-06-30 02:01:36 ....A         1168          528  installation/template/angie/php/buttons.php
2016-06-30 02:01:36 ....A         1478          685  installation/template/angie/php/buttonsfooter.php
2016-06-30 02:01:36 ....A         2308          652  installation/template/angie/php/head.php
2016-06-30 02:01:36 ....A          736          436  installation/template/angie/php/messages.php
2016-06-30 02:01:36 ....A          165          104  installation/tmp/.htaccess
2016-06-30 02:01:36 ....A           54           36  installation/tmp/index.html
2016-06-30 02:01:36 ....A         3468         1667  installation/tmp/storagedata.dat
2016-06-30 02:01:36 ....A          186          114  installation/tmp/web.config
2016-06-30 02:01:36 ....A          329          239  installation/version.php
2016-06-30 02:01:36 ....A         1161          591  installation/platform/controllers/joomlamain.php
2016-06-30 02:01:36 ....A          356          241  installation/platform/controllers/joomlasetup.php
2016-06-30 02:01:36 ....A          389          271  installation/platform/defines.php
2016-06-30 02:01:36 ....A         1178          493  installation/platform/js/main.js
2016-06-30 02:01:36 ....A         2228          889  installation/platform/js/setup.js
2016-06-30 02:01:36 ....A         2062          693  installation/platform/models/jconfig/j25.php
2016-06-30 02:01:36 ....A         2062          682  installation/platform/models/jconfig/j30.php
2016-06-30 02:01:36 ....A         2960         1215  installation/platform/models/joomlaconfiguration.php
2016-06-30 02:01:36 ....A         5199         1411  installation/platform/models/joomlamain.php
2016-06-30 02:01:36 ....A        14196         4043  installation/platform/models/joomlasetup.php
2016-06-30 02:01:36 ....A         1359          690  installation/platform/views/finalise/view.html.php
2016-06-30 02:01:36 ....A         5049         1346  installation/platform/views/main/tmpl/init.php
2016-06-30 02:01:36 ....A        16122         2677  installation/platform/views/setup/tmpl/default.php
2016-06-30 02:01:36 ....A          489          326  installation/platform/views/setup/view.html.php

akeebafan
Oops, looks like something got clipped while pasting ...

The example below makes more sense hopefully :-) Please check for example installation/platform/js/main.js which is listed twice.


2016-06-30 02:01:36 ....A          676          407  installation/platform/controllers/wordpressfinalise.php
2016-06-30 02:01:36 ....A         1165          598  installation/platform/controllers/wordpressmain.php
2016-06-30 02:01:36 ....A         2052          820  installation/platform/controllers/wordpressreplacedata.php
2016-06-30 02:01:36 ....A         1198          633  installation/platform/controllers/wordpresssetup.php
2016-06-30 02:01:36 ....A          449          309  installation/platform/defines.php
2016-06-30 02:01:36 ....A         1142          562  installation/platform/iniprocess.php
2016-06-30 02:01:36 ....A          952          502  installation/platform/js/finalise_wp.js
2016-06-30 02:01:36 ....A         1166          493  installation/platform/js/main.js
2016-06-30 02:01:36 ....A         1548          668  installation/platform/js/replacedata.js
2016-06-30 02:01:36 ....A         1741          775  installation/platform/js/setup.js
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/af-ZA.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/ar.ini
2016-06-30 02:01:36 ....A         2934         1318  installation/platform/language/az-AZ.ini
2016-06-30 02:01:36 ....A         3295         1434  installation/platform/language/bg-BG.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/ca-ES.ini
2016-06-30 02:01:36 ....A         2963         1383  installation/platform/language/cs-CZ.ini
2016-06-30 02:01:36 ....A         2740         1209  installation/platform/language/da-DK.ini
2016-06-30 02:01:36 ....A         2928         1283  installation/platform/language/de-DE.ini
2016-06-30 02:01:36 ....A         4484         1634  installation/platform/language/el-GR.ini
2016-06-30 02:01:36 ....A         2660         1147  installation/platform/language/en-GB.ini
2016-06-30 02:01:36 ....A         2870         1229  installation/platform/language/es-ES.ini
2016-06-30 02:01:36 ....A         2703         1228  installation/platform/language/et-EE.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/fa-IR.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/fi-FI.ini
2016-06-30 02:01:36 ....A         2949         1277  installation/platform/language/fr-FR.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/hr-HR.ini
2016-06-30 02:01:36 ....A         2726         1159  installation/platform/language/hu-HU.ini
2016-06-30 02:01:36 ....A         2757         1227  installation/platform/language/it-IT.ini
2016-06-30 02:01:36 ....A         3334         1420  installation/platform/language/ja-JP.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/lt-LT.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/mk-MK.ini
2016-06-30 02:01:36 ....A         2668         1164  installation/platform/language/nb-NO.ini
2016-06-30 02:01:36 ....A         2755         1202  installation/platform/language/nl-NL.ini
2016-06-30 02:01:36 ....A         2727         1231  installation/platform/language/pl-PL.ini
2016-06-30 02:01:36 ....A         2967         1289  installation/platform/language/pt-BR.ini
2016-06-30 02:01:36 ....A         2715         1181  installation/platform/language/pt-PT.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/ro-RO.ini
2016-06-30 02:01:36 ....A         4718         1747  installation/platform/language/ru-RU.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/sk-SK.ini
2016-06-30 02:01:36 ....A         2740         1194  installation/platform/language/sv-SE.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/th-TH.ini
2016-06-30 02:01:36 ....A         3033         1276  installation/platform/language/tr-TR.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/uk-UA.ini
2016-06-30 02:01:36 ....A         2723         1166  installation/platform/language/vi-VN.ini
2016-06-30 02:01:36 ....A         2815         1287  installation/platform/language/vi.ini
2016-06-30 02:01:36 ....A         2717         1154  installation/platform/language/vls.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/zh-CN.ini
2016-06-30 02:01:36 ....A         2720         1152  installation/platform/language/zh-TW.ini
2016-06-30 02:01:36 ....A        14524         3926  installation/platform/models/wordpressconfiguration.php
2016-06-30 02:01:36 ....A         4569         1739  installation/platform/models/wordpressfinalise.php
2016-06-30 02:01:36 ....A         6277         1408  installation/platform/models/wordpressmain.php
2016-06-30 02:01:36 ....A        23312         5757  installation/platform/models/wordpressreplacedata.php
2016-06-30 02:01:36 ....A         8454         2562  installation/platform/models/wordpresssetup.php
2016-06-30 02:01:36 ....A          584          354  installation/platform/steps.php
2016-06-30 02:01:36 ....A         3355         1233  installation/platform/views/finalise/tmpl/default.php
2016-06-30 02:01:36 ....A          916          488  installation/platform/views/finalise/view.html.php
2016-06-30 02:01:36 ....A         5092         1348  installation/platform/views/main/tmpl/init.php
2016-06-30 02:01:36 ....A         3269         1058  installation/platform/views/replacedata/tmpl/default.php
2016-06-30 02:01:36 ....A          659          402  installation/platform/views/replacedata/view.html.php
2016-06-30 02:01:36 ....A         8518         1731  installation/platform/views/setup/tmpl/default.php
2016-06-30 02:01:36 ....A          439          300  installation/platform/views/setup/view.html.php
2016-06-30 02:01:36 ....A           54           36  installation/sql/index.html
2016-06-30 02:01:36 ....A        16842         3975  installation/template/angie/css/bootstrap-responsive.min.css
2016-06-30 02:01:36 ....A       105901        17044  installation/template/angie/css/bootstrap.min.css
2016-06-30 02:01:36 ....A          722          389  installation/template/angie/css/footer.css
2016-06-30 02:01:36 ....A         1960          801  installation/template/angie/error.php
2016-06-30 02:01:36 ....A         8777         8514  installation/template/angie/img/glyphicons-halflings-white.png
2016-06-30 02:01:36 ....A        12799        12607  installation/template/angie/img/glyphicons-halflings.png
2016-06-30 02:01:36 ....A         8238         7489  installation/template/angie/img/loading_big.gif
2016-06-30 02:01:36 ....A         4176         3846  installation/template/angie/img/loading_small.gif
2016-06-30 02:01:36 ....A         2162          921  installation/template/angie/index.php
2016-06-30 02:01:36 ....A        28418         7450  installation/template/angie/js/bootstrap.min.js
2016-06-30 02:01:36 ....A        92629        32757  installation/template/angie/js/jquery.js
2016-06-30 02:01:36 ....A         8757         2696  installation/template/angie/js/jquery.simulate.js
2016-06-30 02:01:36 ....A         1168          528  installation/template/angie/php/buttons.php
2016-06-30 02:01:36 ....A         1478          685  installation/template/angie/php/buttonsfooter.php
2016-06-30 02:01:36 ....A         2308          652  installation/template/angie/php/head.php
2016-06-30 02:01:36 ....A          736          436  installation/template/angie/php/messages.php
2016-06-30 02:01:36 ....A          165          104  installation/tmp/.htaccess
2016-06-30 02:01:36 ....A           54           36  installation/tmp/index.html
2016-06-30 02:01:36 ....A         3468         1667  installation/tmp/storagedata-bbf65c6b1c22dd5d9d809a244cc895e6.dat
2016-06-30 02:01:36 ....A          186          114  installation/tmp/web.config
2016-06-30 02:01:36 ....A          329          239  installation/version.php
2016-06-30 02:01:36 ....A         1161          591  installation/platform/controllers/joomlamain.php
2016-06-30 02:01:36 ....A          356          241  installation/platform/controllers/joomlasetup.php
2016-06-30 02:01:36 ....A          389          271  installation/platform/defines.php
2016-06-30 02:01:36 ....A         1178          493  installation/platform/js/main.js
2016-06-30 02:01:36 ....A         2228          889  installation/platform/js/setup.js

nicholas
Akeeba Staff
Manager
This is actually in the our announcement and it's the reason we had the betas of the 5.1 release:

Version 5.0.4 introduced a bug where automatic restoration failed, as two files which didn’t belong there were being included in the backup archive as part of the restoration script.


The actual problem is that the restoration script is actually two parts. A common part and a platform-specific part. Akeeba Backup 5.0.4 accidentally included the platform part for WordPress in the common part and correctly added the Joomla platform inside the backup archive as well. Therefore the files which were common between the WordPress and Joomla platforms resulted in duplicate paths in the ZIP file (the files are added, not replaced, at this stage). We fixed that in 5.1.0.b1. Thank you for the heads up anyway :)

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!